Interface SipNetworkInterfaceManagementMBean
-
- All Superinterfaces:
NetworkInterfaceManagementMBean
public interface SipNetworkInterfaceManagementMBean extends NetworkInterfaceManagementMBean
TheSipNetworkInterfaceManagementMBeanprovides additional SIP-specific management operations for SIS network interfaces created in a SIS RA entity.
-
-
Field Summary
-
Fields inherited from interface com.opencloud.slee.resources.sis.management.NetworkInterfaceManagementMBean
SIS_MANAGEMENT_TYPE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectNameaddRoute(String rule, String interfaceName, int position)Add a new network route in the SIS.-
Methods inherited from interface com.opencloud.slee.resources.sis.management.NetworkInterfaceManagementMBean
addDefaultRoute, createNetworkInterfaceDefinition, disableNetworkInterface, enableNetworkInterface, getDefaultRoute, getEnabledNetworkInterfaces, getNetworkInterfaceDefinition, getNetworkInterfaceDefinitions, getRoute, getRoutes, getSupportedNetworkInterfaceProperties, removeDefaultRoute, removeNetworkInterfaceDefinition, removeRoute
-
-
-
-
Method Detail
-
addRoute
ObjectName addRoute(String rule, String interfaceName, int position) throws NullPointerException, InvalidArgumentException, UnrecognizedComponentException, AlreadyDeployedException, InvalidStateException, ManagementException
Add a new network route in the SIS.Rules are of the format "<type> [<value>]". The rule type may be "ip", "domain", "regex", "all", or "none". If the rule type is "ip", "domain", or "regex", a value must be specified for the rule.
- Specified by:
addRoutein interfaceNetworkInterfaceManagementMBean- Parameters:
rule- the rule to match for this route to be selected.interfaceName- the name of the network interface to be used if this route is selected.position- the list position to insert the route. A value less than or equal to zero inserts the new route at the beginning of the list. A value greater than or equal to the current number of routes adds the new route to the end of the list.- Returns:
- the Object Name of a
NetworkRouteMBeanused to manage the network route. - Throws:
NullPointerException- ifrule, orinterfaceNameisnull.InvalidArgumentException- if the rule is invalid.UnrecognizedComponentException- if the interface name is not known.AlreadyDeployedException- if an identical route already exists in the routing table.InvalidStateException- if the specified network interface is not enabled on this SIS instance.ManagementException- if the operation could not be completed due to a system-level failure.
-
-