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
Note For a list of supported properties for each type of network interface, please see Network Interface Properties.
Warning You must specify a value for each network interface property that does not have a default value, when you create a network interface.

Example

To create a network interface definition called default-in of type IN with properties:

  • localSccpAddress : type=c7,ri=pcssn,pc=4012,ssn=123

  • stack : `signalware

  • backends : signalware-host:10123

in the SIS instance named sis:

$ ./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 default-in of type IN with the example property values shown for the sis-console:

<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;
Previous page Next page
SIS Version 2.5.4