Java 类org.projectfloodlight.openflow.protocol.OFCircuitPortsRequest 实例源码

项目:athena    文件:OplinkRoadmHandshaker.java   
private void sendHandshakeOFExperimenterPortDescRequest() throws IOException {
    // send multi part message for port description for optical switches
    OFCircuitPortsRequest circuitPortsRequest = factory()
            .buildCircuitPortsRequest().setXid(getNextTransactionId())
            .build();
    log.info("OPLK ROADM : Sending experimented circuit port stats " +
             "message " +
             "{}",
             circuitPortsRequest);
    this.sendHandshakeMessage(circuitPortsRequest);
}
项目:athena    文件:OfOpticalSwitchImplLinc13.java   
private void sendHandshakeOFExperimenterPortDescRequest() throws
        IOException {
    // send multi part message for port description for optical switches
    OFCircuitPortsRequest circuitPortsRequest = factory()
            .buildCircuitPortsRequest().setXid(getNextTransactionId())
            .build();
    log.warn("LINC-OE : Sending experimented circuit port stats " +
                     "message " +
                     "{}",
             circuitPortsRequest.toString());
    this.sendHandshakeMessage(circuitPortsRequest);
}
项目:ravikumaran201504    文件:OFOpticalSwitchImplLINC13.java   
private void sendHandshakeOFExperimenterPortDescRequest() throws
        IOException {
    // send multi part message for port description for optical switches
    OFCircuitPortsRequest circuitPortsRequest = factory()
            .buildCircuitPortsRequest().setXid(getNextTransactionId())
            .build();
    log.warn("LINC-OE : Sending experimented circuit port stats " +
                     "message " +
                     "{}",
             circuitPortsRequest.toString());
    this.write(Collections.<OFMessage>singletonList(circuitPortsRequest));
}
项目:onos    文件:OfOpticalSwitchImplLinc13.java   
private void sendHandshakeOFExperimenterPortDescRequest() throws
        IOException {
    // send multi part message for port description for optical switches
    OFCircuitPortsRequest circuitPortsRequest = factory()
            .buildCircuitPortsRequest().setXid(getNextTransactionId())
            .build();
    log.debug("LINC-OE : Sending experimented circuit port stats " +
                     "message " +
                     "{}",
             circuitPortsRequest.toString());
    this.sendHandshakeMessage(circuitPortsRequest);
}
项目:onos    文件:OplinkHandshakerUtil.java   
/**
 * Creates an oplink port description request OF message.
 *
 * @return OF message of oplink port description request
 */
public OFCircuitPortsRequest buildCircuitPortsRequest() {
    OFCircuitPortsRequest request = driver.factory().buildCircuitPortsRequest()
            .setXid(driver.getNextTransactionId())
            .build();
    return request;
}
项目:onos    文件:OplinkRoadmHandshaker.java   
private void sendHandshakeOFExperimenterPortDescRequest() throws IOException {
    // Send multipart message for port description for optical switches
    OFCircuitPortsRequest circuitPortsRequest = oplinkUtil.buildCircuitPortsRequest();
    log.debug("OPLK ROADM : Sending experimented port description message {}", circuitPortsRequest);
    sendHandshakeMessage(circuitPortsRequest);
}
项目:onos    文件:OplinkEdfaHandshaker.java   
private void sendHandshakeOFExperimenterPortDescRequest() throws IOException {
    // Send multipart message for port description for optical switches
    OFCircuitPortsRequest circuitPortsRequest = oplinkUtil.buildCircuitPortsRequest();
    log.debug("OPLK EDFA : Sending experimented port description message {}", circuitPortsRequest);
    sendHandshakeMessage(circuitPortsRequest);
}