Search in sources :

Example 1 with InterfaceBfdKey

use of org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.ovsdb.port._interface.attributes.InterfaceBfdKey in project genius by opendaylight.

the class SouthboundUtils method getIfBfdObj.

private static InterfaceBfd getIfBfdObj(String key, String value) {
    InterfaceBfdBuilder bfdBuilder = new InterfaceBfdBuilder();
    bfdBuilder.setBfdKey(key).setKey(new InterfaceBfdKey(key)).setBfdValue(value);
    return bfdBuilder.build();
}
Also used : InterfaceBfdBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.ovsdb.port._interface.attributes.InterfaceBfdBuilder) InterfaceBfdKey(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.ovsdb.port._interface.attributes.InterfaceBfdKey)

Aggregations

InterfaceBfdBuilder (org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.ovsdb.port._interface.attributes.InterfaceBfdBuilder)1 InterfaceBfdKey (org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.ovsdb.port._interface.attributes.InterfaceBfdKey)1