Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-9889

Update VMWare import documentation regarding multiple parameters

    XMLWordPrintable

Details

    • Doc Sprint - Dec 4 - January 7
    • DB

    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"

       

       

      Attachments

        Issue Links

          Activity

            People

              mmahacek Mark Mahacek
              dag@bakke.com Dag Bakke (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: