Class AddNetworkRouteTask

  • public class AddNetworkRouteTask
    extends SISSubTask
    Adds a network route to a SIS RA entity. The SIS RA entity to manage to is specified by the enclosing SISManagementTask element. For example:
     <sis-in-management raentity="foo">
       <addnetworkroute rule="type=c7,ri=pcssn,pc=2,ssn=161" interface="external"/>
    This task invokes the NetworkInterfaceManagementMBean.addRoute(String, String, int) management operation.

    Ant Parameters

    Attribute Description Required
    rule The rule to match for this route to be selected. Yes.
    interface The name of the network interface to be used if this route is selected. Yes.
    position The position in the current route list in which to add this new one.
    • Values less than zero will be treated as zero, ie. insert at the beginning of the list.
    • Values greater than the current number of routes will be treated as equal to the current number of routes, ie. insert at the end of the list.
    No. Default is to add to the end of the list.
    failonerror Default failure case behaviour for this task. If set to 'false' or 'no', the build will continue when this task attempts a redundant action. No. Default is inherited from the enclosing SISManagementTask.
    • Constructor Detail

      • AddNetworkRouteTask

        public AddNetworkRouteTask()
    • Method Detail

      • setRule

        public void setRule​(String rule)
      • setInterface

        public void setInterface​(String interfaceName)
      • setPosition

        public void setPosition​(int pos)