Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # On server with additional NIC (Control/Network Server)
- docker exec openvswitch_db ovs-vsctl add-br br-ex1
- docker exec openvswitch_db ovs-vsctl add-port br-ex1 ens7f1
- docker exec openvswitch_db ovs-vsctl --no-wait show
- # Added two lines with physnet2
- /etc/kolla/neutron-server/ml2_conf.ini
- [ml2]
- type_drivers = flat,vlan,vxlan
- tenant_network_types = vxlan
- mechanism_drivers = openvswitch,l2population
- [ml2_type_vlan]
- network_vlan_ranges =
- [ml2_type_flat]
- flat_networks = physnet1,physnet2
- [ml2_type_vxlan]
- vni_ranges = 1:1000
- vxlan_group = 239.1.1.1
- [securitygroup]
- firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
- [agent]
- tunnel_types = vxlan
- l2_population = true
- arp_responder = true
- [ovs]
- bridge_mappings = physnet1:br-ex,physnet2:br-ex1
- local_ip = 10.1.20.3
- #Then created an external network
- neutron net-create database --provider:network_type flat --provider:physical_network physnet2 --router:external=True
- #restarted neutron_server... profit?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement