module nsr
{
- namespace "urn:ietf:params:xml:ns:yang:nfvo:nsr";
+ namespace "urn:etsi:osm:yang:nsr";
prefix "nsr";
import vlr {
prefix "manotypes";
}
- import rw-project {
- prefix "rw-project";
+ import osm-project {
+ prefix "osm-project";
}
revision 2017-02-08 {
}
}
- augment "/rw-project:project" {
+ augment "/osm-project:project" {
list key-pair {
key "name";
description "Used to configure the list of public keys to be injected as part
}
}
- augment "/rw-project:project" {
+ augment "/osm-project:project" {
container ns-instance-config {
list nsr {
}
}
- augment "/rw-project:project" {
+ augment "/osm-project:project" {
container ns-instance-opdata {
config false;
leaf nsr_id_ref {
description "Reference to NSR ID ref";
type leafref {
- path "/rw-project:project[rw-project:name=current()/.." +
+ path "/osm-project:project[osm-project:name=current()/.." +
"/nsr:project-name]/nsr:ns-instance-config/nsr:nsr/nsr:id";
}
mandatory true;
leaf scaling-group-name-ref {
description "name of the scaling group";
type leafref {
- path "/rw-project:project[rw-project:name=current()/.." +
+ path "/osm-project:project[osm-project:name=current()/.." +
"/nsr:project-name]/nsr:ns-instance-config/nsr:nsr" +
"[nsr:id=current()/../nsr:nsr_id_ref]/nsr:nsd" +
"/nsr:scaling-group-descriptor/nsr:name";
leaf instance-id {
description "id of the scaling group";
type leafref {
- path "/rw-project:project[rw-project:name=current()/.." +
+ path "/osm-project:project[osm-project:name=current()/.." +
"/nsr:project-name]/nsr:ns-instance-config/nsr:nsr" +
"[nsr:id=current()/../nsr:nsr_id_ref]" +
"/nsr:scaling-group[nsr:scaling-group-name-ref=current()/.." +
leaf scaling-group-name-ref {
description "name of the scaling group";
type leafref {
- path "/rw-project:project[rw-project:name=current()/.." +
+ path "/osm-project:project[osm-project:name=current()/.." +
"/nsr:project-name]/nsr:ns-instance-config/nsr:nsr" +
"[nsr:id=current()/../nsr:nsr_id_ref]/nsr:nsd" +
"/nsr:scaling-group-descriptor/nsr:name";
leaf nsd_id_ref {
description "Reference to NSD ID ref";
type leafref {
- path "/rw-project:project[rw-project:name=current()/.." +
+ path "/osm-project:project[osm-project:name=current()/.." +
"/project-name]/project-nsd:nsd-catalog/project-nsd:nsd/project-nsd:id";
}
}
description
"A reference to VNFD placement group";
type leafref {
- path "/rw-project:project[rw-project:name=current()/" +
+ path "/osm-project:project[osm-project:name=current()/" +
"../../project-name]/project-vnfd:vnfd-catalog/project-vnfd:vnfd[project-vnfd:id = " +
"current()/../vnfd-id-ref]/project-vnfd:placement-groups/project-vnfd:name";
}
leaf key-pair-ref {
description "A reference to the key pair entry in the global key pair table";
type leafref {
- path "/rw-project:project[rw-project:name=current()/../../../" +
+ path "/osm-project:project[osm-project:name=current()/../../../" +
"project-name]/key-pair/name";
}
}
leaf key-pair-ref {
description "A reference to the key pair entry in the global key pair table";
type leafref {
- path "/rw-project:project[rw-project:name=current()/" +
+ path "/osm-project:project[osm-project:name=current()/" +
"../../../../project-name]/key-pair/name";
}
}