public final class SfcIosXeUtils extends Object
Modifier and Type | Method and Description |
---|---|
static ServiceFunctionForwarder |
createLocalForwarder(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress ipAddress)
Creates local service function forwarder
ServiceFunctionForwarder
with respective IP address. |
static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Local> |
createLocalSffIid()
Creates instance identifier for
Local service function forwarder. |
static ServiceFfName |
createRemoteForwarder(SffName sffName)
Creates remote service function forwarder (ios-xe SFC entity)
ServiceFfName . |
static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ServiceFfName> |
createRemoteSffIid(ServiceFfName sffName)
Creates instance identifier for
ServiceFfName service function
forwarder. |
static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ServiceFfName> |
createRemoteSffIid(SffName sffName)
Creates instance identifier for
ServiceFfName service function
forwarder. |
static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ServicePath> |
createServicePathIid(ServicePathKey key)
Creates instance identifier for
ServicePath . |
static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ServiceFunction> |
createSfIid(ServiceFunctionKey key)
Creates instance identifier for
ServiceFunction . |
static SfDataPlaneLocator |
getDplWithIpLocatorType(List<SfDataPlaneLocator> dataPlaneLocators)
From the set of data plane locators, choose the one with IP locator type.
|
public static ServiceFunctionForwarder createLocalForwarder(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress ipAddress)
ServiceFunctionForwarder
with respective IP address. Local forwarder does not contain name, only
IP address. Supports only IPv4ipAddress
- which will be set on service function forwarderLocal
SFF. Null if parameter is not an IPv4
addresspublic static ServiceFfName createRemoteForwarder(SffName sffName)
ServiceFfName
. Using name of the original entity, whole SFF
configuration is read from ODL CONF data store. This configuration is
used to build remote service function forwardersffName
- name of the service function forwarderpublic static SfDataPlaneLocator getDplWithIpLocatorType(List<SfDataPlaneLocator> dataPlaneLocators)
dataPlaneLocators
- set of locatorspublic static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Local> createLocalSffIid()
Local
service function forwarder.
This IID does not include any key. Every ios-xe device can contain just
one local SFF, that means there is one Local SFF for mountpointpublic static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ServiceFfName> createRemoteSffIid(@Nonnull ServiceFfName sffName)
ServiceFfName
service function
forwarder. Particular key is created using ServiceFfName
objectpublic static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ServiceFfName> createRemoteSffIid(@Nonnull SffName sffName)
ServiceFfName
service function
forwarder. Particular key is created using SffName
objectpublic static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ServiceFunction> createSfIid(@Nonnull ServiceFunctionKey key)
ServiceFunction
.public static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<ServicePath> createServicePathIid(@Nonnull ServicePathKey key)
ServicePath
.Copyright © 2017 OpenDaylight. All rights reserved.