Enhancements to the Cisco Plugin to support multiple switches and smart vlan assignment
Scope: A few enhancements to the Cisco Nexus plugin to support multiple switches and some intelligence in the plugin when trunking vlans on those switches.
Use Cases: Quantum with the Cisco plugin (nexus subplugin)
Implementation Overview: The plugin communicates with Nova api when an instance is networked during creation, grabs the host that the instance is running on. Cross references that host with a topology config that tells the plugin what port/switch that host is connected to and trunks it on that switch/port.
Data Model Changes: Two fields added to model NexusPortBinding
Configuration variables: nexus.ini config changed to-
[SWITCH]
# Ip address of the switch
[[172.18.112.37]]
# Hostname of the node
[[[asomya-
# Port this node is connected to on the nexus switch
ports=1/1
# Hostname of the node
[[[asomya-
# Port this node is connected to on the nexus switch
ports=1/2
# Port number where the SSH will be running at the Nexus Switch, e.g.: 22 (Default)
[[[ssh_port]]]
ssh_port=22
credentials.ini should include keystone credentials and endpoint-
# Provide credentials and endpoint
# for keystone here
[keystone]
auth_url=http://
username=admin
password=abcd
API's: n/a
Plugin Interface: n/a
Required Plugin support: The cisco plugin configuration should include the aforementioned values.
Dependencies: nova-api, keystone
CLI Requirements: n/a
Horizon Requirements: n/a
Usage Example: n/a
Test Cases: n/a
Blueprint information
- Status:
- Complete
- Approver:
- dan wendlandt
- Priority:
- Medium
- Drafter:
- Arvind Somya
- Direction:
- Needs approval
- Assignee:
- Arvind Somya
- Definition:
- New
- Series goal:
- Accepted for grizzly
- Implementation:
- Implemented
- Milestone target:
- 2013.1
- Started by
- Arvind Somya
- Completed by
- Arvind Somya
Related branches
Related bugs
Sprints
Whiteboard
moving to G-3, as there have been no responses on the review for a while, and G-2 merge deadline is today.
Gerrit topic: https:/
Addressed by: https:/
Adding multi switch support to the Cisco Nexus plugin