projects
/
osm
/
SO.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More unittest fixes for projects
[osm/SO.git]
/
models
/
plugins
/
yang
/
mano-types.yang
diff --git
a/models/plugins/yang/mano-types.yang
b/models/plugins/yang/mano-types.yang
index
1013595
..
601bdac
100644
(file)
--- a/
models/plugins/yang/mano-types.yang
+++ b/
models/plugins/yang/mano-types.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.
@@
-31,6
+31,15
@@
module mano-types
prefix "rwpb";
}
prefix "rwpb";
}
+ import rw-project {
+ prefix "rw-project";
+ }
+
+ revision 2017-02-08 {
+ description
+ "Update model to support projects.";
+ }
+
revision 2015-04-23 {
description
"Initial revision. This YANG file defines
revision 2015-04-23 {
description
"Initial revision. This YANG file defines
@@
-1072,7
+1081,7
@@
module mano-types
type string;
}
type string;
}
- leaf polling
_interval_
secs {
+ leaf polling
-interval-
secs {
description "The HTTP polling interval in seconds";
type uint8;
default 2;
description "The HTTP polling interval in seconds";
type uint8;
default 2;
@@
-1115,9
+1124,11
@@
module mano-types
}
leaf http-endpoint-ref {
}
leaf http-endpoint-ref {
- type leafref {
- path "../../http-endpoint/path";
- }
+ // TODO (Philip): Fix this
+ // type leafref {
+ // path "../../http-endpoint/path";
+ // }
+ type string;
}
leaf json-query-method {
}
leaf json-query-method {
@@
-2050,4
+2061,15
@@
module mano-types
}
}
}
}
+
+ grouping rpc-project-name {
+ leaf project-name {
+ mandatory true;
+ description
+ "Project to which this belongs";
+ type leafref {
+ path "/rw-project:project/rw-project:name";
+ }
+ }
+ }
}
}