New feature: Code changes for project support
[osm/SO.git] / models / plugins / yang / rw-project.yang
index 2f34c92..32030d1 100644 (file)
@@ -21,6 +21,10 @@ module rw-project
   namespace "http://riftio.com/ns/riftware-1.0/rw-project";
   prefix "rw-project";
 
+  import rw-pb-ext {
+    prefix "rw-pb-ext";
+  }
+
   revision 2017-02-08 {
     description
       "Initial revision. This YANG file defines the
@@ -60,6 +64,13 @@ module rw-project
 
       description "Project management related configuration.";
 
+      leaf name-ref {
+        type leafref {
+          path "../../name";
+        }
+        mandatory true;
+      }
+
       // list user {
       //   description
       //     "The list of Users who have been assigned Roles within this