use of org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.match.rev140714.nxm.of.eth.dst.grouping.NxmOfEthDstBuilder in project openflowplugin by opendaylight.
the class EthDstConvertorTest method setUp.
@Before
public void setUp() throws Exception {
final NxmOfEthDstBuilder nxmOfEthDstBuilder = new NxmOfEthDstBuilder().setMacAddress(MAC_ADDRESS);
final NxAugMatchNodesNodeTableFlowBuilder nxAugMatchNotifUpdateFlowStatsBuilder = new NxAugMatchNodesNodeTableFlowBuilder();
nxAugMatchNotifUpdateFlowStatsBuilder.setNxmOfEthDst(nxmOfEthDstBuilder.build());
final Augmentation<Extension> extensionAugmentation = nxAugMatchNotifUpdateFlowStatsBuilder.build();
when(extension.getAugmentation(Matchers.<Class<Augmentation<Extension>>>any())).thenReturn(extensionAugmentation);
ethDstConvertor = new EthDstConvertor();
}
Aggregations