7
quantum-plugin-openvswitch quantum-plugin-openvswitch-agent
9
# Configure connection to the database
10
-> store in sql_connection in plugins.
14
/etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini
17
tenant_network_type=gre
18
tunnel_id_ranges=1:1000
19
# only if node is running the agent
20
local_ip=$(unit-get private-address) # data network
22
service quantum-server restart
26
ovs-vsctl add-br br-int
28
# restart openvswitch plugin
35
ovs-vsctl add-br br-ex
36
ovs-vsctl add-port br-ex $(config-get external-port)
38
# Keystone - need to review keystone charm to see how this works.
40
keystone service-create --name quantum --type network --description 'OpenStack Networking Service'
41
keystone endpoint-create --region $REGION --service-id $ID --publicurl \
42
'http://$IP:9696/' --adminurl 'http://$IP:9696/' --internalurl 'http://$IP:9696/'
45
keystone user-create --name=quantum --pass=$SERVICE_PASSWORD --tenant-id service
46
keystone user-role-add --user_id 45e9461fa61e48f99de1adcd0b38eae7 --role_id e45af7cf33be4dac8070aa8310144ce3 \
47
--tenant_id 950fe8e5ed5f4659a8556ac836e8943d