To
create a network interface definition,
use the following sis-console
command, Ant task, or related MBean operation.
Console command
createnetworkinterface
Command |
createnetworkinterface <ra-entity> <interface-name> (<property-name> <property-value>)* Add a new network interface definition to the SIS. Optionally followed by a list of property names and values for the interface
|
||||
---|---|---|---|---|---|
Example |
To create a SIS-IN network interface definition called
in the SIS instance named $ ./sis-console createnetworkinterface sis default-in \ local-sccp-address type=c7,ri=pcssn,pc=4012,ssn=123 \ stack signalware \ signalware.backends signalware-host:10123 Created network interface definition default-in |
Ant task
createnetworkinterface
Task |
<createnetworkinterface name="..."> <property name="..." value="..."/> ... </createnetworkinterface> |
---|---|
Example |
To create a SIS-IN network interface definition called <sis-in-management> <createnetworkinterface name="default-in"> <property name="local-sccp-address" value="type=c7,ri=pcssn,pc=4012,ssn=123"/> <property name="stack" value="signalware"/> <property name="signalware.backends" value="signalware-host:10123"/> </createnetworkinterface> </sis-in-management> or to create a SIS-SIP network interface definition called <sis-sip-management> <createnetworkinterface name="default-sip"> <property name="IPAddress" value="AUTO"/> <property name="ViaSentByAddress" value="192.168.0.1"/> <property name="VirtualAddresses" value="sip-host:5086"/> <property name="Port" value="5086"/> <property name="SecurePort" value="5087"/> </createnetworkinterface> </sis-sip-management> |
MBean operation
MBean |
---|
createNetworkInterfaceDefinition
Operation |
To create a network interface definition: public ObjectName createNetworkInterfaceDefinition(String name, Map<String,String> properties) throws NullPointerException, InvalidArgumentException, AlreadyDeployedException, InvalidConfigurationException, ManagementException; |
---|