public interface ServiceChain extends org.opendaylight.yangtools.yang.binding.ChildOf<Native>, org.opendaylight.yangtools.yang.binding.Augmentable<ServiceChain>
This class represents the following YANG schema fragment defined in module ned
container service-chain {
list service-function {
key "name"
leaf name {
type string;
}
container config-service-chain-sf-mode {
leaf description {
type string;
}
container encapsulation {
container gre {
leaf enhanced {
type enumeration;
}
}
leaf none {
type empty;
}
}
container ip {
leaf address {
type ipv4-address;
}
}
}
}
container service-function-forwarder {
list service-ff-name {
key "name"
leaf name {
type string;
}
leaf description {
type string;
}
container ip {
leaf address {
type ipv4-address;
}
}
uses native;
}
container local {
leaf description {
type string;
}
container ip {
leaf address {
type ipv4-address;
}
}
uses native;
}
}
list service-path {
key "service-path-id"
leaf service-path-id {
type uint32;
}
container config-service-chain-path-mode {
leaf description {
type string;
}
container service-index {
list services {
key "service-index-id"
leaf service-index-id {
type uint8;
}
choice service-type-choice {
case service-function {
leaf service-function {
type string;
}
}
case service-function-forwarder {
leaf service-function-forwarder {
type string;
}
}
case terminate {
leaf terminate {
type empty;
}
}
}
}
}
}
}
}
The schema path to identify an instance is
ned/native/service-chain
To create instances of this class use ServiceChainBuilder.
ServiceChainBuilder| Modifier and Type | Field and Description |
|---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME |
| Modifier and Type | Method and Description |
|---|---|
List<ServiceFunction> |
getServiceFunction()
Service function details
|
ServiceFunctionForwarder |
getServiceFunctionForwarder()
Service function forwarder details
|
List<ServicePath> |
getServicePath()
Service Path Entries
|
List<ServiceFunction> getServiceFunction()
java.util.List serviceFunction, or null if not presentServiceFunctionForwarder getServiceFunctionForwarder()
org.opendaylight.yang.gen.v1.urn.ios.rev160308._native.service.chain.ServiceFunctionForwarder serviceFunctionForwarder, or null if not presentList<ServicePath> getServicePath()
java.util.List servicePath, or null if not presentCopyright © 2017 OpenDaylight. All rights reserved.