plugins do not comply with quantum_plugin_interface
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
From quantum_
:returns: a sequence of mappings with the following signature:
Plugins return a 'net-ports' attribute instead of net-ifaces.
The net-ports sequence describes id, state, and attachment for each port, where as the net-ifaces attribute requires a list of interface identifiers.
Quite interestingly, all the plugins behave in the same way.
Possible fixes:
1) Change the plugins to fulfill the spec of QuantumPluginBase
2) Change QuantumPluginBase and accept the current implementation in the plugins as "de facto" standard.
Fixing this bug is a prerequisite for Bug #834012. Targeting diablo-RBP for this reason.
Related branches
- dan wendlandt: Needs Fixing
-
Diff: 78 lines (+19/-16)3 files modifiedquantum/api/networks.py (+10/-7)
quantum/api/views/networks.py (+3/-3)
quantum/plugins/SamplePlugin.py (+6/-6)
Changed in quantum: | |
milestone: | none → diablo-rbp |
importance: | Undecided → Medium |
Changed in quantum: | |
status: | New → In Progress |
assignee: | nobody → Salvatore Orlando (salvatore-orlando) |
Untargeting bug as it deserves discussion and clarification.