Interface INNetworkInterfaceManagementMBean
-
- All Superinterfaces:
NetworkInterfaceManagementMBean
public interface INNetworkInterfaceManagementMBean extends NetworkInterfaceManagementMBean
TheINNetworkInterfaceManagementMBean
provides additional IN-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 ObjectName
addRoute(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 "protocol", "orig-address", or "dest-address", and a value must always be specified. Multiple rules to be specified, delimited using the ampersand '&' character.
- Specified by:
addRoute
in 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
NetworkRouteMBean
used to manage the network route. - Throws:
NullPointerException
- ifrule
, orinterfaceName
isnull
.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.
-
-