summaryrefslogtreecommitdiffhomepage
path: root/api/gobgp.proto
diff options
context:
space:
mode:
Diffstat (limited to 'api/gobgp.proto')
-rw-r--r--api/gobgp.proto26
1 files changed, 26 insertions, 0 deletions
diff --git a/api/gobgp.proto b/api/gobgp.proto
index ed9cc11b..dd58e003 100644
--- a/api/gobgp.proto
+++ b/api/gobgp.proto
@@ -80,6 +80,32 @@ service GobgpApi {
rpc GetRibInfo(GetRibInfoRequest) returns (GetRibInfoResponse) {}
}
+// Constants for address families
+enum Family {
+ _ = 0;
+ IPv4 = 65537;
+ IPv6 = 131073;
+ IPv4_MC = 65538;
+ IPv6_MC = 131074;
+ IPv4_MPLS = 65540;
+ IPv6_MPLS = 131076;
+ IPv4_VPN = 65664;
+ IPv6_VPN = 131200;
+ IPv4_VPN_MC = 65665;
+ IPv6_VPN_MC = 131201;
+ VPLS = 1638465;
+ EVPN = 1638470;
+ RTC = 65668;
+ IPv4_ENCAP = 65543;
+ IPv6_ENCAP = 131079;
+ FLOW_SPEC_IPv4 = 65669;
+ FLOW_SPEC_IPv6 = 131205;
+ FLOW_SPEC_IPv4_VPN = 65670;
+ FLOW_SPEC_IPv6_VPN = 131206;
+ FLOW_SPEC_L2_VPN = 1638534;
+ OPAQUE = 1074594033;
+}
+
message GetNeighborRequest {
bool enableAdvertised = 1;
string address = 2;