get_mappings for machanism drivers return back different dicts for
different mechanism drivers. By adding get_standard_device_mappings
method SRIOV and OVS mechanism drivers can return a mapping dict in a
form like this one:
{'physnet_name': ['device_or_bridge_1', 'device_or_bridge_2']}
Change-Id: Ieddd9b3a4f3d7269aafc373f040c55b025f5c201
Related-Bug: #1578989
8 lines
302 B
YAML
8 lines
302 B
YAML
---
|
|
features:
|
|
- |
|
|
Add get_standard_device_mappings to SriovNicSwitchMechanismDriver and
|
|
OpenvswitchMechanismDriver so they can return the interface or bridge
|
|
mappings in a standard way. The common format is a dict like:
|
|
{'physnet_name': ['device_or_bridge_1', 'device_or_bridge_2']}.
|