https://blueprints.launchpad.net/fuel/+spec/dyn-gen-physnet-set
Last time too many people interested two question:
Unfortunately Fuel does not support out of box such features.
Now we have a bush of non-optimal technical solutions in the Fuel library:
Combination of this leads to the following inconvienences:
There are 3 parser functions should be written:
These functions should be used while call ML2-plugin and OVS-agent configuration classes. Parameter ‘flags’ is needed for adding an ability to disable some physnets. By default ‘flags’ field looks like:
flags = {
do_floating => true,
do_tenant => true,
do_provider => false,
}
Example of usage: Neutron config on compute node, if DVR is chosen, should contain external (floating) physnet in the mappings. However if DVR is not chosen, this physnet shouldn’t be present in config file.
These functions should return:
generate_bridge_mappings:
list of strings 'physnet_name:bridge_name', like
['physnet1:br-floating', 'physnet2:br-prv']
generate_physnet_mtus:
list of strings 'physnet_name:mtu_value', like
['physnet1:1500', 'physnet2:9000']
generate_physnet_vlan_ranges:
list of strings 'physnet_name:start_of_range:end_of_range', like
['physnet1', 'physnet2:100:300']
(ranges should be ommited for flat physnets)
Plugin developers got ability to override standart physnet list. No backward incompatible changes planned.
None
Currently Nailgun pass to nodes following data hash (only valuable parameters shown):
quantum_settings:
L2:
phys_nets:
physnet2:
bridge: br-prv
vlan_range: 1000:1030
predefined_networks:
net04_ext:
L2:
network_type: local
physnet:
New data from the same configuration should be:
quantum_settings:
L2:
phys_nets:
physnet1:
bridge: br-floating
physnet2:
bridge: br-prv
vlan_range: 1000:1030
predefined_networks:
net04_ext:
L2:
network_type: flat
physnet: physnet1
None
None
None
Do nothing. Leave post-deployment physnet configuration as hell.
None
None
None
None
None
None
None
None
None
None
None
Feature Lead: Sergey Vasilenko
Mandatory reviewers: Igor Zinovik, Sergey Kolekonov, Sergey Vasilenko
Developers: Bulat Gaifullin, Stas Makar
QA: Anastasiia Urlapova, PI team, Neutron team
None
No changes for base cases. All existing tests should be used. Noop-tests should be written additionally for cases where physnet list should be extendedю
Acceptance criteria is the same as for fuel-library ordinary bug-fixes. Standard BVT should be passed for ordinary configurations