Merge "Fix connection timeouts in URL downloader"
[osm/SO.git] / common / plugins / yang / rw-sdn.yang
index 5b82d47..0441452 100644 (file)
@@ -28,16 +28,8 @@ module rw-sdn
     prefix "rwpb";
   }
 
-  import rw-cli-ext {
-    prefix "rwcli";
-  }
-
-  import rw-yang-types {
-    prefix "rwt";
-  }
-
-  import rwsdn {
-    prefix "rwsdn";
+  import rwsdnal {
+    prefix "rwsdnal";
   }
 
   revision 2015-09-14 {
@@ -45,16 +37,18 @@ module rw-sdn
       "Initial revision.";
   }
 
-  list sdn-account {
+  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 {