SHOW:
|
|
- or go back to the newest paste.
| 1 | [ml2] | |
| 2 | type_drivers = flat,vlan | |
| 3 | tenant_network_types = | |
| 4 | mechanism_drivers = openvswitch | |
| 5 | ||
| 6 | #[ml2_type_flat] | |
| 7 | #flat_networks = physnet1 | |
| 8 | ||
| 9 | [ml2_type_vlan] | |
| 10 | network_vlan_ranges = physnet1 | |
| 11 | ||
| 12 | [securitygroup] | |
| 13 | firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver | |
| 14 | enable_security_group = True | |
| 15 | enable_ipset = True | |
| 16 | ||
| 17 | [ovs] | |
| 18 | bridge_mappings = physnet1:br-ex | |
| 19 | - | physical_interface_mappings = bond0 |
| 19 | + | physical_interface_mappings = physnet1:bond0 |
| 20 | ||
| 21 | ||
| 22 | ||
| 23 | Commands i am using | |
| 24 | neutron net-create provider-108 --shared --provider:network_type vlan --shared --provider:physical_network physnet1 --provider:segmentation_id 108 | |
| 25 | ||
| 26 | ||
| 27 | neutron agent-list | |
| 28 | +--------------------------------------+--------------------+-----------------------------+-------+----------------+---------------------------+ | |
| 29 | | id | agent_type | host | alive | admin_state_up | binary | | |
| 30 | +--------------------------------------+--------------------+-----------------------------+-------+----------------+---------------------------+ | |
| 31 | | 4ad9693a-d17b-4f9a-989f-e960faa2dfd8 | Open vSwitch agent | vmHost1 | :-) | True | neutron-openvswitch-agent | | |
| 32 | | 7b519333-4aaf-4dce-a077-cea504475292 | DHCP agent | vmHost1 | :-) | True | neutron-dhcp-agent | | |
| 33 | | 85ac3545-147f-42f2-b851-092d3b69279b | DHCP agent | controller | :-) | True | neutron-dhcp-agent | | |
| 34 | | 8679b402-6108-4845-a4a3-aacca3c7ed95 | Metadata agent | controller | :-) | True | neutron-metadata-agent | | |
| 35 | | 9cad6fa2-e138-4219-a370-3b468495b11f | Metadata agent | vmHost1 | :-) | True | neutron-metadata-agent | | |
| 36 | | c23afa20-17e0-46da-8bb3-7086d23bfccd | Open vSwitch agent | controller | :-) | True | neutron-openvswitch-agent | | |
| 37 | +--------------------------------------+--------------------+-----------------------------+-------+----------------+---------------------------+ | |
| 38 | ||
| 39 | ovs-vsctl show | |
| 40 | ce28d7c3-5a05-4627-a9e6-a6c30ecae7fd | |
| 41 | Bridge br-ex | |
| 42 | Port "bond0" | |
| 43 | Interface "bond0" | |
| 44 | Port br-ex | |
| 45 | Interface br-ex | |
| 46 | type: internal | |
| 47 | Bridge br-int | |
| 48 | fail_mode: secure | |
| 49 | Port patch-tun | |
| 50 | Interface patch-tun | |
| 51 | type: patch | |
| 52 | options: {peer=patch-int}
| |
| 53 | Port br-int | |
| 54 | Interface br-int | |
| 55 | type: internal | |
| 56 | Bridge br-tun | |
| 57 | fail_mode: secure | |
| 58 | Port br-tun | |
| 59 | Interface br-tun | |
| 60 | type: internal | |
| 61 | Port patch-int | |
| 62 | Interface patch-int | |
| 63 | type: patch | |
| 64 | options: {peer=patch-tun}
| |
| 65 | Port "vxlan-0a01d06f" | |
| 66 | Interface "vxlan-0a01d06f" | |
| 67 | type: vxlan | |
| 68 | options: {df_default="true", in_key=flow, local_ip="10.1.208.102", out_key=flow, remote_ip="10.1.208.111"}
| |
| 69 | ovs_version: "2.3.1" |