Module - switch_vlans

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.

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:
      introspection_data: '{{ lookup(''introspection_data'', auth_url=auth_url.value,
        password=password.value) }}'
      path: environments/network-environment.yaml
      template_files: '{{ lookup(''tht'') }}'
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.