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.
|
||
|---|---|---|---|
Example |
To update a network interface definition called
in the SIS instance named $ ./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 <sis-in-management>
<updatenetworkinterface name="default-in">
<property name="stack" value="tcapsim"/>
<property name="listen-addresses" value="localhost:10123"/>
</updatenetworkinterface>
</sis-in-management>
or to update a network interface definition called <sis-sip-management>
<updateenetworkinterface name="default-sip">
<property name="VirtualAddresses" value="apps.foo.com"/>
<updateenetworkinterface/>
</sis-sip-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;
|
|---|
