projects
/
osm
/
SO.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge from OSM SO master
[osm/SO.git]
/
common
/
plugins
/
yang
/
rw-sdn.yang
diff --git
a/common/plugins/yang/rw-sdn.yang
b/common/plugins/yang/rw-sdn.yang
index
0a5b228
..
97b0441
100644
(file)
--- a/
common/plugins/yang/rw-sdn.yang
+++ b/
common/plugins/yang/rw-sdn.yang
@@
-1,7
+1,7
@@
/*
*
/*
*
- * Copyright 2016 RIFT.IO Inc
+ * Copyright 2016
-2017
RIFT.IO Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@
-25,11
+25,24
@@
module rw-sdn
import rw-pb-ext {
import rw-pb-ext {
- prefix "rw
-pb-ext
";
+ prefix "rw
pb
";
}
}
- import rwsdn {
- prefix "rwsdn";
+ import rw-project {
+ prefix "rw-project";
+ }
+
+ import rwsdnal {
+ prefix "rwsdnal";
+ }
+
+ import mano-types {
+ prefix "manotypes";
+ }
+
+ revision 2017-02-08 {
+ description
+ "Update model to support projects.";
}
revision 2015-09-14 {
}
revision 2015-09-14 {
@@
-37,16
+50,20
@@
module rw-sdn
"Initial revision.";
}
"Initial revision.";
}
- list sdn-account {
- rw-pb-ext:msg-new SDNAccountConfig;
+augment "/rw-project:project" {
+ 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 {
}
rpc update-sdn-status {
@@
-58,6
+75,8
@@
module rw-sdn
"The sdn account name to update connection status for";
type string;
}
"The sdn account name to update connection status for";
type string;
}
+
+ uses manotypes:rpc-project-name;
}
}
}
}
}
}