@macToolsWidget(MACADDRESS, [ATTRS])

Embed an NST Shell Console MAC Address Tools Widget.

The following parameters are recognized:

MACADDRESS

The MAC Address to initially populate the MAC Address Tools Widget with.

[ATTRS]

Allows one to pass optional attributes to the <macToolsWidget> entity.

This macro is used to Embed an NST Shell Console MAC Address Tools Widget into an NST WUI page.

Example of using the macro:

      @macToolsWidget("11:22:33:e4:5a:66")
    

Assuming the com.ccg.macros.at.All class is within your CLASSPATH and the config/html.at macros file has been generated (Hint: run make atmacros in the wui directory), a developer should be able to run the above example by copy/pasting from below:

[root@probe root]# java com.ccg.macros.at.All <<EOF
@include("config/html.at",,"d")

      @macToolsWidget("11:22:33:e4:5a:66")
    
EOF

This macro is defined as:

<span@htmlAttr("class","toolsWidgetMac")@htmlAttr("onmouseover","NstShell.MacWidget.showToolTip(this, event, '@param(0)')")@htmlAttr("onclick","NstShell.MacWidget.showMac('@param(0)');")@ifEqual("@param(1)",,,"@param(1)")>@param(0)</span>