-
-
Save sandlbn/e7b795fc60fbf1ff9966b8a5e4d1b15e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[odl custom]] | |
ovsdb.of.version=1.3 | |
ovsdb.l3.fwd.enabled=yes | |
ovsdb.l3.arp.responder.disabled=no | |
ovsdb.l3gateway.mac=b0:b2:dc:6f:a5:f2 <-- mac of external router | |
[[odl feature:install]] | |
feature:install odl-netvirt-openstack odl-dlux-core odl-mdsal-apidocs | |
[[ml2_conf.ini]] | |
[DEFAULT] | |
type_drivers = vxlan,flat | |
tenant_network_types = vxlan | |
mechanism_drivers =opendaylight | |
[ml2_odl] | |
port_binding_controller = pseudo-agentdb-binding | |
url = http://192.168.xx.91:8080/controller/nb/v2/neutron | |
password = admin | |
username = admin | |
[ovs] | |
local_ip = 192.168.x.91 | |
enable_tunneling = True | |
[ml2_type_vxlan] | |
vni_ranges =10:100 | |
vxlan_group = 224.0.0.1 | |
[ml2_type_flat] | |
flat_networks = * | |
[[ovs-vsctl show]] | |
ovs-vsctl show | |
697fcafa-e123-43d2-a1ba-6870ea781ad8 | |
Manager "tcp:192.168.x.91:6640" | |
is_connected: true | |
Bridge br-int | |
Controller "tcp:192.168.x.91:6653" | |
is_connected: true | |
fail_mode: secure | |
Port br-int | |
Interface br-int | |
type: internal | |
Port "tap0eb01e79-43" | |
Interface "tap0eb01e79-43" | |
type: internal | |
Port "eno1" | |
Interface "eno1" | |
ovs_version: "2.5.0" | |
[[ovs-vsctl get Open_vSwitch . other_config]] | |
{local_ip="192.168.x.91", provider_mappings="external:eno1"} | |
[[network creation]] | |
neutron net-create external --provider:network_type flat --router:external --provider:physical_network external --shared | |
neutron subnet-create --name sub_ext_net external 10.x.23.0/16 --gateway 10.x.0.1 --allocation-pool start=10.x.23.10,end=10.x.23.250 --enable_dhcp=False --dns-nameservers list=true 10.x.0.1 8.8.8.8 8.8.4. | |
neutron router-gateway-set router_1 external |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment