Add a Karaf command to display node data

Description

It would be convenient to have a command that looks up nodes by the various node criteria (ip address, nodelabel, nodeid, etc) as command options (e.g. --ipaddress, --nodelabel) and returns matching node data, to enable a workflow similar to:

1) look up node data via karaf command

2) plug the returned node info into opennms:collect, opennms:poll, opennms:show-measurements and friends.

3) profit

This removed the context-switch of  having to look up the nodeid from the WebUI.

opennms:filter can be leveraged this way, but also requires knowledge of the filter dialect and filterable fields.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Details

Assignee

Reporter

Labels

HB Grooming Date

HB Backlog Status

Components

Sprint

Affects versions

Priority

PagerDuty

Created December 29, 2021 at 2:50 PM
Updated February 16, 2022 at 3:36 PM