SEBA-207 Generate switch port alarms;
Add kind field to switch port;
Add managementAddress and pull step
Change-Id: I17ec83d3ae9e82c8c3f99151115a35e299ee0d60
diff --git a/xos/synchronizer/models/fabric.xproto b/xos/synchronizer/models/fabric.xproto
index df4275c..dc89c95 100644
--- a/xos/synchronizer/models/fabric.xproto
+++ b/xos/synchronizer/models/fabric.xproto
@@ -35,6 +35,10 @@
required bool isEdgeRouter = 7 [
help_text="True if the fabric switch is a leaf, False if it is a spine",
default = True];
+ optional string managementAddress = 8 [
+ help_text = "Address where this switch can be managed",
+ feedback_state = True,
+ max_length = 1024];
}
message SwitchPort(XOSBase) {
@@ -61,6 +65,10 @@
choices = "(('enabled', 'enabled'), ('disabled', 'disabled'))",
feedback_state = True,
max_length = 32];
+ optional string kind = 6 [
+ help_text = "type of device attached to port",
+ choices = "(('access', 'access'), ('internet', 'internet'))",
+ max_length = 32];
}
message PortInterface(XOSBase) {