syntax = "proto3"; | |
option java_package = "org.onosproject.grpc.net.models"; | |
package net; | |
import "net/device/PortEnumsProto.proto"; | |
// Corresponds to org.onosproject.net.Port. | |
message PortProto { | |
string port_number = 1; | |
bool is_enabled = 2; | |
net.device.PortTypeProto type = 3; | |
int64 port_speed = 4; | |
map<string, string> annotations = 5; | |
} | |