Yaniv Bronhaim has submitted this change and it was merged.

Change subject: vdsm: allow hooks to pass down dictionaries in json format
......................................................................


vdsm: allow hooks to pass down dictionaries in json format

This will allow to pass, and recover network settings in the
*_network_setup hook as json dictionaries using the same
method that is used for XML. In this case the environment
variable _hook_json is used.

before_network_setup hook exposes the requested network
configuration that can be patched by the hook.
after_network_setup exposes the final system network
configuration.

Bug-Url: https://bugzilla.redhat.com/1058707
Change-Id: Ie07c511e9740fd19a1c27baf87e91f9a427d0dcd
Signed-off-by: Miguel Angel Ajo <[email protected]>
Reviewed-on: http://gerrit.ovirt.org/20330
Reviewed-by: Dan Kenigsberg <[email protected]>
Tested-by: Dan Kenigsberg <[email protected]>
Tested-by: Miguel Angel Ajo Pelayo <[email protected]>
Reviewed-on: http://gerrit.ovirt.org/23660
Reviewed-by: Yaniv Bronhaim <[email protected]>
---
M tests/functional/networkTests.py
M vdsm/configNetwork.py
M vdsm/hooks.py
M vdsm/vdsmd.8.in
4 files changed, 118 insertions(+), 20 deletions(-)

Approvals:
  Yaniv Bronhaim: Looks good to me, approved
  Dan Kenigsberg: Verified



-- 
To view, visit http://gerrit.ovirt.org/23660
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ie07c511e9740fd19a1c27baf87e91f9a427d0dcd
Gerrit-PatchSet: 5
Gerrit-Project: vdsm
Gerrit-Branch: ovirt-3.3
Gerrit-Owner: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Antoni Segura Puimedon <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Miguel Angel Ajo Pelayo <[email protected]>
Gerrit-Reviewer: Yaniv Bronhaim <[email protected]>
Gerrit-Reviewer: [email protected]
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to