View difference between Paste ID: TDjwNZDE and DLDAhmLA
SHOW: | | - or go back to the newest paste.
1
# On server with additional NIC (Control/Network Server)
2
3
docker exec openvswitch_db ovs-vsctl add-br br-ex1
4
docker exec openvswitch_db ovs-vsctl add-port br-ex1 ens7f1
5
docker exec openvswitch_db ovs-vsctl --no-wait show
6
7
# Added two lines with physnet2
8
/etc/kolla/neutron-server/ml2_conf.ini
9
[ml2]
10
type_drivers = flat,vlan,vxlan
11
tenant_network_types = vxlan
12
mechanism_drivers = openvswitch,l2population
13
14
[ml2_type_vlan]
15
network_vlan_ranges = 
16
17
[ml2_type_flat]
18
flat_networks = physnet1,physnet2
19
20
[ml2_type_vxlan]
21
vni_ranges = 1:1000
22
vxlan_group = 239.1.1.1
23
24
[securitygroup]
25
firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
26
27
[agent]
28
tunnel_types = vxlan
29
l2_population = true
30
arp_responder = true
31
32
[ovs]
33
bridge_mappings = physnet1:br-ex,physnet2:br-ex1
34
local_ip = 10.1.20.3
35
36
37
#Then created an external network
38
neutron net-create database --provider:network_type flat --provider:physical_network physnet2 --router:external=True
39
40
41
#restarted neutron_server... profit?