Merge changes Iddfdf664,Ifd7f98a4
authorhoban <adrian.hoban@intel.com>
Fri, 2 Mar 2018 14:37:58 +0000 (15:37 +0100)
committerGerrit Code Review <root@osm.etsi.org>
Fri, 2 Mar 2018 14:37:58 +0000 (15:37 +0100)
* changes:
  Generalize member-vnf-index as string in constituent-vnfd in NSD to allow symbolic names
  Feature 639: support of floating IPs

models/yang/nsd-base.yang
models/yang/nsd.yang

index c332869..8403730 100644 (file)
@@ -175,6 +175,15 @@ module nsd-base
             "Type of the connection point.";
         type manotypes:connection-point-type;
       }
+
+      leaf floating-ip-required {
+        description
+            "Boolean parameter to indicate whether the CP must be exposed.
+             A public IP address will be allocated to this CP if exposed is true.
+             The default is false meaning a floating IP address is not required.
+             It must be explicitly asked for a floating IP address to be allocated.";
+        type boolean;
+      }
     }
 
     list scaling-group-descriptor {
index 55b40eb..19aebe9 100644 (file)
@@ -65,7 +65,7 @@ module nsd
           "Identifier/index for the VNFD. This separate id
            is required to ensure that multiple VNFs can be
            part of single NS";
-        type uint64;
+        type string;
       }
 
       leaf vnfd-id-ref {