Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
Commands asset-topology: in Karaf console take no arguments
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.
Environment
See https://mynms.opennms.com/Ticket/Display.html?id=5300
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.