Adds NSD augments for vim-network-name and connection point ip-address 39/10039/1
authorgarciaale <agarcia@whitestack.com>
Sat, 14 Nov 2020 11:52:48 +0000 (08:52 -0300)
committergarciaale <agarcia@whitestack.com>
Thu, 26 Nov 2020 21:46:48 +0000 (18:46 -0300)
Change-Id: Iff08fb9ba8c05a96220ebd61f3d9fa1cc5d956b8
Signed-off-by: garciaale <agarcia@whitestack.com>
models/augments/ns-vld.yang

index e892d8a..cfe51e8 100644 (file)
@@ -24,6 +24,10 @@ module ns-vld {
         prefix nsd;
     }
 
+    import ietf-inet-types {
+        prefix "inet";
+    }
+
     grouping extended-vld {
         container provider-network {
             description
@@ -48,10 +52,29 @@ module ns-vld {
             type boolean;
             default false;
         }
+
+        leaf vim-network-name {
+            description
+              "Name of network in VIM account. This is used to indicate
+               pre-provisioned network name in cloud account.";
+            type string;
+        }
+    }
+
+    grouping extended-constituent-cpd-id {
+        leaf ip-address {
+            description
+              "IP address assigned to the internal connection point";
+            type inet:ip-address;
+        }
     }
 
 
     augment "/nsd:nsd/nsd:nsd/nsd:virtual-link-desc" {
         uses extended-vld;
     }
+
+    augment "/nsd:nsd/nsd:nsd/nsd:df/nsd:vnf-profile/nsd:virtual-link-connectivity/nsd:constituent-cpd-id" {
+        uses extended-constituent-cpd-id;
+    }
 }