From 14b72074ee99b3e9faacb379362327642a5cd0a8 Mon Sep 17 00:00:00 2001 From: Isaku Yamahata Date: Mon, 13 Feb 2017 12:20:23 -0800 Subject: [PATCH] model/neutron extension: add configuration string 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 --- model/src/main/yang/neutron-extensions.yang | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/model/src/main/yang/neutron-extensions.yang b/model/src/main/yang/neutron-extensions.yang index 36b786306..2d0b3a0b8 100644 --- a/model/src/main/yang/neutron-extensions.yang +++ b/model/src/main/yang/neutron-extensions.yang @@ -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 { -- 2.36.6