2cb02e2ea1
This patch defines a new extension: cisco_apic_gbp_segmentation_label, for the apic policy drivers. An extension attribute: segmentation_labels, that extends the Policy Target definition, is being introduced in this extension. A corresponding extension driver: apic_segmentation_label, that processes this extension, is also being added. This extension driver should be configured for this extension to be available. The driver name should be added to the existing list of extension drivers under: [group_policy] extension_drivers=<existing_ext_drivers>,apic_segmentation_label The segementation_labels attribute is a list of strings. Each string can be upto 255 characters long. These labels are not interpreted by GBP but are instead passed downstream by the apic policy driver. It is assumed that these are defined outside of OpenStack and the backend system can appropriately interpret them. The get_gbp_details() RPC call implemented by the apic policy driver will return the segmentation_labels in its body if the 'segmentation_labels' attribute is populated for the policy_target. A CLI option: --segmentation-labels will be provided for the policy_target create and update operations. This CLI option will accept a comma separated string as the option value. Change-Id: I360bf9f7f1d4bdca76d4f16b7535a6416f430830 |
||
---|---|---|
.. | ||
common | ||
contrib | ||
network | ||
neutron | ||
nfp | ||
tests | ||
__init__.py |