Wei Zhang
f3d0978c3f
persist: improve readability
...
Address some comments for code readability, also add some unit tests.
Signed-off-by: Wei Zhang <weizhang555.zw@gmail.com >
2019-07-23 17:10:00 +08:00
Wei Zhang
3bfbbd666d
persist: merge "network.json"
...
Merge "network.json" into "persist.json" so that new store can manage
network part.
Signed-off-by: Wei Zhang <weizhang555.zw@gmail.com >
2019-07-23 17:10:00 +08:00
Archana Shinde
0acbbf0651
network: Add support for ipvlan
...
Support ipvlan interfaces by setting up tc redirect rules.
Fixes #591
Signed-off-by: Archana Shinde <archana.m.shinde@intel.com >
2018-10-25 18:58:48 -07:00
Ruidong Cao
6935279beb
network: add new NetInterworkingModel "none" and endpoint type TapEndpoint
...
This model is for not creating a new net ns for VM and directly
creating taps in the host net ns.
Signed-off-by: Ruidong Cao <caoruidong@huawei.com >
2018-10-22 21:06:58 +08:00
Ruidong Cao
f8f29622a4
virtcontainers: refactor hotplug qmp functions
...
Refactor these functions so differernt types of endpoints can use a unified
function to hotplug nics.
Fixes #731
Signed-off-by: Ruidong Cao <caoruidong@huawei.com >
2018-10-22 21:06:56 +08:00
Archana Shinde
3c590b0e2c
network: Rename VirtualEndpoint to VethEndpoint
...
As this really represents a veth pair rather than a generic
virtual interface, rename VirtualEndpoint to VethEndpoint.
Signed-off-by: Archana Shinde <archana.m.shinde@intel.com >
2018-10-11 14:45:57 -07:00
Archana Shinde
adcd9106f9
network: Refactor network.go
...
Split endpoint implementations into their own file.
Fixes #799
Signed-off-by: Archana Shinde <archana.m.shinde@intel.com >
2018-10-11 14:45:55 -07:00