Skip to content

Commit

Permalink
add_host: SDK call update
Browse files Browse the repository at this point in the history
The SDK has been updated and HE plugin must be updated as well.

See also: https://gerrit.ovirt.org/#/c/43470/

Change-Id: I008c7d7b87b358c55e0e85f81f9f55954246674c
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
  • Loading branch information
dougsland authored and sandrobonazzola committed Nov 19, 2015
1 parent bc692fb commit b616096
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/ovirt-hosted-engine-setup/engine/add_host.py
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ def _closeup(self):
ohostedcons.NetworkEnv.BRIDGE_NAME]
)
mgmt_network.set_vlan(
self._ovirtsdk_xml.params.VLAN(id=vlan_id)
self._ovirtsdk_xml.params.Vlan(id=vlan_id)
)
mgmt_network.update()

Expand All @@ -732,7 +732,7 @@ def _closeup(self):
address=socket.gethostname(),
reboot_after_installation=False,
cluster=cluster,
ssh=self._ovirtsdk_xml.params.SSH(
ssh=self._ovirtsdk_xml.params.Ssh(
authentication_method='publickey',
port=self.environment[
ohostedcons.NetworkEnv.SSHD_PORT
Expand Down

0 comments on commit b616096

Please sign in to comment.