commit | 8d7843cea47a8cfb38b314e543dffa07a51139a6 | [log] [tgz] |
---|---|---|
author | Serge Bazanski <serge@bazanski.pl> | Thu Oct 04 10:37:36 2018 +0100 |
committer | Serge Bazanski <serge@bazanski.pl> | Thu Oct 04 10:37:36 2018 +0100 |
tree | a70175dd578e7c815a6283ac6901a7f41eb94e9d |
initial commit
diff --git a/config.proto b/config.proto new file mode 100644 index 0000000..4408a3b --- /dev/null +++ b/config.proto
@@ -0,0 +1,22 @@ +syntax = "proto3"; + +message Config { + repeated Switch switch = 1; +}; + +message Switch { + string name = 1; + + enum Connector { + CONNECTOR_INVALID = 0; + CONNECTOR_M6220 = 1; + CONNECTOR_ARISTA = 2; + }; + Connector connector = 2; + string address = 3; + repeated SwitchPort managed_port = 4; +}; + +message SwitchPort { + string name = 1; +};