Search in sources :

Example 1 with CreateRenderedPathInputBuilder

use of org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.sfc.rsp.rev140701.CreateRenderedPathInputBuilder in project netvirt by opendaylight.

the class PortChainTranslator method buildCreateRenderedServicePathInput.

public static CreateRenderedPathInput buildCreateRenderedServicePathInput(ServiceFunctionPath sfp) {
    CreateRenderedPathInputBuilder rpInputBuilder = new CreateRenderedPathInputBuilder();
    rpInputBuilder.setSymmetric(sfp.isSymmetric());
    rpInputBuilder.setParentServiceFunctionPath(sfp.getName().getValue());
    return rpInputBuilder.build();
}
Also used : CreateRenderedPathInputBuilder(org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.sfc.rsp.rev140701.CreateRenderedPathInputBuilder)

Aggregations

CreateRenderedPathInputBuilder (org.opendaylight.yang.gen.v1.urn.cisco.params.xml.ns.yang.sfc.rsp.rev140701.CreateRenderedPathInputBuilder)1