summaryrefslogtreecommitdiffstats
path: root/generic-resource-api/model/yang/src
diff options
context:
space:
mode:
authorchenkai <kaichen@fiberhome.com>2021-08-26 19:55:27 +0800
committerchenkai <kaichen@fiberhome.com>2021-08-26 19:55:27 +0800
commit0c7427d61a9ba80527460e9bf6cda7a5bc6cc122 (patch)
treec4f2b01e8ede3202ad70359b2c562bb8fcb3fa74 /generic-resource-api/model/yang/src
parenta3e1cdec413a807c07077ee1657e76fd44448d6d (diff)
New DGs added for CCVPN scenario enhancement.
Add performance data collection API and service Issue-ID: CCSDK-3389 Signed-off-by: kai chen <kaichen@fiberhome.com> Change-Id: I4ba2796e5817df319aaf21d75f811e487b11f9f7
Diffstat (limited to 'generic-resource-api/model/yang/src')
-rw-r--r--generic-resource-api/model/yang/src/main/yang/GENERIC-RESOURCE-API.yang19
1 files changed, 19 insertions, 0 deletions
diff --git a/generic-resource-api/model/yang/src/main/yang/GENERIC-RESOURCE-API.yang b/generic-resource-api/model/yang/src/main/yang/GENERIC-RESOURCE-API.yang
index 4d1aa114..44d0507b 100644
--- a/generic-resource-api/model/yang/src/main/yang/GENERIC-RESOURCE-API.yang
+++ b/generic-resource-api/model/yang/src/main/yang/GENERIC-RESOURCE-API.yang
@@ -30,6 +30,10 @@ module GENERIC-RESOURCE-API {
uses service-operation-information;
uses service-topology;
uses service-level-oper-status;
+ leaf controller-ipv4-address {
+ type string;
+ mandatory false;
+ }
container networks {
list network {
key "network-id";
@@ -4234,4 +4238,19 @@ module GENERIC-RESOURCE-API {
}
}
+ rpc collectPerformanceData {
+ input {
+ uses sdnc-request-header;
+ uses request-information;
+ uses service-information;
+ leaf controller-ipv4-address {
+ type string;
+ mandatory false;
+ }
+ }
+ output {
+ uses topology-response-common;
+ }
+ }
+
} ////closes the module