ENABLED_SERVICES=q-svc,q-meta,q-agt,q-dhcp,q-l3,key,mysql,rabbit,heat,h-api,h-api-cfn,h-api-cw,h-eng,b-bgp
if [ ! -z $FAKERR ]; then ENABLED_SERVICES+=,b-fakerr; fi
#ENABLED_SERVICES+=,g-api,g-reg,n-api,n-crt,n-cpu,n-cond,n-sch,n-obj,horizon
### Set bagpipe as the bgpvpn driver ###
NETWORKING_BGPVPN_DRIVER=BGPVPN:BaGPipe:networking_bgpvpn.neutron.services.service_drivers.bagpipe.bagpipe.BaGPipeBGPVPNDriver:default
bgpvpn/bagpipe is enbale in the local.conf :
############"
[[local|localrc]]
#USE_CONSTRAINT S=True $TOP_DIR/ data LOGDIR= /opt/stack/ logs/screen /opt/stack/ logs/stack. sh.log
ROOTSLEEP=0
DATA_DIR=
SCREEN_
#VERBOSE=True
LOGFILE=
ADMIN_PASSWORD=labo PASSWORD= labo PASSWORD= labo
MYSQL_PASSWORD=labo
RABBIT_
SERVICE_
SERVICE_TOKEN=token
ENABLED_ SERVICES= q-svc,q- meta,q- agt,q-dhcp, q-l3,key, mysql,rabbit, heat,h- api,h-api- cfn,h-api- cw,h-eng, b-bgp SERVICES+ =,b-fakerr; fi SERVICES+ =,g-api, g-reg,n- api,n-crt, n-cpu,n- cond,n- sch,n-obj, horizon
if [ ! -z $FAKERR ]; then ENABLED_
#ENABLED_
### NEUTRON ### CREATE_ INITIAL_ NETWORKS= False
### ML2 core plugin ###
NEUTRON_
Q_PLUGIN=ml2 TYPE_DRIVERS= vxlan MECHANISM_ DRIVERS= openvswitch, l2population
Q_ML2_PLUGIN_
Q_ML2_PLUGIN_
### BGPVPN Service Plugin ### openstack. org/openstack/ networking- bgpvpn. git
enable_plugin networking-bgpvpn git://git.
### Activate bagpipe devstack plugins ### openstack. org/openstack/ networking- bagpipe. git
enable_plugin networking-bagpipe git://git.
### Configure bagpipe ### DATAPLANE_ DRIVER_ IPVPN=mpls_ ovs_dataplane. MPLSOVSDataplan eDriver
BAGPIPE_
### Set bagpipe as the bgpvpn driver ### BGPVPN_ DRIVER= BGPVPN: BaGPipe: networking_ bgpvpn. neutron. services. service_ drivers. bagpipe. bagpipe. BaGPipeBGPVPNDr iver:default
NETWORKING_
### ML2/ovs_agent config ### config| /$Q_PLUGIN_ CONF_FILE] ] network_ types=vxlan
[[post-
[ml2]
tenant_
[openvswitch]
tunnel_types=vxlan
[ml2_type_vxlan]
vni_ranges = 1001:2000
[agent]
l2_population=True
arp_responder=True
###############
then I create two networks connected through a created router :
heat_template_ version: '2013-05-23'
resources:
Net1:
type: OS::Neutron::Net
SubNet1:
type: OS::Neutron::Subnet
properties:
network: { get_resource: Net1 }
cidr: 10.0.0.0/24
Net2:
type: OS::Neutron::Net
SubNet2:
type: OS::Neutron::Subnet
properties:
network: { get_resource: Net2 }
cidr: 20.0.0.0/24
router1:
type: OS::Neutron::Router
router1_ interface1: :RouterInterfac e
router_ id: { get_resource: router1 }
subnet_ id: { get_resource: SubNet1 } interface2: :RouterInterfac e
router_ id: { get_resource: router1 }
subnet_ id: { get_resource: SubNet2 }
type: OS::Neutron:
properties:
router1_
type: OS::Neutron:
properties:
######
then I create a probe in one of those net. From the qprobe namesapce, the router is not reachable.