To remove a network interface definition, use the following sis-console command, Ant task, or related MBean operation.

Console command

removenetworkinterface

Command

removenetworkinterface <ra-entity> <interface-name>
    Remove a network interface definition from the SIS
Warning A network interface must be disabled before it can be removed.

Example

To remove the network interface definition called default-in in the SIS instance named sis:

$ ./sis-console removenetworkinterface sis default-in
Removed network interface definition default-in

Ant task

removenetworkinterface

Task

<removenetworkinterface name="..."/>

Example

To remove a network interface definition called default-in:

<sis-in-management>
    <removenetworkinterface name="default-in"/>
</sis-in-management>

or to remove a network interface definition called default-sip:

<sis-sip-management>
    <removenetworkinterface name="default-sip"/>
</sis-sip-management>

MBean operations

MBean

removeNetworkInterfaceDefinition

Operation

To remove a network interface definition:

public void removeNetworkInterfaceDefinition(String name)
    throws NullPointerException,  UnrecognizedComponentException,
           InvalidStateException, ManagementException;

MBean

remove

Operation

To remove the network interface definition managed by this MBean:

public void remove()
    throws InvalidStateException, ManagementException;
Previous page Next page
SIS Version 2.6.1