Skip to content

Commit

Permalink
Proto changes (#522)
Browse files Browse the repository at this point in the history
* Proto changes

* Fix linter

---------

Co-authored-by: Neha Manjunath <[email protected]>
  • Loading branch information
NehaManjunath and Neha Manjunath authored Mar 26, 2024
1 parent 5e92c29 commit 97d11f1
Show file tree
Hide file tree
Showing 6 changed files with 233 additions and 141 deletions.
2 changes: 1 addition & 1 deletion proto/alpine/alpine.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion proto/ceos/ceos.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 15 additions & 15 deletions proto/controller/controller.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion proto/event/event.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions proto/topo.proto
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,12 @@ message BoundedInteger {

// Interface keys must be the same as the links a,z int.
message Interface {
enum InterfaceType {
UNKNOWN = 0;
LOOPBACK = 1;
MANAGEMENT = 2;
DATA = 3;
}
// Name of the interface provided by Node implementation. This will be used
// to map the int_name into a vendor specific interface name. Vendor operators
// should provide the name mapping from the node interface key to this vendor
Expand All @@ -131,6 +137,10 @@ message Interface {
int64 uid = 6;
// Name of group to which this interface belongs
string group = 7;
// Type of the interface - Loopback, Management , Data etc.
InterfaceType type = 8;
// ip_address associated with the interface.
string ip_address = 9;
}

// Link is single link between nodes in the topology.
Expand Down
Loading

0 comments on commit 97d11f1

Please sign in to comment.