Java 类org.projectfloodlight.openflow.protocol.ver13.OFFactoryVer13 实例源码

项目:onos    文件:FlowEntryBuilder.java   
private List<OFInstruction> getInstructions(OFFlowMod entry) {
    switch (entry.getVersion()) {
        case OF_10:
            return Lists.newArrayList(OFFactoryVer13.INSTANCE.instructions()
                                              .applyActions(
                                                      entry.getActions()));
        case OF_11:
        case OF_12:
        case OF_13:
        case OF_14:
        case OF_15:
            return entry.getInstructions();
        default:
            log.warn("Unknown OF version {}", entry.getVersion());
    }
    return Lists.newLinkedList();
}
项目:onos    文件:FlowEntryBuilder.java   
private List<OFInstruction> getInstructions(OFFlowStatsEntry entry) {
    switch (entry.getVersion()) {
        case OF_10:
            return Lists.newArrayList(
                    OFFactoryVer13.INSTANCE.instructions().applyActions(entry.getActions()));
        case OF_11:
        case OF_12:
        case OF_13:
        case OF_14:
        case OF_15:
            return entry.getInstructions();
        default:
            log.warn("Unknown OF version {}", entry.getVersion());
    }
    return Lists.newLinkedList();
}
项目:athena    文件:FlowEntryBuilder.java   
private List<OFInstruction> getInstructions(OFFlowMod entry) {
    switch (entry.getVersion()) {
        case OF_10:
            return Lists.newArrayList(OFFactoryVer13.INSTANCE.instructions()
                                              .applyActions(
                                                      entry.getActions()));
        case OF_11:
        case OF_12:
        case OF_13:
            return entry.getInstructions();
        default:
            log.warn("Unknown OF version {}", entry.getVersion());
    }
    return Lists.newLinkedList();
}
项目:athena    文件:FlowEntryBuilder.java   
private List<OFInstruction> getInstructions(OFFlowStatsEntry entry) {
    switch (entry.getVersion()) {
        case OF_10:
            return Lists.newArrayList(
                    OFFactoryVer13.INSTANCE.instructions().applyActions(entry.getActions()));
        case OF_11:
        case OF_12:
        case OF_13:
            return entry.getInstructions();
        default:
            log.warn("Unknown OF version {}", entry.getVersion());
    }
    return Lists.newLinkedList();
}
项目:ravikumaran201504    文件:FlowEntryBuilder.java   
private List<OFInstruction> getInstructions(OFFlowMod entry) {
    switch (entry.getVersion()) {
        case OF_10:
            return Lists.newArrayList(OFFactoryVer13.INSTANCE.instructions()
                                              .applyActions(
                                                      entry.getActions()));
        case OF_11:
        case OF_12:
        case OF_13:
            return entry.getInstructions();
        default:
            log.warn("Unknown OF version {}", entry.getVersion());
    }
    return Lists.newLinkedList();
}
项目:ravikumaran201504    文件:FlowEntryBuilder.java   
private List<OFInstruction> getInstructions(OFFlowStatsEntry entry) {
    switch (entry.getVersion()) {
        case OF_10:
            return Lists.newArrayList(
                    OFFactoryVer13.INSTANCE.instructions().applyActions(entry.getActions()));
        case OF_11:
        case OF_12:
        case OF_13:
            return entry.getInstructions();
        default:
            log.warn("Unknown OF version {}", entry.getVersion());
    }
    return Lists.newLinkedList();
}
项目:Engine    文件:FlowEntryBuilder.java   
private List<OFInstruction> getInstructions(OFFlowMod entry) {
    switch (entry.getVersion()) {
        case OF_10:
            return Lists.newArrayList(OFFactoryVer13.INSTANCE.instructions()
                                              .applyActions(
                                                      entry.getActions()));
        case OF_11:
        case OF_12:
        case OF_13:
            return entry.getInstructions();
        default:
            log.warn("Unknown OF version {}", entry.getVersion());
    }
    return Lists.newLinkedList();
}
项目:Engine    文件:FlowEntryBuilder.java   
private List<OFInstruction> getInstructions(OFFlowStatsEntry entry) {
    switch (entry.getVersion()) {
        case OF_10:
            return Lists.newArrayList(
                    OFFactoryVer13.INSTANCE.instructions().applyActions(entry.getActions()));
        case OF_11:
        case OF_12:
        case OF_13:
            return entry.getInstructions();
        default:
            log.warn("Unknown OF version {}", entry.getVersion());
    }
    return Lists.newLinkedList();
}