OpenLaszlo and REST
Subscribe

From OpenNMS

Jump to: navigation, search

Contents

What are REST and OpenLaszlo?

REST is an acronym for “representational state transfer”. It is a way in a stateless manner to represent resources by URLs. OpenLaszlo in OpenNMS usage of it is the LZX language. LZX, as described in Wikipedia, "is an XML and JavaScript description language similar in spirit to XUL, MXML, and XAML. LZX enables a declarative, text-based development process that supports rapid prototyping and software development best practices. It is designed to be familiar to traditional web application developers who are familiar with HTML and Javascript."

Documentation on OpenNMS's RESTful Interfaces

OpenNMS OpenLaszlo components

Node components

NodeSelect

This component allows you to select a single node from the complete list of nodes in OpenNMS's database. It is a scrollable list with a single button to complete your selection.

MultiNodeSelect

This is the typical list of nodes in one pane, and an empty pane to the right. As nodes are highlighted, with either a single select or multi-select they can be added to the righthand pane with a button. On completion a submit button is pressed.

FilteredNodeSelect

Similar to the MultiNodeSelect but it allows you to filter the lefthand pane with a set of criteria such as iplike.

IP Interface components

IpIntSelect

This can be either limited to a single node's list of IP interfaces or all IP interfaces. Otherwise the behavior is identical to the NodeSelect.

MultiIpIntSelect

FilteredIpIntSelect

NodeIpIntTree

SNMP Interface components

SnmpIntSelect

MultiSnmpIntSelect

FilteredSnmpIntSelect

NodeSnmpIntTree