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

Commands asset-topology: in Karaf console take no arguments

    XMLWordPrintable

Details

    • Horizon - Feb 1st 2018, Horizon - Feb 7th 2018

    Description

      The Karaf shell commands for configuring asset topologies do not take arguments, despite being documented to take some in the Admin Guide.

        OpenNMS (21.0.2) on Apache Karaf (4.1.2)
      
      Hit '<tab>' for a list of available commands
      and '[cmd] --help' for help on a specific command.
      Hit '<ctrl-d>' to exit this console.
      
      admin@opennms()> asset-topology:create -a asset-city,asset-address1
      Error executing command asset-topology:create: undefined option -a
      Try <command> --help' for more information.
      admin@opennms()> asset-topology:create --assetLayers asset-city,asset-address1                                                                                  
      Error executing command asset-topology:create: undefined option --assetLayers
      Try <command> --help' for more information.
      admin@opennms()> asset-topology:create --assetLayers=asset-city,asset-address1                                                                                  
      Error executing command asset-topology:create: undefined option --assetLayers=asset-city,asset-address1
      Try <command> --help' for more information.
      admin@opennms()> asset-topology:create --help
      DESCRIPTION
              asset-topology:create
      
          Creates Asset Topology. Uses default config if options are not supplied.
      
      SYNTAX
              asset-topology:create
      
      

      The event-based mechanism for configuring these topologies does work as documented in the same release.

      Attachments

        Activity

          People

            j-white Jesse White
            jeffg Jeff Gehlbach
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: