Module - switch_vlans

This module provides for the following ansible plugin:

  • switch_vlans

Module Documentation

Validate that the VLANs defined in TripleO nic config files are in the LLDP info received from network switches. The LLDP data is stored in Ironic introspection data per interface.

Used by the switch_vlans validation

Owned by the DF Networking

Options

path

The path of the base network environment file

template_files

A list of template files and contents

introspection_data

Introspection data for all nodes

Authors

Bob Fournier

Example Tasks

- hosts: undercloud
  tasks:
  - name: Check that switch vlans are present if used in nic-config files
    network_environment:
      path: environments/network-environment.yaml
      template_files: "{{ lookup('tht') }}"
      introspection_data: "{{ lookup('introspection_data', auth_url=auth_url.value,\
        \ password=password.value) }}"