| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| syntax = "proto2"; |
| |
| |
| |
| |
| package qpb; |
| |
| enum AddressFamily { |
| UNKNOWN_AF = 0; |
| IPV4 = 1; |
| IPV6 = 2; |
| }; |
| |
| enum SubAddressFamily { |
| UNKNOWN_SAF = 0; |
| UNICAST = 1; |
| MULTICAST = 2; |
| }; |
| |
| |
| |
| |
| message Ipv4Address { |
| required fixed32 value = 1 ; |
| }; |
| |
| message Ipv6Address { |
| |
| |
| required bytes bytes = 1; |
| }; |
| |
| |
| |
| |
| message L3Address { |
| optional Ipv4Address v4 = 1; |
| optional Ipv6Address v6 = 2; |
| }; |
| |
| |
| |
| |
| message L3Prefix { |
| required uint32 length = 1; |
| required bytes bytes = 2; |
| }; |
| |
| |
| |
| |
| |
| message IfIdentifier { |
| optional uint32 index = 1; |
| optional string name = 2; |
| }; |
| |
| enum Protocol { |
| UNKNOWN_PROTO = 0; |
| LOCAL = 1; |
| CONNECTED = 2; |
| KERNEL = 3; |
| STATIC = 4; |
| RIP = 5; |
| RIPNG = 6; |
| OSPF = 7; |
| ISIS = 8; |
| BGP = 9; |
| OTHER = 10; |
| } |