发起问题

Revision history [back]

click to hide/show revision 1
初始版本
 [root@control ~]# grep '^[a-z,\[]' /etc/neutron/neutron.conf
[DEFAULT]
verbose = True
state_path = /var/lib/neutron
lock_path = $state_path/lock
use_syslog = True
syslog_log_facility = LOG_LOCAL4
bind_host = 0.0.0.0
bind_port = 9696
core_plugin = ml2
service_plugins = router
auth_strategy = keystone
base_mac = fa:16:3e:00:00:00
mac_generation_retries = 32
dhcp_lease_duration = 120
dhcp_agent_notification = True
allow_bulk = True
allow_pagination = False
allow_sorting = False
allow_overlapping_ips = True
agent_down_time = 15
router_scheduler_driver = neutron.scheduler.l3_agent_scheduler.ChanceScheduler
dhcp_agents_per_network = 1
api_workers = 4
rpc_workers = 4
use_ssl = False
notify_nova_on_port_status_changes = True
notify_nova_on_port_data_changes = True
nova_url = http://10.0.2.5:8774/v2
nova_region_name = regionOne
nova_admin_username = nova
nova_admin_tenant_id = 7ceda42e1fc54b64809b23b24c7a488a
nova_admin_password = aptech3#
nova_admin_auth_url = http://10.0.2.5:35357/v2.0
send_events_interval = 2
kombu_reconnect_delay=5.0
rabbit_host=10.0.2.5
rabbit_port=5672
rabbit_hosts=$rabbit_host:$rabbit_port
rabbit_use_ssl=false
rabbit_userid=guest
rabbit_password=Abcd=1234
rabbit_virtual_host=/
rpc_backend=neutron.openstack.common.rpc.impl_kombu
[matchmaker_redis]
[matchmaker_ring]
[quotas]
[agent]
root_helper = sudo neutron-rootwrap /etc/neutron/rootwrap.conf
report_interval = 5
[keystone_authtoken]
auth_uri = http://10.0.2.5:5000/v2.0
identity_uri = http://10.0.2.5:35357
admin_tenant_name = service
admin_user = neutron
admin_password = aptech3#
[database]
connection = mysql://neutron:Abcd=1234@10.0.2.5:3306/neutron
max_retries = -1
retry_interval = 2
idle_timeout = 3600
[service_providers]
service_provider=VPN:openswan:neutron.services.vpn.service_drivers.ipsec.IPsecVPNDriver:default

[root@control ~]# grep '^[a-z,\[]' /etc/neutron/plugins/ml2/ml2_conf.ini
[ml2]
type_drivers = flat,vlan
tenant_network_types = vlan
mechanism_drivers = openvswitch
[ml2_type_flat]
flat_networks = *
[ml2_type_vlan]
network_vlan_ranges = default:1:4094
[ml2_type_gre]
[ml2_type_vxlan]
[securitygroup]
enable_security_group = True



[root@control ~]# grep '^[a-z,\[]' /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini 
[ovs]
type_drivers = vlan
tenant_network_types = vlan
mechanis_drivers = openvswitch
network_vlan_ranges = default:1:4094
enable_tunneling = False
integration_bridge=br-int
bridge_mappings = default:br-eth2
[agent]
polling_interval = 2
l2_population = False
arp_responder = False
[securitygroup]
enable_security_group = True
network_vlan_ranges = default:1:4094




[root@control ~]# ovs-vsctl  show
949c3755-a159-4732-8426-5b6346cb33f1
    Bridge "br-eth2"
        Port "br-eth2"
            Interface "br-eth2"
                type: internal
        Port "enp1s0f1"
            Interface "enp1s0f1"
    Bridge br-int
        fail_mode: secure
        Port br-int
            Interface br-int
                type: internal
        Port "tapa6ff23a4-43"
            tag: 4095
            Interface "tapa6ff23a4-43"
                type: internal
        Port "tap4ec99165-67"
            tag: 4095
            Interface "tap4ec99165-67"
                type: internal
        Port "tapd5d52b3f-b6"
            tag: 4095
            Interface "tapd5d52b3f-b6"
                type: internal
    Bridge hehe
        Port hehe
            Interface hehe
                type: internal
    ovs_version: "2.3.1"