Adds a network route to a SIS RA entity.
The SIS RA entity to manage to is specified by the enclosing
sis-management
element.
For example:
<sis-management
raentity="foo">
<addnetworkroute type="IN" rule="type=c7,ri=pcssn,pc=2,ssn=161" interface="external"/>
</sis-management>
This task invokes the
NetworkInterfaceManagementMBean.addRoute(NetworkInterfaceType, String, String, int)
management operation.
Ant Parameters
Attribute |
Description |
Required |
type |
The type of network interface. Must be one of the possible NetworkInterfaceType values (case-insensitive): IN or SIP. |
Yes. |
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 . |