summaryrefslogtreecommitdiffhomepage
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-rw-r--r--api/gobgp.pb.go22
-rw-r--r--api/gobgp.proto9
2 files changed, 29 insertions, 2 deletions
diff --git a/api/gobgp.pb.go b/api/gobgp.pb.go
index e0cde493..bc1cad51 100644
--- a/api/gobgp.pb.go
+++ b/api/gobgp.pb.go
@@ -21,6 +21,7 @@ It has these top-level messages:
ExtendedCommunity
EVPNNlri
EvpnMacIpAdvertisement
+ EvpnInclusiveMulticastEthernetTag
RTNlri
Nlri
TunnelEncapSubTLV
@@ -690,7 +691,8 @@ func (*ExtendedCommunity) ProtoMessage() {}
type EVPNNlri struct {
Type EVPN_TYPE `protobuf:"varint,1,opt,name=type,enum=api.EVPN_TYPE" json:"type,omitempty"`
// EvpnAutoDiscoveryRoute = 2;
- MacIpAdv *EvpnMacIpAdvertisement `protobuf:"bytes,3,opt,name=mac_ip_adv" json:"mac_ip_adv,omitempty"`
+ MacIpAdv *EvpnMacIpAdvertisement `protobuf:"bytes,3,opt,name=mac_ip_adv" json:"mac_ip_adv,omitempty"`
+ MulticastEtag *EvpnInclusiveMulticastEthernetTag `protobuf:"bytes,4,opt,name=multicast_etag" json:"multicast_etag,omitempty"`
}
func (m *EVPNNlri) Reset() { *m = EVPNNlri{} }
@@ -704,6 +706,13 @@ func (m *EVPNNlri) GetMacIpAdv() *EvpnMacIpAdvertisement {
return nil
}
+func (m *EVPNNlri) GetMulticastEtag() *EvpnInclusiveMulticastEthernetTag {
+ if m != nil {
+ return m.MulticastEtag
+ }
+ return nil
+}
+
type EvpnMacIpAdvertisement struct {
MacAddr string `protobuf:"bytes,1,opt,name=mac_addr" json:"mac_addr,omitempty"`
MacAddrLen uint32 `protobuf:"varint,2,opt,name=mac_addr_len" json:"mac_addr_len,omitempty"`
@@ -719,6 +728,17 @@ func (m *EvpnMacIpAdvertisement) Reset() { *m = EvpnMacIpAdvertisement{}
func (m *EvpnMacIpAdvertisement) String() string { return proto.CompactTextString(m) }
func (*EvpnMacIpAdvertisement) ProtoMessage() {}
+type EvpnInclusiveMulticastEthernetTag struct {
+ Rd string `protobuf:"bytes,1,opt,name=rd" json:"rd,omitempty"`
+ Etag uint32 `protobuf:"varint,2,opt,name=etag" json:"etag,omitempty"`
+ IpAddr string `protobuf:"bytes,3,opt,name=ip_addr" json:"ip_addr,omitempty"`
+ IpAddrLen uint32 `protobuf:"varint,4,opt,name=ip_addr_len" json:"ip_addr_len,omitempty"`
+}
+
+func (m *EvpnInclusiveMulticastEthernetTag) Reset() { *m = EvpnInclusiveMulticastEthernetTag{} }
+func (m *EvpnInclusiveMulticastEthernetTag) String() string { return proto.CompactTextString(m) }
+func (*EvpnInclusiveMulticastEthernetTag) ProtoMessage() {}
+
type RTNlri struct {
Asn uint32 `protobuf:"varint,1,opt,name=asn" json:"asn,omitempty"`
Target *ExtendedCommunity `protobuf:"bytes,2,opt,name=target" json:"target,omitempty"`
diff --git a/api/gobgp.proto b/api/gobgp.proto
index 1467ab51..1e789502 100644
--- a/api/gobgp.proto
+++ b/api/gobgp.proto
@@ -210,7 +210,7 @@ message EVPNNlri {
EVPN_TYPE type = 1;
// EvpnAutoDiscoveryRoute = 2;
EvpnMacIpAdvertisement mac_ip_adv = 3;
-// EvpnInclusiveMulticastEthernetTag = 4;
+ EvpnInclusiveMulticastEthernetTag multicast_etag = 4;
// EvpnEthernetSegmentRoute = 5;
}
@@ -225,6 +225,13 @@ message EvpnMacIpAdvertisement {
repeated uint32 labels = 8;
}
+message EvpnInclusiveMulticastEthernetTag {
+ string rd = 1;
+ uint32 etag = 2;
+ string ip_addr = 3;
+ uint32 ip_addr_len = 4;
+}
+
message RTNlri {
uint32 asn = 1;
ExtendedCommunity target = 2;