GR-API additions 93/75293/1
authorBrandon, Bruce (bb2697) <bb2697@att.com>
Fri, 4 Jan 2019 15:27:33 +0000 (15:27 +0000)
committerBrandon, Bruce (bb2697) <bb2697@att.com>
Fri, 4 Jan 2019 15:27:33 +0000 (15:27 +0000)
Add neutron-network-id to GR-API Yang and mapping from network-id

Change-Id: I10137f0d31d76ad973f04efbc6cf07cfd051ce1a
Issue-ID: SDNC-557
Signed-off-by: Brandon, Bruce (bb2697) <bb2697@att.com>
generic-resource-api/model/src/main/yang/GENERIC-RESOURCE-API.yang

index 2d7fe24..e1958aa 100644 (file)
@@ -399,6 +399,10 @@ module GENERIC-RESOURCE-API {
                   type string;\r
                   mandatory true;\r
                }\r
+               leaf neutron-network-id {\r
+                  description "Neutron-network-id assigned by PO/RO";\r
+                  type string;\r
+               }\r
                uses vpn-bindings;\r
                leaf vlan-tag-id {\r
                   type uint32;\r
@@ -1292,6 +1296,20 @@ module GENERIC-RESOURCE-API {
             description "network-collection-customization-uuid stored in Network IsntanceGroup.customization-uuid in A&AI";\r
             type string;\r
          }\r
+         container networks {\r
+            list network {\r
+               key "network-id";\r
+               leaf network-id {\r
+                  description "Index into network-topology-identifier structure";\r
+                  type string;\r
+                  mandatory true;\r
+               }\r
+               leaf neutron-network-id {\r
+                  description "Neutron-network-id assigned by PO/RO";\r
+                  type string;\r
+               }\r
+            }\r
+         }\r
          container vnf-floating-ip {\r
             uses ip-addresses;\r
          }\r
@@ -1332,6 +1350,10 @@ module GENERIC-RESOURCE-API {
             type string;\r
             mandatory true;\r
          }\r
+         leaf neutron-network-id {\r
+            description "Neutron network id assigned by PO/RP";\r
+            type string;\r
+         }\r
          leaf network-name {\r
             description "Subinterface network name";\r
             type uint32;\r