Fixes bug 1424 by adding ip-address on virtual-network-interface-requirement 56/10256/2
authorgarciaale <agarcia@whitestack.com>
Thu, 4 Feb 2021 21:19:52 +0000 (18:19 -0300)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Tue, 16 Feb 2021 14:22:13 +0000 (15:22 +0100)
Change-Id: I65a25e58619c98523dfc09b5fe2c4af2f05596e4
Signed-off-by: garciaale <agarcia@whitestack.com>
models/augments/interface.yang

index a33eed1..ea04892 100644 (file)
@@ -24,6 +24,10 @@ module interface {
         prefix vnfd;
     }
 
+    import ietf-inet-types {
+        prefix inet;
+    }
+
     import common-augments {
         prefix common;
     }
@@ -38,6 +42,12 @@ module interface {
             type uint32;
         }
 
+        leaf ip-address {
+            description
+              "IP address of the internal connection point";
+            type inet:ip-address;
+          }
+
         leaf mac-address {
             description
               "MAC address of the interface.
@@ -55,4 +65,4 @@ module interface {
     augment "/vnfd:vnfd/vnfd:vdu/vnfd:int-cpd/vnfd:virtual-network-interface-requirement" {
         uses extended-interface;
     }
-}
\ No newline at end of file
+}