Search in sources :

Example 1 with LaunchEnvironment

use of org.openkilda.wfm.LaunchEnvironment in project open-kilda by telstra.

the class SimulatorTopology method main.

public static void main(String[] args) {
    try {
        LaunchEnvironment env = new LaunchEnvironment(args);
        (new SimulatorTopology(env)).setup();
    } catch (Exception e) {
        System.exit(handleLaunchException(e));
    }
}
Also used : LaunchEnvironment(org.openkilda.wfm.LaunchEnvironment) ConfigurationException(org.openkilda.wfm.ConfigurationException)

Example 2 with LaunchEnvironment

use of org.openkilda.wfm.LaunchEnvironment in project open-kilda by telstra.

the class OFEventWFMTopology method main.

/*
     * Progress Tracker - Phase 2: Speaker / TPE Integration; Cache Coherency Checks; Flapping
     * (1) ◊ - Interact with Speaker (network element is / isn't there)
     * (2) ◊ - Interact with TPE (graph element is / isn't there)
     * (3) ◊ - Validate the Topology periodically - switches, ports, links
     *          - health checks should validate the known universe; what about missing stuff?
     * (4) ◊ - See if flapping happens .. define window and if there are greater than 4 up/downs?
     */
public static void main(String[] args) {
    try {
        LaunchEnvironment env = new LaunchEnvironment(args);
        (new OFEventWFMTopology(env)).setup();
    } catch (Exception e) {
        System.exit(handleLaunchException(e));
    }
}
Also used : LaunchEnvironment(org.openkilda.wfm.LaunchEnvironment) ConfigurationException(org.openkilda.wfm.ConfigurationException) StreamNameCollisionException(org.openkilda.wfm.StreamNameCollisionException)

Example 3 with LaunchEnvironment

use of org.openkilda.wfm.LaunchEnvironment in project open-kilda by telstra.

the class FlowTopology method main.

public static void main(String[] args) {
    try {
        LaunchEnvironment env = new LaunchEnvironment(args);
        (new FlowTopology(env)).setup();
    } catch (Exception e) {
        System.exit(handleLaunchException(e));
    }
}
Also used : LaunchEnvironment(org.openkilda.wfm.LaunchEnvironment) ConfigurationException(org.openkilda.wfm.ConfigurationException) StreamNameCollisionException(org.openkilda.wfm.StreamNameCollisionException)

Example 4 with LaunchEnvironment

use of org.openkilda.wfm.LaunchEnvironment in project open-kilda by telstra.

the class IslStatsTopology method main.

public static void main(String[] args) {
    try {
        LaunchEnvironment env = new LaunchEnvironment(args);
        (new IslStatsTopology(env)).setup();
    } catch (Exception e) {
        System.exit(handleLaunchException(e));
    }
}
Also used : LaunchEnvironment(org.openkilda.wfm.LaunchEnvironment) ConfigurationException(org.openkilda.wfm.ConfigurationException)

Example 5 with LaunchEnvironment

use of org.openkilda.wfm.LaunchEnvironment in project open-kilda by telstra.

the class KafkaLoggerTopology method main.

public static void main(String[] args) {
    try {
        LaunchEnvironment env = new LaunchEnvironment(args);
        (new KafkaLoggerTopology(env)).setup();
    } catch (Exception e) {
        System.exit(handleLaunchException(e));
    }
}
Also used : LaunchEnvironment(org.openkilda.wfm.LaunchEnvironment) ConfigurationException(org.openkilda.wfm.ConfigurationException)

Aggregations

LaunchEnvironment (org.openkilda.wfm.LaunchEnvironment)25 ConfigurationException (org.openkilda.wfm.ConfigurationException)8 Properties (java.util.Properties)3 Config (org.apache.storm.Config)2 StormTopology (org.apache.storm.generated.StormTopology)2 BeforeClass (org.junit.BeforeClass)2 StreamNameCollisionException (org.openkilda.wfm.StreamNameCollisionException)2 TestKafkaConsumer (org.openkilda.wfm.topology.TestKafkaConsumer)2 NameCollisionException (org.openkilda.wfm.NameCollisionException)1 ConfigurationException (org.openkilda.wfm.error.ConfigurationException)1