diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-08-06 15:34:29 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-08-12 08:04:30 +0900 |
commit | a7682648404d444a44b953e4db0fed1660ce60ee (patch) | |
tree | 6a3b341d11565226b1bc617be6009c3eb69b30fa /api/gobgp.proto | |
parent | b3514d7e0a813ca1d023748d4b3365065dc43016 (diff) |
api: kill protobuf Addressfamily struct
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'api/gobgp.proto')
-rw-r--r-- | api/gobgp.proto | 33 |
1 files changed, 4 insertions, 29 deletions
diff --git a/api/gobgp.proto b/api/gobgp.proto index cfc8fffd..650e452b 100644 --- a/api/gobgp.proto +++ b/api/gobgp.proto @@ -55,7 +55,7 @@ message Error { message Arguments { Resource resource = 1; - AddressFamily af = 2; + uint32 rf = 2; string name = 3; } @@ -79,7 +79,7 @@ message PolicyArguments { message MrtArguments { Resource resource = 1; - AddressFamily af = 2; + uint32 rf = 2; uint64 interval = 3; string neighbor_address = 4; } @@ -109,31 +109,6 @@ enum Operation { DEL_ALL = 2; } -enum AFI { - UNKNOWN_AFI = 0; - IP = 1; - IP6 = 2; - L2VPN = 25; -} - -enum SAFI { - UNKNOWN_SAFI = 0; - UNICAST = 1; - MULTICAST = 2; - MPLS_LABEL = 4; - ENCAP = 7; - VPLS = 65; - EVPN = 70; - MPLS_VPN = 128; - MPLS_VPN_MULTICAST = 129; - ROUTE_TARGET_CONSTRAINTS = 132; -} - -message AddressFamily { - AFI Afi = 1; - SAFI Safi = 2; -} - enum BGP_CAPABILITY { UNKNOWN_CAP = 0; MULTIPROTOCOL = 1; @@ -146,7 +121,7 @@ enum BGP_CAPABILITY { } message GracefulRestartTuple { - AddressFamily af = 1; + uint32 rf = 1; uint32 flags = 2; } @@ -158,7 +133,7 @@ message GracefulRestart { message Capability { BGP_CAPABILITY code = 1; - AddressFamily multi_protocol = 2; + uint32 multi_protocol = 2; GracefulRestart graceful_restart = 3; uint32 asn = 4; } |