ironic.common.trait_based_networking.defaults module

ironic.common.trait_based_networking.defaults.default_network_trait()[source]

Gets the default TBN trait

Returns:

A single trait representing the default trait to apply if no

other traits apply to a node. Will get the default defined in the configuration file if present. Otherwise returns a predefined default which matches the first available port or portgroup.