use common jenkins pipelines
[osm/SO.git] / common / plugins / yang / rw-sdn.yang
index 0a5b228..0441452 100644 (file)
@@ -25,11 +25,11 @@ module rw-sdn
 
 
   import rw-pb-ext {
-    prefix "rw-pb-ext";
+    prefix "rwpb";
   }
 
-  import rwsdn {
-    prefix "rwsdn";
+  import rwsdnal {
+    prefix "rwsdnal";
   }
 
   revision 2015-09-14 {
@@ -37,16 +37,18 @@ module rw-sdn
       "Initial revision.";
   }
 
-  list sdn-account {
-    rw-pb-ext:msg-new SDNAccountConfig;
+  container sdn {
+    rwpb:msg-new SDNAccountConfig;
+    list account {
+      rwpb:msg-new SDNAccount;
+      key "name";
+      leaf name {
+       type string;
+      }
 
-    key "name";
-    leaf name {
-      type string;
+      uses rwsdnal:sdn-provider-auth;
+      uses rwsdnal:connection-status;
     }
-
-    uses rwsdn:sdn-provider-auth;
-    uses rwsdn:connection-status;
   }
 
   rpc update-sdn-status {