Dameon Welch Abernathy

How to Query Global Properties via CLI

Discussion created by Dameon Welch Abernathy Employee on Jun 22, 2017

There are two ways to achieve this:

 

  • Get the UID of the Firewall Properties table
    • mgmt_cli show-generic-objects name "firewall_properties" -r true

      objects:

      - uid: "42b7d2e2-4131-4c7c-8a99-ea3af38509e9"

        name: "firewall_properties"

        type: "CpmiFirewallProperties"

        domain:

          uid: "41e821a0-3720-11e3-aa6e-0800200c9fde"

          name: "SMC User"

          domain-type: "domain"

      from: 1

      to: 1

      total: 1

    • Print the details of the object by UID:
      • mgmt_cli show generic-object uid "42b7d2e2-4131-4c7c-8a99-ea3af38509e9" -r true -f json

 

In the future, we plan to have formal API support for querying and setting the various Global Property settings.

Outcomes