Package net.floodlightcontroller.core.module

Examples of net.floodlightcontroller.core.module.FloodlightTestModuleLoader


    @Override
    @Before
    public void setUp() throws Exception {
        super.setUp();
        FloodlightTestModuleLoader fml = new FloodlightTestModuleLoader();
        Collection<Class<? extends IFloodlightModule>> mods
          = new ArrayList<Class<? extends IFloodlightModule>>();
        mods.add(LearningSwitch.class);

        fml.setupModules(mods, null);
        learningSwitch = (LearningSwitch) fml.getModuleByName(LearningSwitch.class);
        mockFloodlightProvider =
                (MockFloodlightProvider) fml.getModuleByName(MockFloodlightProvider.class);

        // Build our test packet
        this.testPacket = new Ethernet()
            .setDestinationMACAddress("00:11:22:33:44:55")
            .setSourceMACAddress("00:44:33:22:11:00")
View Full Code Here

TOP

Related Classes of net.floodlightcontroller.core.module.FloodlightTestModuleLoader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.