com.collation.platform.model.topology.net
Interface IpRoute
- All Superinterfaces:
- LogicalElement, ManagedElement, ManagedSystemElement, ModelObject, java.io.Serializable
public interface IpRoute
- extends LogicalElement
An Ip Route is an element of a Router's routing table
- Author:
- johan
- Naming Rules:
- 0="parent,destination,nextHop"
- Persistable:
- true
- Table Name:
- IPROUTE
- Display Name:
- destination,nextHop
Methods inherited from interface com.collation.platform.model.ModelObject |
getAdminState, getAllAttributes, getBidiFlag, getBidiFormat, getCDMSource, getCmdbSource, getContextIp, getCreatedBy, getDescription, getDisplayName, getExtendedAttributes, getGuid, getLabel, getLastModifiedBy, getLastModifiedTime, getObjectType, getSourceToken, hasAdminState, hasBidiFlag, hasBidiFormat, hasCDMSource, hasCmdbSource, hasContextIp, hasDescription, hasDisplayName, hasExtendedAttributes, hasGuid, hasLabel, hasObjectType, hasSourceToken, setAdminState, setBidiFlag, setBidiFormat, setCDMSource, setCmdbSource, setContextIp, setDescription, setExtendedAttributes, setGuid, setLabel, setObjectType, setSourceToken |
PROTO_OTHER
static final int PROTO_OTHER
- See Also:
- Constant Field Values
PROTO_STATIC
static final int PROTO_STATIC
- See Also:
- Constant Field Values
PROTO_NETMGMT
static final int PROTO_NETMGMT
- See Also:
- Constant Field Values
PROTO_ICMP
static final int PROTO_ICMP
- See Also:
- Constant Field Values
PROTO_EGP
static final int PROTO_EGP
- See Also:
- Constant Field Values
PROTO_GGP
static final int PROTO_GGP
- See Also:
- Constant Field Values
PROTO_HELLO
static final int PROTO_HELLO
- See Also:
- Constant Field Values
PROTO_RIP
static final int PROTO_RIP
- See Also:
- Constant Field Values
PROTO_ISIS
static final int PROTO_ISIS
- See Also:
- Constant Field Values
PROTO_ESIS
static final int PROTO_ESIS
- See Also:
- Constant Field Values
PROTO_CISCOIGRP
static final int PROTO_CISCOIGRP
- See Also:
- Constant Field Values
PROTO_BBNSPFLGP
static final int PROTO_BBNSPFLGP
- See Also:
- Constant Field Values
PROTO_OSPF
static final int PROTO_OSPF
- See Also:
- Constant Field Values
PROTO_BGP
static final int PROTO_BGP
- See Also:
- Constant Field Values
getParent
Router getParent()
throws AttributeNotSetException
- Router containing this route
- Throws:
AttributeNotSetException
- Implicit Relationship Type:
- name="com.collation.platform.model.topology.relation.Manages"
reverse="true"
setParent
void setParent(Router parent)
hasParent
boolean hasParent()
getDestination
IpAddress getDestination()
throws AttributeNotSetException
- Returns:
- the destination
- Throws:
AttributeNotSetException
- Implicit Relationship Type:
- name="com.collation.platform.model.topology.relation.RoutesTo"
reverse="false"
setDestination
void setDestination(IpAddress destination)
hasDestination
boolean hasDestination()
getMask
IpAddress getMask()
throws AttributeNotSetException
- Returns:
- the mask
- Throws:
AttributeNotSetException
- Implicit Relationship Type:
- name="com.collation.platform.model.topology.relation.Uses"
reverse="false"
setMask
void setMask(IpAddress mask)
hasMask
boolean hasMask()
getProtocol
int getProtocol()
throws AttributeNotSetException
- Returns:
- the routing protocol that created this route
- Throws:
AttributeNotSetException
setProtocol
void setProtocol(int proto)
hasProtocol
boolean hasProtocol()
getInterface
L2Interface getInterface()
throws AttributeNotSetException
- Returns:
- the interface used to reach the next hop
- Throws:
AttributeNotSetException
- Implicit Relationship Type:
- name="com.collation.platform.model.topology.relation.ForwardsVia"
reverse="false"
setInterface
void setInterface(L2Interface inter)
hasInterface
boolean hasInterface()
getNextHop
IpAddress getNextHop()
throws AttributeNotSetException
- Returns:
- the next hop
- Throws:
AttributeNotSetException
- Implicit Relationship Type:
- name="com.collation.platform.model.topology.relation.RoutesVia"
reverse="false"
setNextHop
void setNextHop(IpAddress nextHop)
hasNextHop
boolean hasNextHop()