| Package | Description |
|---|---|
| org.onosproject.net |
Network model entities & service API definitions.
|
| org.onosproject.net.host |
End-station host model & related services API definitions.
|
| org.onosproject.net.intent |
Set of abstractions for conveying high-level intents for treatment of
selected network traffic by allowing applications to express the
what rather than the how.
|
| Modifier and Type | Field and Description |
|---|---|
static HostId |
HostId.NONE
Represents either no host, or an unspecified host; used for creating
open ingress/egress edge links.
|
| Modifier and Type | Method and Description |
|---|---|
HostId |
EdgeLink.hostId()
Returns the host identification.
|
HostId |
DefaultEdgeLink.hostId() |
HostId |
ConnectPoint.hostId()
Returns the identifier of the infrastructure device if the connection
point belongs to a network element which is indeed an end-station host.
|
static HostId |
HostId.hostId(org.onlab.packet.MacAddress mac)
Creates a device id using the supplied MAC and default VLAN.
|
static HostId |
HostId.hostId(org.onlab.packet.MacAddress mac,
org.onlab.packet.VlanId vlanId)
Creates a device id using the supplied MAC & VLAN ID.
|
static HostId |
HostId.hostId(String string)
Creates a device id using the supplied ID string.
|
HostId |
Host.id()
Host identification.
|
HostId |
DefaultHost.id() |
| Constructor and Description |
|---|
DefaultHost(ProviderId providerId,
HostId id,
org.onlab.packet.MacAddress mac,
org.onlab.packet.VlanId vlan,
HostLocation location,
Set<org.onlab.packet.IpAddress> ips,
Annotations... annotations)
Creates an end-station host using the supplied information.
|
| Modifier and Type | Method and Description |
|---|---|
HostEvent |
HostStore.createOrUpdateHost(ProviderId providerId,
HostId hostId,
HostDescription hostDescription)
Creates a new host or updates the existing one based on the specified
description.
|
Host |
HostStore.getHost(HostId hostId)
Returns the host with the specified identifer.
|
Host |
HostService.getHost(HostId hostId)
Returns the host with the specified identifier.
|
Timestamp |
HostClockService.getTimestamp(HostId hostId)
Returns a new timestamp for the specified host.
|
void |
HostProviderService.hostDetected(HostId hostId,
HostDescription hostDescription)
Notifies the core when a host has been detected on a network along with
information that identifies the hoot location.
|
void |
HostProviderService.hostVanished(HostId hostId)
Notifies the core when a host is no longer detected on a network.
|
HostEvent |
HostStore.removeHost(HostId hostId)
Removes the specified host from the inventory.
|
void |
HostAdminService.removeHost(HostId hostId)
Removes the end-station host with the specified identifier.
|
| Modifier and Type | Method and Description |
|---|---|
HostId |
HostToHostIntent.one()
Returns identifier of the first host.
|
HostId |
HostToHostIntent.two()
Returns identifier of the second host.
|
| Constructor and Description |
|---|
HostToHostIntent(ApplicationId appId,
HostId one,
HostId two)
Creates a new host-to-host intent with the supplied host pair and no
other traffic selection or treatment criteria.
|
HostToHostIntent(ApplicationId appId,
HostId one,
HostId two,
TrafficSelector selector,
TrafficTreatment treatment)
Creates a new host-to-host intent with the supplied host pair.
|
HostToHostIntent(ApplicationId appId,
HostId one,
HostId two,
TrafficSelector selector,
TrafficTreatment treatment,
List<Constraint> constraints)
Creates a new host-to-host intent with the supplied host pair.
|
Copyright © 2015. All rights reserved.