model/neutron extension: add configuration string 17/51817/1
authorIsaku Yamahata <isaku.yamahata@intel.com>
Mon, 13 Feb 2017 20:20:23 +0000 (12:20 -0800)
committerIsaku Yamahata <isaku.yamahata@intel.com>
Mon, 13 Feb 2017 20:28:49 +0000 (12:28 -0800)
Add configuration string to neutron-extension-attribute.
So that ODL openstack service provide can negotiate with networking-odl
about more details on each extension.
For example, neutron QoS API needs supported QoS rules.
key" "neutron:qos"
configuration: {"supported_rules_types": ["bandwidth-limit"...] }
Also neutron-extension can be used for general negotiation between
ODL and networking-odl. e.g. port::status update is supported etc.
key: "ODL:status-update"
configuration: ["network", "port", "router", ...]

TODO: coordinate/document key/configuration in central places.

Change-Id: I7ba7dc21ac0fda7fb40c5f44b99c3b3753c79b9d
Signed-off-by: Isaku Yamahata <isaku.yamahata@intel.com>
model/src/main/yang/neutron-extensions.yang

index 36b786306601350a1d405635655b2a946f4a4d01..2d0b3a0b88106fc6e9908e9a77b16143f022f038 100644 (file)
@@ -35,6 +35,10 @@ module neutron-extensions {
             type string;
             description "The alias for the extension";
         }
+        leaf configuration {
+            type string;
+            description "The configuration of this extension";
+        }
     }
 
     grouping extensions-attributes {