vmware-archive / powernsx

PowerShell module that abstracts the VMware NSX-v API to a set of easily used PowerShell functions
173 stars 89 forks source link

LDR Password / SSH Options #472

Open kalenarndt opened 6 years ago

kalenarndt commented 6 years ago

Copied the settings and parameters from New-NSXEdge to the New-NSXLogicalRouter function.

The XML structure is the same and if a password isn't specified during deployment, console login will fail.

Password is set to a mandatory value so this might break deployments that don't specify one.

Documentation is wrong and says the password is required during the deployment but the DLR deploys with some magic default password if you don't set one.

alagoutte commented 6 years ago

Do you have run testsuite ? (specialty tests/integration/03.Logical.Router...)

Why make password mandatory ?

kalenarndt commented 6 years ago

I set the password to required because you can't login to the LDR via SSH or through the console since a password was never set. In order to fix this you have to modify the edge and set a password through the NSX UI.

I figured that since this is the one edge object that doesn't have a password parameter and it is required for the other objects, that it should line up to support that.

As far as the testsuite I haven't but I did just deploy the DLR via a script that set the password via my repo and tested login functionality.