Class AddDefaultNetworkRouteTask


  • public class AddDefaultNetworkRouteTask
    extends SISSubTask
    Adds a default network route to a SIS RA entity. At most one default route per network interface type can be specified at any one time. The SIS RA entity to manage to is specified by the enclosing SISManagementTask element. For example:
     <sis-in-management raentity="foo">
       <adddefaultnetworkroute interface="external"/>
     </sis-in-management>
     
    This task invokes the NetworkInterfaceManagementMBean.addDefaultRoute(String) management operation.

    Ant Parameters

    Attribute Description Required
    interface The name of the network interface to be used for the default route. Yes.
    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

      • AddDefaultNetworkRouteTask

        public AddDefaultNetworkRouteTask()
    • Method Detail

      • setInterface

        public void setInterface​(String interfaceName)