Java 类net.floodlightcontroller.core.ControllerId 实例源码

项目:fresco_floodlight    文件:Controller.java   
public Optional<ControllerId> getId() {
    short nodeId = this.syncService.getLocalNodeId();
    if(nodeId == ClusterConfig.NODE_ID_UNCONFIGURED)
        return Optional.absent();
    else
        return Optional.of(ControllerId.of(nodeId));
}
项目:iTAP-controller    文件:Controller.java   
public Optional<ControllerId> getId() {
    short nodeId = this.syncService.getLocalNodeId();
    if(nodeId == ClusterConfig.NODE_ID_UNCONFIGURED)
        return Optional.absent();
    else
        return Optional.of(ControllerId.of(nodeId));
}
项目:SDN-Multicast    文件:Controller.java   
public Optional<ControllerId> getId() {
    short nodeId = this.syncService.getLocalNodeId();
    if(nodeId == ClusterConfig.NODE_ID_UNCONFIGURED)
        return Optional.absent();
    else
        return Optional.of(ControllerId.of(nodeId));
}
项目:arscheduler    文件:Controller.java   
public Optional<ControllerId> getId() {
    short nodeId = this.syncService.getLocalNodeId();
    if(nodeId == ClusterConfig.NODE_ID_UNCONFIGURED)
        return Optional.absent();
    else
        return Optional.of(ControllerId.of(nodeId));
}
项目:floodlight1.2-delay    文件:Controller.java   
public Optional<ControllerId> getId() {
    short nodeId = this.syncService.getLocalNodeId();
    if(nodeId == ClusterConfig.NODE_ID_UNCONFIGURED)
        return Optional.absent();
    else
        return Optional.of(ControllerId.of(nodeId));
}
项目:floodlight-hardware    文件:Controller.java   
public Optional<ControllerId> getId() {
    short nodeId = this.syncService.getLocalNodeId();
    if(nodeId == ClusterConfig.NODE_ID_UNCONFIGURED)
        return Optional.absent();
    else
        return Optional.of(ControllerId.of(nodeId));
}
项目:ACAMPController    文件:Controller.java   
public Optional<ControllerId> getId() {
    short nodeId = this.syncService.getLocalNodeId();
    if(nodeId == ClusterConfig.NODE_ID_UNCONFIGURED)
        return Optional.absent();
    else
        return Optional.of(ControllerId.of(nodeId));
}
项目:fast-failover-demo    文件:Controller.java   
public Optional<ControllerId> getId() {
    short nodeId = this.syncService.getLocalNodeId();
    if(nodeId == ClusterConfig.NODE_ID_UNCONFIGURED)
        return Optional.absent();
    else
        return Optional.of(ControllerId.of(nodeId));
}
项目:floodlightLB    文件:Controller.java   
public Optional<ControllerId> getId() {
    short nodeId = this.syncService.getLocalNodeId();
    if(nodeId == ClusterConfig.NODE_ID_UNCONFIGURED)
        return Optional.absent();
    else
        return Optional.of(ControllerId.of(nodeId));
}
项目:DSC    文件:Controller.java   
public Optional<ControllerId> getId() {
    short nodeId = this.syncService.getLocalNodeId();
    if(nodeId == ClusterConfig.NODE_ID_UNCONFIGURED)
        return Optional.absent();
    else
        return Optional.of(ControllerId.of(nodeId));
}
项目:floodlight    文件:Controller.java   
public Optional<ControllerId> getId() {
    short nodeId = this.syncService.getLocalNodeId();
    if(nodeId == ClusterConfig.NODE_ID_UNCONFIGURED)
        return Optional.absent();
    else
        return Optional.of(ControllerId.of(nodeId));
}
项目:Engine    文件:Controller.java   
public Optional<ControllerId> getId() {
    short nodeId = this.syncService.getLocalNodeId();
    if(nodeId == ClusterConfig.NODE_ID_UNCONFIGURED)
        return Optional.absent();
    else
        return Optional.of(ControllerId.of(nodeId));
}