network# pkg install neutron
network# su - neutron \ -c "ssh-keygen -N '' -f /var/lib/neutron/.ssh/id_rsa -t rsa" network# su - neutron \ -c "ssh-keygen -N '' -f /var/lib/neutron/.ssh/id_rsa -t rsa"
Combine the SSH public keys previously created from the Controller and Compute nodes with these two new keys and concatenate the combination to the authorized keys file for evsuser.
network# cat \ /path-to-neutron@controller/id_rsa.pub \ /path-to-root@compute1/id_rsa.pub \ /var/lib/neutron/.ssh/id_rsa.pub \ /var/user/evsuser/.ssh/id_rsa.pub \ >> /var/user/evsuser/.ssh/authorized_keys
Refer to Figure 3–2 for an overview of the distribution of the evsuser's SSH public key in the context of the overall cloud configuration.
Use the ssh command to connect to the EVS controller, and answer yes when prompted for each connection. Perform this step on each node in the OpenStack architecture.
controller# su - neutron -c "ssh evsuser@network-name whoami" compute1# su - root -c "ssh evsuser@network-name whoami" network# su - neutron -c "ssh evsuser@network-name whoami" network# su - root -c "ssh evsuser@network-name whoami"
network# pkg install rad-evs-controller
network# svcadm restart rad:local
Decide whether the virtual network on which the Nova instances will communicate is a VLAN or a VXLAN. The example below performs the following VLAN configuration:
A VLAN with an ID of 13 is configured for an external network that is used to connect outside the cloud.
The VLAN ID range of 1000-2000 is configured for subnets created by EVS.
network# evsadm set-prop -p controller=ssh://evsuser@network-name network# evsadm network# evsadm set-controlprop -p l2-type=vlan network# evsadm set-controlprop -p uplink-port=net1 network# evsadm set-controlprop -p vlan-range=13,1000-2000
Uncomment and set the following parameters in the /etc/neutron/neutron.conf file. These parameters specify additional Keystone authentication service endpoints, the Glance API service, the Neutron API service, the RabbitMQ service, and the database URI for the database specific to Neutron.
[keystone_authtoken] signing_dir = /var/lib/neutron/keystone-signing auth_host = 127.0.0.1 auth_port = 35357 auth_protocol = http auth_uri = http://controller-IP:5000/v2.0 admin_tenant_name = service admin_user = neutron admin_password = neutron-password identity_uri = http://controller-IP:35357 . [DEFAULT] core_plugin = neutron.plugins.evs.plugin.EVSNeutronPluginV2 allow_overlapping_ips = False quotas] quota_driver = neutron.plugins.evs.db.quotas_db.EVSDbQuotaDriver
Uncomment and set the following parameter in the /etc/neutron/dhcp_agent.ini file to specify the location of the EVS controller.
evs_controller = ssh://evsuser@network-name
In the /etc/neutron/dhcp_agent.ini file, uncomment and set the dhcp_domain parameter to the default domain to use to resolve DNS requests by Nova instances.
network# svcadm enable neutron-dhcp-agent
This step is optional but strongly recommended.