Simple strategy to allow address pairs for virtual IP 33/9833/2
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Thu, 15 Oct 2020 14:01:09 +0000 (14:01 +0000)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Mon, 16 Nov 2020 17:30:15 +0000 (18:30 +0100)
Change-Id: Ie353b7c7bc95bd7560dd27711582b224016b9815
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
models/yang/vnfd-base.yang

index 8ee13c0..28a4961 100644 (file)
@@ -66,6 +66,17 @@ module vnfd-base
       type boolean;
       default true;
     }
+
+    leaf port-security-disable-strategy {
+      description "Strategy to disable port security, either Enables the port security for the port.
+                   full                : disable port security in the whole port
+                   allow-address-pairs : allow address pairs for virtual IP (any virtual IP can be configured)";
+      type enumeration {
+        enum full;
+        enum allow-address-pairs;
+      }
+      default full;
+    }
   }
 
   typedef interface-type {