[pve-devel] [RFC cluster 0/1, guest 0/1] common node address & ssh command

Wolfgang Bumiller w.bumiller at proxmox.com
Mon May 22 10:29:57 CEST 2017


This provides a way to get a node's address information as hash which
can be extended with extra options in the future, and adds a way to get
an ssh command base for this which takes care of adding the default
options such as BatchMode and HostKeyAlias.

Currently this still uses the mtunnel command over the regular network
via ssh but should in the future use a sane API client path for this.

Note that the AbstractMigrate's migrate() now doesn't need its IP
parameter anymore (added a FIXME comment since qemu-server and
pve-container need to be adapted when removing the parameter, I'll add
the appropriate patches once some version of this interface is merged).

Wolfgang Bumiller (1):
  add Cluster: node_address and node_address_to_ssh

 data/PVE/Cluster.pm | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)

-- 
2.11.0





More information about the pve-devel mailing list