com.foxsmart.csu.example
Class UpdateStaticRoute

java.lang.Object
  extended by com.foxsmart.csu.example.UpdateStaticRoute

public class UpdateStaticRoute
extends java.lang.Object

The UpdateStaticRoute program add/updates/deletes a static route (i.e. the ip route command). If more than one route is associated with the destination prefix and mask, then no action will be taken.


Field Summary
static java.lang.String DELETE
           
static java.lang.String DEST_MASK
           
static java.lang.String DEST_PREFIX
           
static java.lang.String DISTANCE
           
protected static org.apache.commons.logging.Log log
           
static java.lang.String NEXT_HOP_ADDRESS
           
static java.lang.String NEXT_HOP_INTERFACE
           
static java.lang.String PERMANENT
           
 
Constructor Summary
UpdateStaticRoute()
           
 
Method Summary
static void main(java.lang.String[] args)
          Invoke the application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.commons.logging.Log log

DEST_PREFIX

public static final java.lang.String DEST_PREFIX
See Also:
Constant Field Values

DEST_MASK

public static final java.lang.String DEST_MASK
See Also:
Constant Field Values

NEXT_HOP_INTERFACE

public static final java.lang.String NEXT_HOP_INTERFACE
See Also:
Constant Field Values

NEXT_HOP_ADDRESS

public static final java.lang.String NEXT_HOP_ADDRESS
See Also:
Constant Field Values

DISTANCE

public static final java.lang.String DISTANCE
See Also:
Constant Field Values

PERMANENT

public static final java.lang.String PERMANENT
See Also:
Constant Field Values

DELETE

public static final java.lang.String DELETE
See Also:
Constant Field Values
Constructor Detail

UpdateStaticRoute

public UpdateStaticRoute()
Method Detail

main

public static void main(java.lang.String[] args)
Invoke the application.

Parameters:
args - the arguments.


Copyright © 2005-2008 Fox Smart, Inc. All Rights Reserved.