[CCSDK-1298] Add served-by field
[ccsdk/sli/plugins.git] / grToolkit / model / src / main / yang / gr-toolkit.yang
index 951201c..cc21400 100755 (executable)
@@ -93,6 +93,7 @@ module gr-toolkit{
     output {\r
       leaf status { type string; }\r
       leaf message { type string; }\r
+      leaf served-by { type string; }\r
       leaf site1-health { type string; }\r
       leaf site2-health { type string; }\r
       list members {\r
@@ -107,6 +108,7 @@ module gr-toolkit{
     output {\r
       leaf status { type string; }\r
       leaf health { type string; }\r
+      leaf served-by { type string; }\r
     }\r
   }\r
 \r
@@ -116,6 +118,7 @@ module gr-toolkit{
     output {\r
       leaf status { type string; }\r
       leaf health { type string; }\r
+      leaf served-by { type string; }\r
     }\r
   }\r
 \r
@@ -125,6 +128,7 @@ module gr-toolkit{
       to determine if the entire site is in a healthy state.";\r
     output {\r
       leaf status { type string; }\r
+      leaf served-by { type string; }\r
       list sites {\r
         uses site;\r
       }\r
@@ -136,13 +140,14 @@ module gr-toolkit{
       "Returns the unique site identifier.";\r
     output {\r
       leaf status { type string; }\r
+      leaf served-by { type string; }\r
       leaf id { type string; mandatory true; }\r
     }\r
   }\r
 \r
   rpc halt-akka-traffic {\r
     description\r
-      "Invokes a utility script to halt traffic to the akka port.";\r
+      "Executes IP Tables commands to halt traffic to the akka port.";\r
     input {\r
       list node-info {\r
         uses node;\r
@@ -150,12 +155,13 @@ module gr-toolkit{
     }\r
     output {\r
       leaf status { type string; }\r
+      leaf served-by { type string; }\r
     }\r
   }\r
 \r
   rpc resume-akka-traffic {\r
     description\r
-      "Invokes a utility script to resume traffic to the akka port.";\r
+      "Executes IP Tables commands to resume traffic to the akka port.";\r
     input {\r
       list node-info {\r
         uses node;\r
@@ -163,6 +169,7 @@ module gr-toolkit{
     }\r
     output {\r
       leaf status { type string; }\r
+      leaf served-by { type string; }\r
     }\r
   }\r
 \r
@@ -174,10 +181,19 @@ module gr-toolkit{
         type string;\r
         default "false";\r
       }\r
+      leaf isolate {\r
+        type string;\r
+        default "false";\r
+      }\r
+      leaf downUnreachable {\r
+        type string;\r
+        default "false";\r
+      }\r
     }\r
     output {\r
       leaf status { type string; }\r
       leaf message { type string; }\r
+      leaf served-by { type string; }\r
     }\r
   }\r
 }\r