-
Notifications
You must be signed in to change notification settings - Fork 1
ComputeNodeNeutronNecPlugin
sudo aptitude install neutron-plugin-nec-agent
[DEFAULT]
core_plugin = neutron.plugins.nec.nec_plugin.NECPluginV2
rabbit_host = controller
rabbit_userid = guest
rabbit_password = RABBIT_PASS
- Set
firewall_driver
toOVSHybridIptablesFirewallDriver
.
[securitygroup]
# Firewall driver for realizing neutron security group function
firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
- There is no need to configure parameters in
[ofc]
section. -
Remove the following entry in
/etc/neutron/plugins/nec/nec.ini
.neutron.conf
already has the same entry.
root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
aptitude install make fakeroot dkms ¥
openvswitch-switch openvswitch-datapath-dkms linux-headers-`uname -r`
sudo service openvswitch-switch restart
Note: In theory, we need to install only openvswitch-switch
, but in my experience when I ran ovs-vsctl add-br-br-int
the command does not return immediately. An operation itself works and it seems better to specify --no-wait
option. On the other hand, if I install Open vSwitch kernel module, the command returns immediately even when --no-wait
option is specified. I am not sure why. This is the reason we install openvswitch-datapath-dkms here.
Create an integration bridge.
sudo ovs-vsctl --no-wait add-br br-int
Run the integration bridge as an OpenFlow switch. The default port number of OpenFlow controller channel (aka secure channel) is recently changed to 6653/tcp. IANA reserves 6653 for OpenFlow controller channel.
ovs-vsctl --no-wait set-fail-mode br-int secure
ovs-vsctl --no-wait set-controller br-int tcp:10.56.45.210:6653
Connect a physical interface. In the reference setup, eth1
of the network node is used for internal data network.
ovs-vsctl --no-wait add-port br-int eth1
Or you can connect network and compute nodes each other using GRE tunnels.
ovs-vsctl --no-wait add-port br-int gre0 -- set Interface gre0 type=gre options:remote_ip=10.56.45.216
service neutron-plugin-nec-agent restart