DM should configured MX based on bgp-router AS config
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.0 |
Fix Committed
|
Medium
|
Suresh Balineni | |||
R3.1 |
Fix Committed
|
Medium
|
Suresh Balineni | |||
Trunk |
Fix Committed
|
Medium
|
Suresh Balineni |
Bug Description
3.0 supports configuration of bgp-router ASN. Refer:
https:/
If bgp-router ASN is configured then it should be used for BGP peering. The BGP peering could be external or internal based on the ASN configured for the MX bgp-router.
Example config for both eBGP and iBGP case are shown below:
eBGP:
CN:
ASN: 64512
bgp-asn: 5000
MX-1
ASN: 5001
MX-2
ASN: 5001
autonomous-system 5001;
group __contrail__ {
type internal;
multihop;
local-address 172.16.184.200;
hold-time 90;
keep all;
family inet-vpn {
unicast;
}
family inet6-vpn {
unicast;
}
family evpn {
signaling;
}
family route-target;
neighbor 172.16.187.200 {
peer-as 5001;
}
}
group __contrail_
type external;
multihop;
local-address 172.16.184.200;
hold-time 90;
keep all;
family inet-vpn {
unicast;
}
family inet6-vpn {
unicast;
}
family evpn {
signaling;
}
family route-target;
neighbor 172.16.180.8 {
peer-as 5000;
}
neighbor 172.16.180.5 {
peer-as 5000;
}
neighbor 172.16.180.7 {
peer-as 5000;
}
}
iBGP:
CN:
ASN: 64512
bgp-asn: 5001
MX-1
ASN: 5001
MX-2
ASN: 5001
autonomous-system 5001;
group __contrail__ {
type internal;
multihop;
local-address 172.16.184.200;
hold-time 90;
keep all;
family inet-vpn {
unicast;
}
family inet6-vpn {
unicast;
}
family evpn {
signaling;
}
family route-target;
neighbor 172.16.187.200 {
peer-as 5001;
}
neighbor 172.16.180.5 {
peer-as 5001;
}
neighbor 172.16.180.7 {
peer-as 5001;
}
neighbor 172.16.180.8 {
peer-as 5001;
}
}
group __contrail_
type external;
multihop;
local-address 172.16.184.200;
hold-time 90;
keep all;
family inet-vpn {
unicast;
}
family inet6-vpn {
unicast;
}
family evpn {
signaling;
}
family route-target;
}
tags: | removed: blocker |
Review in progress for https:/ /review. opencontrail. org/21356
Submitter: Suresh Balineni (<email address hidden>)