1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
root@controller-network:/home/gavin# cat /etc/neutron/neutron.conf | egrep -v "^#|^$" [DEFAULT] state_path = /var/lib/neutron lock_path = $state_path/lock core_plugin = ml2 service_plugins = router,lbaas auth_strategy = keystone allow_overlapping_ips = True rpc_backend = neutron.openstack.common.rpc.impl_kombu rabbit_host = 10.1.1.5 notification_driver = neutron.openstack.common.notifier.rpc_notifier f5_loadbalancer_pool_scheduler_driver = neutron.services.loadbalancer.drivers.f5.agent_scheduler.TenantScheduler notify_nova_on_port_status_changes = True notify_nova_on_port_data_changes = True nova_url = http://10.1.1.5:8774/v2 nova_admin_username = nova nova_admin_tenant_id = f4c275fc67c2455fb02044bcba1230b9 nova_admin_password = service_pass nova_admin_auth_url = http://10.1.1.5:35357/v2.0 [quotas] [agent] root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf [keystone_authtoken] auth_host = 10.1.1.5 auth_port = 35357 auth_uri = http://10.1.1.5:5000 auth_protocol = http admin_tenant_name = service admin_user = neutron admin_password = service_pass signing_dir = $state_path/keystone-signing [database] connection = mysql://neutron:NEUTRON_DBPASS@10.1.1.5/neutron [service_providers] service_provider=LOADBALANCER:F5:neutron.services.loadbalancer.drivers.f5.plugin_driver.F5PluginDriver:default |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
root@controller-network:/home/gavin# cat /etc/neutron/plugins/ml2/ml2_conf.ini | egrep -v "^#|^$" [ml2] type_drivers = vxlan tenant_network_types = vxlan mechanism_drivers = openvswitch [ml2_type_flat] [ml2_type_vlan] [ml2_type_gre] tunnel_id_ranges = 1:1000 [ml2_type_vxlan] vni_ranges = 65537:69999 [ovs] local_ip = 10.1.1.5 tunnel_type = vxlan tunnel_bridge = br-tun integration_bridge = br-int tunnel_id_ranges = 65537:69999 tenant_network_type = vxlan enable_tunneling = true [agent] root_helper = sudo neutron-rootwrap /etc/neutron/rootwrap.conf tunnel_types = vxlan vxlan_udp_port = 4789 l2_population = False [securitygroup] enable_security_group = True firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
root@compute:/home/gavin# cat /etc/neutron/plugins/ml2/ml2_conf.ini | egrep -v "^#|^$" [ml2] type_drivers = vxlan tenant_network_types = vxlan mechanism_drivers = openvswitch [ml2_type_flat] [ml2_type_vlan] [ml2_type_gre] tunnel_id_ranges = 1:1000 [ml2_type_vxlan] vni_ranges = 65537:69999 [ovs] local_ip = 10.1.1.6 tunnel_type = vxlan tunnel_bridge = br-tun integration_bridge = br-int tunnel_id_ranges = 65537:69999 tenant_network_type = vxlan enable_tunneling = true [agent] root_helper = sudo neutron-rootwrap /etc/neutron/rootwrap.conf tunnel_types = vxlan vxlan_udp_port = 4789 l2_population = False [securitygroup] enable_security_group = True firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver |
如果把上面的ovs配置中的l2_population 设置为true,会导致vxlan隧道建立不起来,问题待研究。。。
F5 1.0.8 plugin:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
root@controller:/home/gavin# cat /etc/neutron/f5-bigip-lbaas-agent.ini | egrep -v "^#|^$" [DEFAULT] debug = True periodic_interval = 10 static_agent_configuration_data = f5-agent-1:145 f5_device_type = external f5_ha_type = standalone f5_sync_mode = replication f5_external_physical_mappings = default:1.1:False f5_vtep_folder = 'Common' f5_vtep_selfip_name = 'vtep' advertised_tunnel_types = vxlan l2_population = True f5_global_routed_mode = False use_namespaces = True max_namespaces_per_tenant = 1 f5_route_domain_strictness = False f5_snat_mode = True f5_snat_addresses_per_subnet = 1 f5_common_external_networks = True f5_bigip_lbaas_device_driver = neutron.services.loadbalancer.drivers.f5.bigip.icontrol_driver.iControlDriver icontrol_hostname = 10.1.1.145 icontrol_username = admin icontrol_password = admin icontrol_connection_retry_interval = 10 icontrol_connection_timeout = 10 icontrol_config_mode = objects |
文章评论