aboutsummaryrefslogtreecommitdiffstats
path: root/sdnr/northbound/oofpcipoc/model/src
diff options
context:
space:
mode:
authorSandeep Shah <sandeep.shah2@techmahindra.com>2019-06-13 07:28:11 -0500
committerSandeep Shah <sandeep.shah2@techmahindra.com>2019-06-13 07:28:11 -0500
commit095dd963db05e7e19810e0f3b32cc9f3a7704de1 (patch)
treecb253d8c1f14a7134aeca087c1c486594826e018 /sdnr/northbound/oofpcipoc/model/src
parent47fc603b864b52a70157515f29ec741dd9192f3a (diff)
YANG Model and Provider Code Updates SDNR OOFPCIPOC
Additional leaf nodes for Netconf notification for neigbor list change, RPC to handle notification, and corresponding updates to provider code Issue-ID: CCSDK-1375 Signed-off-by: SandeepLinux <sandeeplinux1068@gmail.com> Change-Id: I3d092ca9bdb42ce90bc5f69f0035ce806de997a6
Diffstat (limited to 'sdnr/northbound/oofpcipoc/model/src')
-rw-r--r--sdnr/northbound/oofpcipoc/model/src/main/yang/oofpcipoc-api.yang10
-rw-r--r--sdnr/northbound/oofpcipoc/model/src/main/yang/oofpcipoc.yang54
2 files changed, 64 insertions, 0 deletions
diff --git a/sdnr/northbound/oofpcipoc/model/src/main/yang/oofpcipoc-api.yang b/sdnr/northbound/oofpcipoc/model/src/main/yang/oofpcipoc-api.yang
index 706a8b5dd..a6880909e 100644
--- a/sdnr/northbound/oofpcipoc/model/src/main/yang/oofpcipoc-api.yang
+++ b/sdnr/northbound/oofpcipoc/model/src/main/yang/oofpcipoc-api.yang
@@ -94,4 +94,14 @@ module oofpcipoc-api {
}
}
+ rpc handle-nbrlist-change-notif {
+ description
+ "Handle nbrlist-change-notification: update configDB & publish DMAAP message";
+ input {
+ uses oofpcipoc:handle-nbrlist-change-notif-request;
+ }
+ output {
+ uses oofpcipoc:oofpcipoc-rpc-response;
+ }
+ }
}
diff --git a/sdnr/northbound/oofpcipoc/model/src/main/yang/oofpcipoc.yang b/sdnr/northbound/oofpcipoc/model/src/main/yang/oofpcipoc.yang
index 98978c342..2a7a260b6 100644
--- a/sdnr/northbound/oofpcipoc/model/src/main/yang/oofpcipoc.yang
+++ b/sdnr/northbound/oofpcipoc/model/src/main/yang/oofpcipoc.yang
@@ -34,6 +34,11 @@ module oofpcipoc {
"";
}
+ typedef payload {
+ type string ;
+ description "The payload can be any valid JSON string value. Json escape characters need to be added when required to include an inner json within the payload to make it a valid json string value";
+ }
+
grouping configuration-phy-cell-id-request {
leaf fap-service-number-of-entries {
@@ -143,9 +148,57 @@ module oofpcipoc {
length "0..52";
}
}
+ leaf pnf-name {
+ type string {
+ length "0..256";
+ }
+ description
+ "PNF name ";
+ }
}
}
+ grouping handle-nbrlist-change-notif-request {
+
+ description
+ "Input payload for handle-nbrlist-change-notif RPC for this POC";
+
+ leaf fap-service-number-of-entries-changed {
+ type uint64;
+ description
+ "Number of cells for which neighbor list has changed";
+ }
+ list fap-service {
+ key "alias";
+ leaf alias {
+ type string {
+ length "1..64";
+ }
+ }
+ leaf cid {
+ type string {
+ length "0..52";
+ }
+ }
+ uses x-0005b9-lte-g;
+ leaf lte-cell-number-of-entries {
+ type uint64;
+ description
+ "Number of cells in a neighbor list that was changed";
+ }
+ list lte-ran-neighbor-list-in-use-lte-cell-changed {
+ key "plmnid cid";
+ uses lte-ran-neighbor-list-in-use-lte-cell-g;
+ description
+ "Changed/Modified List of cells in a neighbor list for this fap service";
+ }
+ }
+ leaf payload {
+ type payload;
+ mandatory true;
+ }
+ }
+
grouping oofpcipoc-rpc-response {
leaf response-code {
type string;
@@ -383,6 +436,7 @@ module oofpcipoc {
length "0..52";
}
}
+ uses x-0005b9-lte-g;
leaf lte-cell-number-of-entries {
type uint64;
description