Turned ip profile refs into leafrefs from string
[osm/SO.git] / models / plugins / yang / vnfd.yang
index 1dfb459..51bb9f7 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * 
+ *
  *   Copyright 2016 RIFT.IO Inc
  *
  *   Licensed under the Apache License, Version 2.0 (the "License");
@@ -292,10 +292,11 @@ module vnfd
           case vim-network-profile {
             leaf ip-profile-ref {
               description "Named reference to IP-profile object";
-              type string;
+              type leafref {
+                path "../../ip-profiles/name";
+              }
             }
           }
-
         }
       }
 
@@ -453,7 +454,7 @@ module vnfd
           }
 
           uses manotypes:volume-info;
-        } 
+        }
       }
 
       list vdu-dependency {