heal_and_optimize flow retrieves a list of vifs using a method in util module. For SR-IOV agent, _find_vifs methid is invoked, it is common to CNA and VNIC objects. The vswitch_id is retrieved and validated, since vswitch_id is not present in VNIC object, getattr call fails. Since this method is common to both CNA and VNIC, a default return value of None should be included in the list of parameters. networking_powervm/plugins/ibm/agent/powervm/util.py _find_vifs method : Instead of getattr(vif, 'vswitch_id') getattr(vif, 'vswitch_id', None) should be used. Change-Id: Ifcbf0a9b9d5eb9a326c93cac675b19a2fefca75c Closes-Bug: #1691584
|6 years ago|
|devstack||6 years ago|
|doc/source||6 years ago|
|networking_powervm||6 years ago|
|specs||6 years ago|
|tools||6 years ago|
|.gitignore||7 years ago|
|.gitreview||7 years ago|
|.testr.conf||7 years ago|
|CONTRIBUTING.rst||7 years ago|
|HACKING.rst||7 years ago|
|LICENSE||8 years ago|
|README.rst||7 years ago|
|babel.cfg||7 years ago|
|openstack-common.conf||7 years ago|
|requirements.txt||6 years ago|
|setup.cfg||6 years ago|
|setup.py||6 years ago|
|sonar-project.properties||7 years ago|
|test-requirements.txt||6 years ago|
|tox.ini||6 years ago|
PowerVM Neutron ML2 Agent
The IBM PowerVM hypervisor provides virtualization on POWER hardware. PowerVM operators can see benefits in their environments by making use of OpenStack. This project implements a ML2 compatible agent that provides capability for PowerVM admins to natively use OpenStack Neutron. This agent is tied to the Shared Ethernet Adapter technology which is currently the typical scenario for PowerVM network virtualization.
This project provides a ML2 compatible agent for the PowerVM hypervisor. It is paired to the nova-powervm driver.
This PowerVM agent provides support for VLAN networks across Shared Ethernet Adapters. It provisions the VLANs on the Virtual I/O Servers (VIOS) to support the client workload, via the PowerVM REST API. The Nova component will set up the peer adapter as part of VIF plugging.
Only networks of physical type VLAN are supported.
- Deploy a VLAN to the specified Virtual I/O Server (or pair of servers) as deploys occur.
- Periodic heal of the systems (similar to Open vSwitch agent design).
- Periodic optimization (removal of unused VLANs from the Shared Ethernet Adapters) of the system.
- Heartbeat of the agent.
Data model impact
REST API impact
Other end user impact
None to end user.
No performance impact. Deploy operations should not be impacted by using this agent.
Other deployer impact
The operator needs to obtain the agent from the code repository. The cloud administrator needs to install the agent on both the Neutron controller as well as on the compute node.
The operator will then need to configure the bridge_mappings, to define in the CONF file how to map the physical networks to the adapters. No further configuration is required for the operator. If only one physical network exists (the default), and a single Shared Ethernet Adapter, no bridge_mapping configuration is required. The agent will assume the default network maps to that single Shared Ethernet Adapter (or single pair SEAs set up for redundancy).
Redundant Shared Ethernet Adapters (as defined by the PowerVM Redbook) are fully supported by this agent.
- Primary assignee:
- Other contributors:
wpward svenkat efried
- The Neutron ML2 Plugin.
- Utilizes the PowerVM REST API specification for management. Will utilize future versions of this specification as it becomes available: http://ibm.co/1lThV9R
- Builds on top of the pypowervm library. An open-source, python based library that interacts with the PowerVM REST API.
Since the tempest tests should be implementation agnostic, the existing tempest tests should be able to run against the PowerVM agent without issue.
Thorough unit tests exist within the agent that validate specific functions for this implementation.
A third party functional test environment has been created. It monitors incoming Neutron change sets. Once it detects a new change set, it should execute the existing lifecycle API tests. A non-gating vote (+1 or -1) will be provided with information provided (logs) based on the result.
Work continues in this area.
No changes (no new APIs)
- Neutron ML2 Plugin: https://wiki.openstack.org/wiki/Neutron/ML2
- PowerVM REST API Initial Specification (may require newer versions as they become available): http://ibm.co/1lThV9R
- PowerVM Virtualization Introduction and Configuration: http://www.redbooks.ibm.com/abstracts/sg247940.html
- PowerVM Best Practices: http://www.redbooks.ibm.com/abstracts/sg248062.html