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
output {\r
leaf status { type string; }\r
leaf health { type string; }\r
+ leaf served-by { type string; }\r
}\r
}\r
\r
output {\r
leaf status { type string; }\r
leaf health { type string; }\r
+ leaf served-by { type string; }\r
}\r
}\r
\r
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
"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
}\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
}\r
output {\r
leaf status { type string; }\r
+ leaf served-by { type string; }\r
}\r
}\r
\r
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