Ryan Barry has uploaded a new change for review. Change subject: [ovirt-node-registration] Add all parameters available ......................................................................
[ovirt-node-registration] Add all parameters available Update ovirt-node-registration json to make every parameter in the registration service available for calling Change-Id: Idb820d485b47422e5c33171a9d20c5b044eac774 Signed-off-by: Ryan Barry <[email protected]> --- M registration/example.json 1 file changed, 8 insertions(+), 6 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/20/28920/1 diff --git a/registration/example.json b/registration/example.json index 730850f..fdbe1c1 100644 --- a/registration/example.json +++ b/registration/example.json @@ -6,7 +6,7 @@ "action": "get", "parameters": { "host": "engine.example.com", - "url": "http://{host}/url?cmd=get-ca-roots", + "url": "http://{host}/ovirt-engine/services/host-register?version=1&cmd=get-pki-trust", "filename": "/etc/pki/ovirt-engine.key" } }, @@ -29,7 +29,7 @@ "action": "get", "parameters": { "host": "engine.example.com", - "url": "http://{host}/url?=cmd=get-sshkey&type=manager", + "url": "http://{host}/ovirt-engine/services/host-register?version=1&cmd=get-ssh-trust", "filename": "/tmp/ovirt-engine.key" } }, @@ -52,11 +52,13 @@ "action": "get", "parameters": { "host": "engine.example.com", - "url": "http://{host}/url?cmd=register&name={name}&ip={ip}&sshkeyfingerprint={fingerprint}&user={user}", + "url": "http://{host}/ovirt-engine/services/host-register?version=1&cmd=register&name={name}&address={address}&uniqueId={uniqueId}&vdsPort={vdsPort}&sshUser={sshUser}&sshPort={sshPort}", "name": "node.example.com", - "ip": "10.0.0.1", - "fingerprint": "DE:AD:BE:EF", - "user": "admin" + "address": "10.0.0.1", + "vdsPort": "54321", + "sshUser": "admin", + "sshPort": "22", + "uniqueId": "DEADBEEF-UUID-1234-5678-09DEADBEEF00", } } ] -- To view, visit http://gerrit.ovirt.org/28920 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Idb820d485b47422e5c33171a9d20c5b044eac774 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-node Gerrit-Branch: master Gerrit-Owner: Ryan Barry <[email protected]> _______________________________________________ node-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/node-patches
