Validate – Echelon OpenLNS User Manual
Page 559
OpenLNS Programmer's Reference
522
to use the NSD information which was previously associated
with a remote client running on another computer (effectively
moving the remote application and NSD configuration from
one computer to another). An exception to this is if the
original remote client used a layer 5 network interface, and
you move the network interface to the new computer as well.
In this case, OpenLNS will automatically associate the NSD
in the database with the client based on the layer 5 network
interface’s neuron ID.
You will also need to follow the procedure described below to
reattach an NSD to a network if the network has been
removed from the
computer, and you are using a Layer 2 network interface (or
if you install a new network interface on the computer). In
all other scenarios (e.g. when operating as a Local client and
upgrading the computer or network interface card, or when
moving a layer 5 network interface card from one computer
to another) you will not need to perform this procedure.
To re-associate a client with the correct network service
device and re-attach the client to the network, follow these
steps:
1. Get the network service device to be attached to from the
NetworkServiceDevices collection.
2. Call the PreReplace method with the selected network
service device as an argument.
3. Close the network and release all references to the
network.
4. Get the network and call the Network object's Replace
method.
5. Call the Network object's Open method to open the
network with all previously created monitor sets present.
Availability
Full clients.
Syntax
networkObject.Replace
Element
Description
Added to API
LNS Release 3.0.
Validate
Summary
Initiates a database validation on a network. When you
invoke this method, OpenLNS will perform a consistency
check on the network database, and report any
inconsistencies or errors it finds. Inconsistencies that may be
discovered during the database validation include orphan
objects (objects that cannot be accessed through their parent
object), broken interfaces, or duplicate objects.