Merge "Path for nesting: external CP in VNFD and NSD can refer to internal VLDs and...
authorhoban <adrian.hoban@intel.com>
Fri, 2 Mar 2018 14:39:14 +0000 (15:39 +0100)
committerGerrit Code Review <root@osm.etsi.org>
Fri, 2 Mar 2018 14:39:14 +0000 (15:39 +0100)
1  2 
models/yang/vnfd-base.yang

@@@ -64,7 -64,6 +64,7 @@@ module vnfd-bas
      leaf port-security-enabled {
        description "Enables the port security for the port";
        type boolean;
 +      default true;
      }
    }
  
            at the network service level to construct network services.";
  
          uses common-connection-point;
+         leaf internal-vld-ref {
+           description
+             "Reference to an internal VLD of the VNF. This field is
+             optional. It allows exposing an internal VLD through a
+             connection point. When building a NS, this VNF CP might be
+             connected to a NS VLD, then both VLDs (the i-VLD of the VNF and the
+             VLD of the NS) will become the same network and the IP profile will
+             be the one configured at NS level.";
+           type leafref {
+             path "../../internal-vld/id";
+           }
+         }
        }
  
        list vdu {