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

Console command

updatenetworkinterface

Command

updatenetworkinterface <ra-entity> <interface-name> (<property-name> <property-value>)*
    Update an existing network interface definition with the given properties. A
    property-value of "null" will remove that property from the interface.
Note For a list of supported properties for each type of network interface, please see Network Interface Properties.

Example

To update a network interface definition called default-in with new configuration properties:

  • stack: tcapsim

  • listen-addresses: localhost:10123

in the SIS instance named sis:

$ ./sis-console updatenetworkinterface sis default-in stack tcapsim listen-addresses localhost:10123
Updated network interface definition default-in

Ant task

updatenetworkinterface

Task

<updatenetworkinterface name="...">
    <property name="..." value="..."/>
    ...
</updatenetworkinterface>

Example

To update a network interface definition called default-in with the example property values shown for the sis-console :

<sis-management>
    <updatenetworkinterface name="default-in">
        <property name="stack" value="tcapsim"/>
        <property name="listen-addresses" value="localhost:10123"/>
    </updatenetworkinterface>
</sis-management>

MBean operation

MBean

updateProperties

Operation

To update the network interface definition managed by this MBean:

public void updateProperties(Map<String,String> properties)
    throws NullPointerException, InvalidArgumentException,
           InvalidConfigurationException, ManagementException;
Previous page Next page
SIS Version 2.5.4