aboutsummaryrefslogtreecommitdiffstats
path: root/grToolkit/model/src
diff options
context:
space:
mode:
authorHaddox, Anthony <ah0647@att.com>2019-04-30 08:50:45 -0700
committerHaddox, Anthony <ah0647@att.com>2019-04-30 08:50:45 -0700
commit824ac8dcefe0a08cbcd293952573e327866aca25 (patch)
treed7723b5d51ed7691e9a5037503b0a34b5bdf70bd /grToolkit/model/src
parent5ddde36ddd17ef3cbcae6df12cd4862998d7f2ad (diff)
[CCSDK-1298] Add served-by field
Add served-by field to RPC responses and output getRequestContent response. Issue-ID: CCSDK-1298 Change-Id: Ic8c327dd1acc44aeab2c999851b22fdba5eed232 Signed-off-by: Haddox, Anthony <ah0647@att.com>
Diffstat (limited to 'grToolkit/model/src')
-rwxr-xr-xgrToolkit/model/src/main/yang/gr-toolkit.yang8
1 files changed, 8 insertions, 0 deletions
diff --git a/grToolkit/model/src/main/yang/gr-toolkit.yang b/grToolkit/model/src/main/yang/gr-toolkit.yang
index 8b22d666..cc21400a 100755
--- a/grToolkit/model/src/main/yang/gr-toolkit.yang
+++ b/grToolkit/model/src/main/yang/gr-toolkit.yang
@@ -93,6 +93,7 @@ module gr-toolkit{
output {
leaf status { type string; }
leaf message { type string; }
+ leaf served-by { type string; }
leaf site1-health { type string; }
leaf site2-health { type string; }
list members {
@@ -107,6 +108,7 @@ module gr-toolkit{
output {
leaf status { type string; }
leaf health { type string; }
+ leaf served-by { type string; }
}
}
@@ -116,6 +118,7 @@ module gr-toolkit{
output {
leaf status { type string; }
leaf health { type string; }
+ leaf served-by { type string; }
}
}
@@ -125,6 +128,7 @@ module gr-toolkit{
to determine if the entire site is in a healthy state.";
output {
leaf status { type string; }
+ leaf served-by { type string; }
list sites {
uses site;
}
@@ -136,6 +140,7 @@ module gr-toolkit{
"Returns the unique site identifier.";
output {
leaf status { type string; }
+ leaf served-by { type string; }
leaf id { type string; mandatory true; }
}
}
@@ -150,6 +155,7 @@ module gr-toolkit{
}
output {
leaf status { type string; }
+ leaf served-by { type string; }
}
}
@@ -163,6 +169,7 @@ module gr-toolkit{
}
output {
leaf status { type string; }
+ leaf served-by { type string; }
}
}
@@ -186,6 +193,7 @@ module gr-toolkit{
output {
leaf status { type string; }
leaf message { type string; }
+ leaf served-by { type string; }
}
}
}