Improved implementation of MAC-setting KVM pre-deploy and post-undeploy ...

...hooks (OMS-524)