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> <interface-type> (<property-name> <property-value>)*
Add a new network interface definition to the SIS. The interface-type must be IN
or SIP. Optionally followed by a list of property names and values for the
interface
|
||||
|---|---|---|---|---|---|
Example |
To create a network interface definition called
in the SIS instance named $ ./sis-console createnetworkinterface sis default-in IN \
localSccpAddress type=c7,ri=pcssn,pc=4012,ssn=123 \
stack signalware \
backends signalware-host:10123
Created network interface definition default-in
|
Ant task
createnetworkinterface
Task |
<createnetworkinterface name="..." type="...">
<property name="..." value="..."/>
...
</createnetworkinterface>
|
|---|---|
Example |
To create a network interface definition called <sis-management>
<createnetworkinterface name="default-in" type="IN">
<property name="localSccpAddress" value="type=c7,ri=pcssn,pc=4012,ssn=123"/>
<property name="stack" value="signalware"/>
<property name="backends" value="signalware-host:10123"/>
</createnetworkinterface>
</sis-management>
|
MBean operation
MBean |
|---|
createNetworkInterfaceDefinition
Operation |
To create a network interface definition: public ObjectName createNetworkInterfaceDefinition(String name, NetworkInterfaceType type, Map<String,String> properties)
throws NullPointerException, InvalidArgumentException,
AlreadyDeployedException, InvalidConfigurationException,
ManagementException;
|
|---|
