org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow.getFlowName()方法的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(2.2k)|赞(0)|评价(0)|浏览(117)

本文整理了Java中org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow.getFlowName()方法的一些代码示例,展示了Flow.getFlowName()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Flow.getFlowName()方法的具体详情如下:
包路径:org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow
类名称:Flow
方法名:getFlowName

Flow.getFlowName介绍

暂无

代码示例

代码示例来源:origin: org.opendaylight.netvirt/utils.netvirt-it-utils

/**
 * Log the flows in a given table.
 * @param datapathId dpid
 * @param tableNum table number
 * @param store configuration or operational
 */
public void logFlows(long datapathId, short tableNum, LogicalDatastoreType store) {
  org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.NodeBuilder nodeBuilder =
      FlowUtils.createNodeBuilder(datapathId);
  Table table = FlowUtils.getTable(nodeBuilder, tableNum, dataBroker.newReadOnlyTransaction(), store);
  if (table == null) {
    LOG.info("logFlows: Could not find table {} in {}", tableNum, store);
  }
  //TBD: Log table and store in one line, flows in following lines
  for (Flow flow : table.getFlow()) {
    LOG.info("logFlows: table {} flow {} in {}", tableNum, flow.getFlowName(), store);
  }
}

代码示例来源:origin: org.opendaylight.openflowplugin.model/model-flow-service

return false;
if (!Objects.equals(_flowName, other.getFlowName())) {
  return false;

代码示例来源:origin: org.opendaylight.groupbasedpolicy/ofoverlay-renderer

return false;
if (!Objects.equals(a.getFlowName(), b.getFlowName())) {
  return false;

代码示例来源:origin: org.opendaylight.groupbasedpolicy/ofoverlay-renderer

result = prime * result + ((flow.getCookieMask() == null) ? 0 : flow.getCookieMask().hashCode());
result = prime * result + ((flow.getFlags() == null) ? 0 : flow.getFlags().hashCode());
result = prime * result + ((flow.getFlowName() == null) ? 0 : flow.getFlowName().hashCode());

代码示例来源:origin: org.opendaylight.openflowplugin.model/model-flow-service

this._cookieMask = base.getCookieMask();
this._flags = base.getFlags();
this._flowName = base.getFlowName();
this._hardTimeout = base.getHardTimeout();
this._idleTimeout = base.getIdleTimeout();

代码示例来源:origin: org.opendaylight.didm/didm-tools-utils

if(addFlowOutputRpcResult != null)
  if (addFlowOutputRpcResult.isSuccessful())
    LOG.info("Pushed the flow successfully", flow.getFlowName());

相关文章