Aaron Kruglikov | 9f95f99 | 2017-06-23 14:15:25 +0900 | [diff] [blame] | 1 | syntax = "proto3"; |
Jian Li | c9b4bf1 | 2017-06-26 23:50:32 +0900 | [diff] [blame] | 2 | option java_package = "org.onosproject.grpc.net.device.models"; |
Aaron Kruglikov | 9f95f99 | 2017-06-23 14:15:25 +0900 | [diff] [blame] | 3 | |
Jian Li | c9b4bf1 | 2017-06-26 23:50:32 +0900 | [diff] [blame] | 4 | package net.device; |
Aaron Kruglikov | 9f95f99 | 2017-06-23 14:15:25 +0900 | [diff] [blame] | 5 | |
Jian Li | c9b4bf1 | 2017-06-26 23:50:32 +0900 | [diff] [blame] | 6 | enum PortTypeProto { |
Aaron Kruglikov | 9f95f99 | 2017-06-23 14:15:25 +0900 | [diff] [blame] | 7 | // Signifies copper-based connectivity. |
| 8 | COPPER = 0; |
| 9 | // Signifies optical fiber-based connectivity. |
| 10 | FIBER = 1; |
| 11 | // Signifies optical fiber-based packet port. |
| 12 | PACKET = 2; |
| 13 | // Signifies optical fiber-based optical tributary port (called T-port). |
| 14 | //The signal from the client side will be formed into a ITU G.709 (OTN) frame. |
| 15 | ODUCLT = 3; |
| 16 | // Signifies optical fiber-based Line-side port (called L-port). |
| 17 | OCH = 4; |
| 18 | // Signifies optical fiber-based WDM port (called W-port). |
| 19 | //Optical Multiplexing Section (See ITU G.709). |
| 20 | OMS = 5; |
| 21 | // Signifies virtual port. |
Jian Li | c9b4bf1 | 2017-06-26 23:50:32 +0900 | [diff] [blame] | 22 | VIRTUAL_PORT = 6; |
Aaron Kruglikov | 9f95f99 | 2017-06-23 14:15:25 +0900 | [diff] [blame] | 23 | } |