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

项目:onos    文件:OplinkSwitchHandshaker.java   
private void sendHandshakeOFExperimenterPortDescRequest() throws
        IOException {
    /*
     *Note:
     * Oplink protection switch and Calient switch are both optical fiber switch,
     * so Calient port description matches well for Oplink switch.
     * OFCalientPortDescStatsRequest is generated by loxi.
     * If change the OF message name, we need to change onos-loxi.
     * To reduce code change for a short term, we reuse calient message and message name.
     * These will be re-processed in the future.
     */
    OFCalientPortDescStatsRequest preq = factory()
            .buildCalientPortDescStatsRequest()
            .setXid(getNextTransactionId())
            .build();

    log.info("OPLK Switch: Sending experimented port description message {}", preq);

    this.sendHandshakeMessage(preq);
}
项目:athena    文件:CalientFiberSwitchHandshaker.java   
private void sendHandshakeOFExperimenterPortDescRequest() throws IOException {
    // send multi part message for port description for optical switches
    OFCalientPortDescStatsRequest portsRequest = factory()
            .buildCalientPortDescStatsRequest()
            .build();
    log.warn("Sending experimenter port description message {}",
            portsRequest.toString());
    this.sendHandshakeMessage(portsRequest);
}
项目:onos    文件:CalientFiberSwitchHandshaker.java   
private void sendHandshakeOFExperimenterPortDescRequest() throws IOException {
    // send multi part message for port description for optical switches
    OFCalientPortDescStatsRequest portsRequest = factory()
            .buildCalientPortDescStatsRequest()
            .build();
    log.info("Sending experimenter port description message {}",
             portsRequest);
    this.sendHandshakeMessage(portsRequest);
}