- Introduction
- Getting Started with Cisco Virtual Topology System
- Managing Local Users and Groups
- Monitoring Cisco VTS
- Managing Inventory
- Managing Resources
- Creating and Managing Admin Domains
- Managing Templates
- Managing Tenants
- Deploying Security Groups
- Provisioning Overlay Networks
- Viewing Overlay Details
- Administering Cisco VTS
- Service Extension Templates-Supported Configuration Examples
- Supported Underlay Configuration Examples
- OpenStack Configuration for SR-IOV Support
- collectd Plugin Configuration for VTC and VTF
- collectd Output JSON Examples
OpenStack
Configuration for SR-IOV Support
You need to follow RedHat OpenStack documentation for detailed instructions for SR-IOV configuration. The details given below may be referred to in addition to this.
-
In /etc/neutron/plugins/ml2/ml2_conf.ini file [ml2] tenant_network_types = vxlan, vlan # Add support for vlan, vxlan and flat type drivers type_drivers = vlan, vxlan, flat # Add support for sriov and vts mechanism drivers, in the following sequence mechanism_drivers = sriovnicswitch, cisco_vts
-
In /etc/neutron/plugins/ml2/ml2_conf.ini file [ml2_type_vlan] # Add all the physnet names that will be used on your compute hosts along with the VLAN ranges # reserved for the provider networks for those physnets network_vlan_ranges = physnet1:2000:2100, physnet2:2500:2600 # Note: network vlan range should be in between the range specified in VTS.
ml2_type_flat] # List of physical_network names with which flat networks can be created. # Use default '*' to allow flat networks with arbitrary physical_network names. flat_networks = *
- If your deployment has a
/etc/neutron/plugins/ml2/ml2_conf_sriov.ini file, include the following section
in your ml2_conf_sriov.ini file.
[ml2_sriov] # The default supported_pci_vendor_devs value for the installation may have the value only for the PFs # in your compute. Use lspci —nn | grep Ethernet to find the ids for the Virtual functions and add that # as well in this. supported_pci_vendor_devs = 8086:10fb,8086:10ed agent_required = True
Update ExecStart section in the file /usr/lib/systemd/system/neutron-server.service to include ml2_conf_sriov.ini config file ExecStart=/usr/bin/neutron-server --config-file /usr/share/neutron/neutron-dist.conf --config-dir /usr/share/neutron/server --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugin.ini —config-file /etc/neutron/plugins/ml2/ml2_conf_sriov.ini --config-dir /etc/neutron/conf.d/common --config-dir /etc/neutron/conf.d/neutron-server --log-file /var/log/neutron/server.lo
- If the ml2_conf_sriov.inif file is not present, then add the ml2_sriov section to /etc/neutron/plugins/ml2/ml2_conf.ini file.
- Restart neutron service using "systemctl restart neutron-server.service"
pci_passthrough_whitelist = [ {"devname": “eth4", "physical_network":"physnet1"}, {"devname": “eth5", "physical_network":"physnet2"}]
For multiple SR-IOV nics , there should be a mapping entry per physnet/NIC card
Enable the OpenStack Networking SR-IOV agent
If not present already as part of the OSPD/Packstack installation (check the neutron agent-list on your director/controller node), then you will need to install "openstack-neutron-sriov-nic-agent" on your compute hosts and start that agent/service. After you have installed, follow RedHat documentation. It is important to have the "physical_device_mappings section" in the /etc/neutron/plugins/ml2/sriov_agent.ini file. You can leave the exclude_devices section blank.
Then proceed to create the SR-IOV port instances.
Sample for SR-IOV Trunk (No-Bonding)
This section provides an example for enabling SR-IOV trunk (no-bonding).
Sample for SR-IOV Trunk (Bonding)
This section provides an example for enabling SR-IOV trunk (bonding).

Feedback