Update VMWare import documentation regarding multiple parameters

Description

Regarding  https://wiki.opennms.org/wiki/Featurebranch/feature-vmware#Only_provisioning_a_subset_of_virtual_machines    :

If one needs to pass multiple parameters to import-url-resource, it is simple enough to do something like this:

import-url-resource="vmware://vmgmt.hl.ad/VCenterImport?importIPv4Only=True&importVMOnly=True&_NMS=Yes"

vmwarereqtool will happily eat that URL.

And a send-event pointing at the same URL will also succeed. Stuff getting imported.

 

But restarting opennms will fail, as xmllint will barf over the ampersands adding the two extra parameters.

 

Instead, one needs to write the URL like this:

import-url-resource="vmware://vmgmt.hl.ad/VCenterImport?_NMS=Yes%26importIPv4Only=true%26importVMOnly=true"

 

 

Environment

Redhat x86_64

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Mark Mahacek December 9, 2021 at 4:56 PM

Fixed

Details

Assignee

Reporter

Doc Backlog Status

Doc Backlog Grooming Date

Components

Sprint

Priority

PagerDuty

Created February 21, 2018 at 7:53 PM
Updated December 9, 2021 at 5:54 PM
Resolved December 9, 2021 at 5:54 PM

Flag notifications