Simple strategy to allow address pairs for virtual IP
[osm/IM.git] / models / yang / vnfr.yang
index ef2edde..7a0594b 100644 (file)
@@ -20,7 +20,7 @@
 
 module vnfr
 {
-  namespace "urn:ietf:params:xml:ns:yang:nfvo:vnfr";
+  namespace "urn:etsi:osm:yang:vnfr";
   prefix "vnfr";
 
   import mano-types {
@@ -51,8 +51,8 @@ module vnfr
     prefix "inet";
   }
 
-  import rw-project {
-    prefix "rw-project";
+  import osm-project {
+    prefix "osm-project";
   }
 
   revision 2017-02-28 {
@@ -120,10 +120,12 @@ module vnfr
         description
             "Specifies the type of virtual interface
              between VM and host.
-             VIRTIO          : Use the traditional VIRTIO interface.
+             PARAVIRT        : Use the default paravirtualized interface for the VIM (virtio, vmxnet3, etc.).
+             VIRTIO          : Deprecated! Use the traditional VIRTIO interface.
              PCI-PASSTHROUGH : Use PCI-PASSTHROUGH interface.
              SR-IOV          : Use SR-IOV interface.";
         type enumeration {
+          enum PARAVIRT;
           enum VIRTIO;
           enum PCI-PASSTHROUGH;
           enum SR-IOV;
@@ -195,7 +197,7 @@ module vnfr
     }
   }
 
-  augment "/rw-project:project" {
+  augment "/osm-project:project" {
     container vnfr-catalog {
       leaf schema-version {
         description "Schema version for the VNFR. If unspecified, it assumes v3.0";