Merge "Feature 1417: support of PDUs in a VNF"
authorhoban <adrian.hoban@intel.com>
Fri, 2 Mar 2018 14:40:40 +0000 (15:40 +0100)
committerGerrit Code Review <root@osm.etsi.org>
Fri, 2 Mar 2018 14:40:40 +0000 (15:40 +0100)
1  2 
models/yang/vnfd-base.yang

@@@ -62,9 -62,8 +62,9 @@@ module vnfd-bas
      }
  
      leaf port-security-enabled {
-       description "Enables the port security for the port";
+       description "Enables the port security for the port.";
        type boolean;
 +      default true;
      }
    }
  
            key "id-ref";
            description "List of internal connection points in this VLD";
            leaf id-ref {
-             description "reference to the internal connection point id";
+             description "Reference to the internal connection point id";
              type leafref {
                path "../../../vdu/internal-connection-point/id";
              }
            }
            leaf ip-address {
              description "IP address of the internal connection point";
              type inet:ip-address;
              type string;
          }
  
+         leaf pdu-type {
+           description
+             "Type of PDU. If this field exists, the deployment unit must be
+             understood as a PDU, not as a VDU. This field is used to identify
+             the category of PDU instances to be used at instantiation time. For
+             the instantiation to be successful, there must be available
+             PDU instances of this type in the selected datacenter.";
+           type string;
+         }
          leaf count {
            description "Number of instances of VDU";
            type uint64;