With this patch ironic starts passing portgroup information to Neutron
via 'binding:profile'. This will allow to configure portgroup on the
switch by appropriate ML2 driver during deployment.
The example of binding:profile dictionary is:
{
'local_link_information':[
{
'switch_id': 'aa:bb:cc:dd:ee:ff',
'port_id': 'Gig0/1'
},
{
'switch_id': 'aa:bb:cc:dd:ee:ff',
'port_id: 'Gig0/2'
}
],
'local_group_information': {
'id': portgroup.uuid,
'name': portgroup.name,
'bond_mode': portgroup.mode,
'bond_properties': {
'bond_propertyA': 'valueA',
'bond_propertyB': 'valueB',
}
}
}
Partial-Bug: #1652630
Co-Authored-By: John L. Villalovos <john.l.villalovos@intel.com>
Change-Id: Iacda8180f644cc1a0986e8b1fc34c65263aabd59
5 lines
160 B
YAML
5 lines
160 B
YAML
---
|
|
features:
|
|
- Passes port group information (``portgroup.mode`` and
|
|
``portgroup.properties``) to Neutron via Neutron ``port.binding:profile``
|
|
field. |