Search in sources :

Example 1 with LispExtensionMappingAddressInterpreter

use of org.onosproject.drivers.lisp.extensions.LispExtensionMappingAddressInterpreter in project onos by opennetworkinglab.

the class LispExtensionMappingAddressInterpreterTest method setUp.

@Before
public void setUp() {
    interpreter = new LispExtensionMappingAddressInterpreter();
    initExtAddresses();
    initLcafAddresses();
    CodecManager manager = new CodecManager();
    registrator = new LispMappingExtensionCodecRegistrator();
    registrator.codecService = manager;
    registrator.activate();
    context = new LispMappingExtensionCodecContextAdapter(registrator.codecService);
}
Also used : CodecManager(org.onosproject.codec.impl.CodecManager) LispMappingExtensionCodecContextAdapter(org.onosproject.drivers.lisp.extensions.codec.LispMappingExtensionCodecContextAdapter) LispExtensionMappingAddressInterpreter(org.onosproject.drivers.lisp.extensions.LispExtensionMappingAddressInterpreter) Before(org.junit.Before)

Aggregations

Before (org.junit.Before)1 CodecManager (org.onosproject.codec.impl.CodecManager)1 LispExtensionMappingAddressInterpreter (org.onosproject.drivers.lisp.extensions.LispExtensionMappingAddressInterpreter)1 LispMappingExtensionCodecContextAdapter (org.onosproject.drivers.lisp.extensions.codec.LispMappingExtensionCodecContextAdapter)1