e3e48e93ce
Adds support for a '--disable-discovery' argument to the 'kayobe physical network configure' command. This can be used to configure the physical network after discovery of bare metal compute nodes is complete, to return the network to a normal state. The interface configuration to be applied is configured via 'switch_interface_config_disable_discovery'. Essentially, this is the mirror of the '--enable-discovery' argument. Change-Id: I40426a8fd22e51e8ea3350013a614dfbcf2afccf Story: 2004048 Task: 27054
37 lines
1.5 KiB
Plaintext
37 lines
1.5 KiB
Plaintext
---
|
|
# Switch configuration.
|
|
|
|
###############################################################################
|
|
# Global configuration.
|
|
|
|
# Global configuration. A list of configuration lines to be applied at the
|
|
# global level.
|
|
switch_config: []
|
|
|
|
###############################################################################
|
|
# Interface configuration.
|
|
|
|
# Interface configuration. Dict mapping switch interface names to configuration
|
|
# dicts. Each dict contains a description item and a 'config' item which should
|
|
# contain a list of additional per-interface configuration.
|
|
# Generally this should be configured on a per-switch basis via a host_vars
|
|
# file.
|
|
switch_interface_config: {}
|
|
|
|
# Interface configuration for enabling hardware discovery. After discovery
|
|
# Neutron owns the configuration of these ports. Has the same format as
|
|
# switch_interface_config.
|
|
# [DEPRECATED] Use switch_interface_config_enable_discovery.
|
|
switch_interface_config_discovery: {}
|
|
|
|
# Interface configuration for enabling hardware discovery. After discovery
|
|
# Neutron owns the configuration of these ports. Has the same format as
|
|
# switch_interface_config.
|
|
# [DEPRECATED NAME] switch_interface_config_discovery.
|
|
switch_interface_config_enable_discovery: "{{ switch_interface_config_discovery }}"
|
|
|
|
# Interface configuration for disabling hardware discovery. After discovery
|
|
# Neutron owns the configuration of these ports. Has the same format as
|
|
# switch_interface_config.
|
|
switch_interface_config_disable_discovery: {}
|