Skip to content

0.7.0

Compare
Choose a tag to compare
@ryanmoran ryanmoran released this 01 Nov 21:52

Two more awesome features now added to om:

  • om curl
  • om configure-product

om curl

This command can be invoked as follows:

$ om --target https://opsman.example.com \
     --username "some-username" \
     --password "some-password" \
     curl \
       --path /api/v0/disk_types \
       --request PUT \
       --data '{ "disk_types": [ { "size_mb": 999 } ] }'

om configure-product

This command can be invoked as follows:

$ om --target https://opsman.example.com \
     --username "some-username" \
     --password "some-password" \
    configure-product \
       --product-name cf \
       --product-properties '{ ".ha_proxy.skip_cert_verify": { "value": true } }'

The JSON payload provided to the product properties argument should match the values passed to the API for OpsManager.

Note: configure-product does not have support for configuring networks or resource configuration. Those features will be coming in a future release.