To activate the interface, the
msprsmd_conn_send_floating_ip() function (in file
jnx-msprsmd_conn.c) establishes a libconn client connection to the instance of
mspmand on the ifl interface.
This function is called from
msprsmd_kcom_activate_if() in the file
jnx-msprsmd_kcom.c. It then sends an "add ifa" request and closes the connection. (All instances of mspmand use the same hard coded port number.)
msprsmd_kcom_activate_if() then calls
msprsmd_ssd_add_route() to set the route to the ifl's next hop.
To deactivate the interface,
msprsmd_kcom_deactivate_if(), also in
msprsmd_ssd_del_route() (in file
jnx-msprsmd_ssd.c) to delete the route to the ifl nexthop.
PIC Switchover Logic in the Message Handler
© 2007-2009 Juniper Networks, Inc. All rights reserved. The information contained herein is confidential information of Juniper Networks, Inc., and may not be used, disclosed, distributed, modified, or copied without the prior written consent of Juniper Networks, Inc. in an express license. This information is subject to change by Juniper Networks, Inc. Juniper Networks, the Juniper Networks logo, and JUNOS are registered trademarks of Juniper Networks, Inc. in the United States and other countries. All other trademarks, service marks, registered trademarks, or registered service marks are the property of their respective owners.
Generated on Sun May 30 20:26:47 2010 for Juniper Networks Partner Solution Development Platform JUNOS SDK 10.2R1 by Doxygen 1.4.5