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-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; |
---|