From: Brandon, Bruce (bb2697) Date: Fri, 4 Jan 2019 15:27:33 +0000 (+0000) Subject: GR-API additions X-Git-Tag: 1.5.0~8 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=sdnc%2Fnorthbound.git;a=commitdiff_plain;h=refs%2Fchanges%2F93%2F75293%2F1 GR-API additions 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) --- diff --git a/generic-resource-api/model/src/main/yang/GENERIC-RESOURCE-API.yang b/generic-resource-api/model/src/main/yang/GENERIC-RESOURCE-API.yang index 2d7fe246..e1958aac 100644 --- a/generic-resource-api/model/src/main/yang/GENERIC-RESOURCE-API.yang +++ b/generic-resource-api/model/src/main/yang/GENERIC-RESOURCE-API.yang @@ -399,6 +399,10 @@ module GENERIC-RESOURCE-API { type string; mandatory true; } + leaf neutron-network-id { + description "Neutron-network-id assigned by PO/RO"; + type string; + } uses vpn-bindings; leaf vlan-tag-id { type uint32; @@ -1292,6 +1296,20 @@ module GENERIC-RESOURCE-API { description "network-collection-customization-uuid stored in Network IsntanceGroup.customization-uuid in A&AI"; type string; } + container networks { + list network { + key "network-id"; + leaf network-id { + description "Index into network-topology-identifier structure"; + type string; + mandatory true; + } + leaf neutron-network-id { + description "Neutron-network-id assigned by PO/RO"; + type string; + } + } + } container vnf-floating-ip { uses ip-addresses; } @@ -1332,6 +1350,10 @@ module GENERIC-RESOURCE-API { type string; mandatory true; } + leaf neutron-network-id { + description "Neutron network id assigned by PO/RP"; + type string; + } leaf network-name { description "Subinterface network name"; type uint32;