Closed Crazykev closed 7 years ago
@laijs @feiskyer I've re-implement this with hyperstart-exec you mentioned before, and added a sync wrapper to hyperstart-exec, hope I'm not using it in a wrong way. If this is ok, I'll remove those useless code in hyperstart and re-vendor to hyperd.
@laijs Others have fixed.
Get/ApplyIPVSService api should in hyperd, it is not suitable for runv.
@gao-feng
it is not suitable for runv.
Agreed with you, I leave it here just because I'm not sure whether we should expose hyperstart-exec to hyperd, if it's fine, I will open a new pr to make this method public and move Get/ApplyIPVSService api to hyperd.
close this since implement have been move to #413 and https://github.com/hyperhq/hyperd/pull/494
this PR is IPVS service workflow in runv.
Add two APIs to get and apply IPVS service from/to vm. When applying ipvs patch failed, will restore to original one.
Signed-off-by: Crazykev crazykev@zju.edu.cn