projects
/
osm
/
SO.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update to use rw-project definition from platform
[osm/SO.git]
/
rwlaunchpad
/
plugins
/
yang
/
rw-staging-mgmt.yang
diff --git
a/rwlaunchpad/plugins/yang/rw-staging-mgmt.yang
b/rwlaunchpad/plugins/yang/rw-staging-mgmt.yang
index
d5722cd
..
2a6b37d
100644
(file)
--- a/
rwlaunchpad/plugins/yang/rw-staging-mgmt.yang
+++ b/
rwlaunchpad/plugins/yang/rw-staging-mgmt.yang
@@
-1,6
+1,6
@@
/*
*
/*
*
- * 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.
@@
-53,6
+53,19
@@
module rw-staging-mgmt
prefix "manotypes";
}
prefix "manotypes";
}
+ import rw-project {
+ prefix "rw-project";
+ }
+
+ import rw-project-mano {
+ prefix "rw-project-mano";
+ }
+
+ revision 2017-02-08 {
+ description
+ "Update model to support projects.";
+ }
+
revision 2016-06-01 {
description
"Initial revision.";
revision 2016-06-01 {
description
"Initial revision.";
@@
-112,31
+125,33
@@
module rw-staging-mgmt
}
}
- container staging-areas {
- rwpb:msg-new StagingAreas;
- description "Staging Areas";
- config false;
+ augment "/rw-project:project" {
+ container staging-areas {
+ rwpb:msg-new StagingAreas;
+ description "Staging Areas";
+ config false;
- list staging-area {
- rwpb:msg-new StagingArea;
- key "area-id";
+
list staging-area {
+
rwpb:msg-new StagingArea;
+
key "area-id";
- leaf area-id {
- description "Staging Area ID";
- type string;
- }
+
leaf area-id {
+
description "Staging Area ID";
+
type string;
+
}
- uses staging-area-config;
- uses staging-area-meta;
+ uses staging-area-config;
+ uses staging-area-meta;
+ }
}
}
}
}
-
rpc create-staging-area {
description "Creates a staging area for the upload.";
input {
uses staging-area-config;
rpc create-staging-area {
description "Creates a staging area for the upload.";
input {
uses staging-area-config;
+ uses manotypes:rpc-project-name;
}
output {
}
output {