projects
/
osm
/
IM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug 1844: LTS Support
[osm/IM.git]
/
models
/
yang
/
vlr.yang
diff --git
a/models/yang/vlr.yang
b/models/yang/vlr.yang
index
616bad0
..
31b9401
100644
(file)
--- a/
models/yang/vlr.yang
+++ b/
models/yang/vlr.yang
@@
-20,13
+20,9
@@
module vlr
{
module vlr
{
- namespace "urn:
ietf:params:xml:ns:yang:nfvo
:vlr";
+ namespace "urn:
etsi:osm:yang
:vlr";
prefix "vlr";
prefix "vlr";
- import rw-pb-ext {
- prefix "rwpb";
- }
-
import ietf-yang-types {
prefix "yang";
}
import ietf-yang-types {
prefix "yang";
}
@@
-35,8
+31,8
@@
module vlr
prefix "manotypes";
}
prefix "manotypes";
}
- import
rw
-project {
- prefix "
rw
-project";
+ import
osm
-project {
+ prefix "
osm
-project";
}
revision 2017-02-08 {
}
revision 2017-02-08 {
@@
-52,8
+48,14
@@
module vlr
"Derived from earlier versions of base YANG files";
}
"Derived from earlier versions of base YANG files";
}
- augment "/
rw
-project:project" {
+ augment "/
osm
-project:project" {
container vlr-catalog {
container vlr-catalog {
+ leaf schema-version {
+ description "Schema version for the VLR. If unspecified, it assumes v3.0";
+ type string;
+ default "v3.0";
+ }
+
config false;
list vlr {
config false;
list vlr {
@@
-73,14
+75,14
@@
module vlr
leaf nsr-id-ref {
description
"NS instance identifier.
leaf nsr-id-ref {
description
"NS instance identifier.
- This is a leafref /
rw
-project:project/nsr:ns-instance-config/nsr:nsr/nsr:id";
+ This is a leafref /
osm
-project:project/nsr:ns-instance-config/nsr:nsr/nsr:id";
type yang:uuid;
}
leaf vld-ref {
description
"Reference to VLD
type yang:uuid;
}
leaf vld-ref {
description
"Reference to VLD
- /
rw
-project:project/nsr:ns-instance-config/nsr:nsr[nsr:id=../nsr-id-ref]
+ /
osm
-project:project/nsr:ns-instance-config/nsr:nsr[nsr:id=../nsr-id-ref]
/nsd/vld:vld/vld:id";
type string;
}
/nsd/vld:vld/vld:id";
type string;
}
@@
-182,7
+184,6
@@
module vlr
";
type enumeration {
";
type enumeration {
- rwpb:enum-type "VlOperationalStatus";
enum init;
enum vl-alloc-pending;
enum running;
enum init;
enum vl-alloc-pending;
enum running;