aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrandon, Bruce (bb2697) <bb2697@att.com>2019-01-04 15:27:33 +0000
committerBrandon, Bruce (bb2697) <bb2697@att.com>2019-01-04 15:27:33 +0000
commit8d5dd448588cca26cbb76ef9b4877ef1469471c6 (patch)
treeae5b96bc6a4caadb976854aa32c436be8123d795
parent03060a076728f34247b18fe110de6f6dd1cbf347 (diff)
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) <bb2697@att.com>
-rw-r--r--generic-resource-api/model/src/main/yang/GENERIC-RESOURCE-API.yang22
1 files changed, 22 insertions, 0 deletions
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;