Code Review
/
scp
/
oam
/
modeling.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Develop a data model: o1-notify-pnf-registration
[scp/oam/modeling.git]
/
data-model
/
yang
/
working
/
o-ran-sc
/
template
/
o-ran-sc-interfaces-v1.yang
diff --git
a/data-model/yang/working/o-ran-sc/template/o-ran-sc-interfaces-v1.yang
b/data-model/yang/working/o-ran-sc/template/o-ran-sc-interfaces-v1.yang
index
1e88d52
..
8a2810c
100644
(file)
--- a/
data-model/yang/working/o-ran-sc/template/o-ran-sc-interfaces-v1.yang
+++ b/
data-model/yang/working/o-ran-sc/template/o-ran-sc-interfaces-v1.yang
@@
-1,6
+1,6
@@
module o-ran-sc-interfaces-v1 {
yang-version 1.1;
module o-ran-sc-interfaces-v1 {
yang-version 1.1;
- namespace "urn:o-ran
:sc:interfaces:1.0
";
+ namespace "urn:o-ran
-sc:yang:o-ran-sc-interfaces-v1
";
prefix oif;
import o-ran-sc-root-v1 {
prefix oif;
import o-ran-sc-root-v1 {
@@
-17,10
+17,10
@@
module o-ran-sc-interfaces-v1 {
contact
"www.o-ran-sc.org";
description
contact
"www.o-ran-sc.org";
description
- "This module aug
e
ments the o-ran-sc-controlled-function object by adding
+ "This module augments the o-ran-sc-controlled-function object by adding
ietf-interfaces.
ietf-interfaces.
- Copyright 202
0 the O-RAN Alliance
.
+ Copyright 202
1 the O-RAN Software Community
.
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.
@@
-34,6
+34,13
@@
module o-ran-sc-interfaces-v1 {
See the License for the specific language governing permissions and
limitations under the License.";
See the License for the specific language governing permissions and
limitations under the License.";
+ revision 2021-03-09 {
+ description
+ "The namespace was updated according to O-RAN-SC yang guidelines.
+ The namespace must end with the full module name.";
+ reference
+ "https://jira.o-ran-sc.org/browse/OAM-168";
+ }
revision 2020-03-09 {
description
"initial revision";
revision 2020-03-09 {
description
"initial revision";
@@
-42,19
+49,20
@@
module o-ran-sc-interfaces-v1 {
}
grouping interfaces-grp {
}
grouping interfaces-grp {
- leaf-list interface-reference
{
+ leaf-list interface-reference {
type if:interface-ref;
config false;
type if:interface-ref;
config false;
- description
+ description
"A list of ietf-interfaces references using the interface name as key.";
}
"A list of ietf-interfaces references using the interface name as key.";
}
- description
+ description
"A group adding ietf-interface references.";
}
"A group adding ietf-interface references.";
}
+
augment "/root:controlled-element/root:controlled-function" {
uses interfaces-grp;
description
augment "/root:controlled-element/root:controlled-function" {
uses interfaces-grp;
description
- "An augmentation, which adds ietf-interfaces
+ "An augmentation, which adds ietf-interfaces
to root:controlled-function.";
}
}
to root:controlled-function.";
}
}