beautypg.com

Reboot, Replace – Echelon OpenLNS User Manual

Page 809

background image

OpenLNS Programmer's Reference

772

PostMove method to move a router while in engineered mode.
See the PostMove method for more information on the steps

required to move a router.

Availability

Local, full, and lightweight clients.

Syntax

routerObject.

PreMove

newNearChannel, newFarChannel

Element

Description

routerObject

The router to be moved from channel to

channel.

newNearChannel

The new near side channel for the

router.

newFarChannel

The new far side channel for the router.

Added to API

Prior to LNS Release 3.0.

Reboot

Summary

You can use this method to reboot a router.
Rebooting a router may destroy its communication

parameters or otherwise make the router unrecoverable. The

result of rebooting a router depends on the firmware state

and reboot options specified at the time of manufacture.

Availability

Local, full, and lightweight clients.

Syntax

object.Reboot

Element

Description

object

The

Router

object to be rebooted.

Added to API

Prior to LNS Release 3.0.

Replace

Summary

Replaces one router with another. This method is typically

used to effect repair operations. The new router receives the

same network address and routing configuration as the old

router.
To automatically load the old router’s configuration into the

new router, use the ReplaceEx method. The ReplaceEx

method performs the same function as the Replace method;

however, it provides options you can use to determine how

the configuration on the old router will be managed during

the replacement.
To specify the new router

, you only need to set the

NeuronId

property of the

RouterSide

object that corresponds to the near

side of the new router

.

When the replace method is complete, a new router router is

placed in the online state (lcaCnfgOnline).
Note: Do not read or write the State property of the router in