[Kimchi-devel] [PATCH v3] [Kimchi 0/3] Implementing 'Passthrough' virtual network type
dhbarboza82 at gmail.com
dhbarboza82 at gmail.com
Thu May 19 15:31:05 UTC 2016
From: Daniel Henrique Barboza <danielhb at linux.vnet.ibm.com>
v3:
- overhaul. Implemented as a new network type instead of
a variation of the 'macvtap' type.
- passthrough networks now accepts multiple interfaces
like VEPA does
v2:
- used interface now being displayed in UI and backend
- fixed an issue where the newly created network would
appear as 'passthrough' in the UI until a page refresh
This patch set adds a new network type called 'passthrough' to
Kimchi. Docs, model, test and UI changes included.
This is how it works in action using curl:
$ curl -k -u root -H "Content-Type: application/json" -H "Accept: application/json" -X POST 'https://localhost:10001/plugins/kimchi/networks' -d'{"name":"danielhb_passthrough", "connection":"passthrough", "interfaces":["enP2p1s0","enP2p1s1f2"]}'
Enter host password for user 'root':
{
"subnet":"",
"connection":"passthrough",
"state":"inactive",
"name":"danielhb_passthrough",
"autostart":true,
"in_use":false,
"dhcp":{
"start":"",
"end":""
},
"interfaces":[
"enP2p1s0",
"enP2p1s1f2"
],
"vms":[],
"persistent":true
}
Daniel Henrique Barboza (3):
Passthrough macvtap network support: doc changes
Passthrough macvtap network support: model and test changes
Passthrough macvtap network support: UI changes
API.json | 2 +-
docs/API.md | 8 +++++++
i18n.py | 2 +-
model/networks.py | 15 +++++++------
tests/test_networkxml.py | 42 ++++++++++++++++++++++++++++++++++++
ui/js/src/kimchi.network.js | 1 +
ui/js/src/kimchi.network_add_main.js | 23 +++++++++++++-------
ui/pages/network-add.html.tmpl | 1 +
xmlutils/network.py | 2 +-
9 files changed, 79 insertions(+), 17 deletions(-)
--
2.5.5
More information about the Kimchi-devel
mailing list