aboutsummaryrefslogtreecommitdiffstats
path: root/optical-service
diff options
context:
space:
mode:
authorMehreen Kaleem <mehreen.kaleem@us.fujitsu.com>2020-04-15 11:57:19 +0000
committerMehreen Kaleem <mehreen.kaleem@us.fujitsu.com>2020-04-15 12:00:02 +0000
commit2175dd763408ce62dab3307d00e6c1bb2efbb446 (patch)
tree1d8a8bdd5cdc7dd13a7a45adbdacf3918833e923 /optical-service
parent94672f9bf6495841704db0df44bf7bc832fd82e2 (diff)
Updated the yang for optical-service
package Change-Id: Iefc00bbc7355b9d1a77b95db62bb53e686fe7036 Issue-ID: SDNC-1144 Signed-off-by: Mehreen Kaleem <mehreen.kaleem@us.fujitsu.com>
Diffstat (limited to 'optical-service')
-rw-r--r--optical-service/model/src/main/yang/optical-service.yang65
1 files changed, 21 insertions, 44 deletions
diff --git a/optical-service/model/src/main/yang/optical-service.yang b/optical-service/model/src/main/yang/optical-service.yang
index 911bd488..720b83b5 100644
--- a/optical-service/model/src/main/yang/optical-service.yang
+++ b/optical-service/model/src/main/yang/optical-service.yang
@@ -43,50 +43,20 @@ module opticalservice {
container payload {
- leaf domain-type {
- type string;
- }
-
- leaf service-name {
- type string;
- }
-
- leaf service-rate {
- type string;
- }
- leaf service-protocol {
- type string;
- }
-
- leaf coding-func {
- type string;
- }
-
- container service-a-end {
- uses service-end-g;
- }
-
- container service-z-end {
- uses service-end-g;
- }
-
- leaf service-layer {
- type string;
+ list param {
+
+ key "name";
+ leaf name {
+ type string;
+ }
+
+ leaf value {
+ type string;
+ }
}
}
}
- grouping service-end-g {
-
- leaf port-id {
- type string;
- }
-
- leaf port-name {
- type string;
- }
- }
-
grouping request-source-g {
leaf request-id {
@@ -111,17 +81,24 @@ module opticalservice {
leaf ack-final-indicator {
type string;
}
-
}
grouping optical-service-delete-request {
-
+
uses request-source-g;
container payload {
- leaf service-name {
- type string;
+ list param {
+
+ key "name";
+ leaf name {
+ type string;
+ }
+
+ leaf value {
+ type string;
+ }
}
}
}