summaryrefslogtreecommitdiffstats
path: root/framework/src/onos/incubator/rpc-grpc/src/main/proto/Port.proto
diff options
context:
space:
mode:
authorCNlucius <lukai1@huawei.com>2016-09-13 11:40:12 +0800
committerCNlucius <lukai1@huawei.com>2016-09-13 11:41:53 +0800
commitb731e2f1dd0972409b136aebc7b463dd72c9cfad (patch)
tree5107d7d80c19ad8076c2c97c2b5ef8d1cf3ab903 /framework/src/onos/incubator/rpc-grpc/src/main/proto/Port.proto
parentee93993458266114c29271a481ef9ce7ce621b2a (diff)
ONOSFW-171
O/S-SFC-ONOS scenario documentation Change-Id: I51ae1cf736ea24ab6680f8edca1b2bf5dd598365 Signed-off-by: CNlucius <lukai1@huawei.com>
Diffstat (limited to 'framework/src/onos/incubator/rpc-grpc/src/main/proto/Port.proto')
-rw-r--r--framework/src/onos/incubator/rpc-grpc/src/main/proto/Port.proto40
1 files changed, 0 insertions, 40 deletions
diff --git a/framework/src/onos/incubator/rpc-grpc/src/main/proto/Port.proto b/framework/src/onos/incubator/rpc-grpc/src/main/proto/Port.proto
deleted file mode 100644
index f32193cc..00000000
--- a/framework/src/onos/incubator/rpc-grpc/src/main/proto/Port.proto
+++ /dev/null
@@ -1,40 +0,0 @@
-syntax = "proto3";
-option java_package = "org.onosproject.grpc";
-
-package Port;
-
-enum PortType {
- // Signifies copper-based connectivity.
- COPPER = 0;
- // Signifies optical fiber-based connectivity.
- FIBER = 1;
- // Signifies optical fiber-based packet port.
- PACKET = 2;
- // Signifies optical fiber-based optical tributary port (called T-port).
- //The signal from the client side will be formed into a ITU G.709 (OTN) frame.
- ODUCLT = 3;
- // Signifies optical fiber-based Line-side port (called L-port).
- OCH = 4;
- // Signifies optical fiber-based WDM port (called W-port).
- //Optical Multiplexing Section (See ITU G.709).
- OMS = 5;
- // Signifies virtual port.
- VIRTUAL = 6;
-}
-
-// TODO What are we going to do with more specific PortDescription ...
-message PortDescription {
- // PortNumber as String PortNumber#toString
- string port_number = 1;
- bool is_enabled = 2;
- PortType type = 3;
- int64 port_speed = 4;
- map<string, string> annotations = 8;
-}
-
-message PortStatistics {
- int32 port = 1;
- int64 packets_received = 2;
- int64 packets_sent = 3;
- // TODO add all other fields
-}