org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Uuid.toString()方法的使用及代码示例

x33g5p2x  于2022-02-01 转载在 其他  
字(2.0k)|赞(0)|评价(0)|浏览(93)

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

Uuid.toString介绍

暂无

代码示例

代码示例来源:origin: org.opendaylight.netvirt/neutronvpn-impl

private List<String> generateNewRD(Uuid vpn) {
  List<String> rd = null;
  if (adminRDValue != null) {
    Integer rdId = NeutronvpnUtils.getUniqueRDId(idManager, NeutronConstants.RD_IDPOOL_NAME, vpn.toString());
    if (rdId != null) {
      rd = new ArrayList<>(Arrays.asList(adminRDValue + ":" + rdId));
    }
    LOG.debug("Generated RD " + rd.get(0) + " for L3VPN " + vpn);
  }
  return rd;
}

代码示例来源:origin: org.opendaylight.netvirt/natservice-impl

@Override
protected void remove(InstanceIdentifier<Networks> identifier, Networks networks) {
  if( identifier == null || networks == null || networks.getRouterIds().isEmpty() ) {
    LOG.info( "ExternalNetworksChangeListener:remove:: returning without processing since networks/identifier is null"  );
    return;
  }
  for( Uuid routerId: networks.getRouterIds() ) {
    String routerName = routerId.toString();
    InstanceIdentifier<RouterToNaptSwitch> routerToNaptSwitchInstanceIdentifier =
        getRouterToNaptSwitchInstanceIdentifier( routerName);
    MDSALUtil.syncDelete( dataBroker, LogicalDatastoreType.OPERATIONAL, routerToNaptSwitchInstanceIdentifier );
    LOG.debug( "ExternalNetworksChangeListener:delete:: successful deletion of data in napt-switches container" );
  }
}

代码示例来源:origin: org.opendaylight.netvirt/neutronvpn-impl

@Override
protected void remove(InstanceIdentifier<Bgpvpn> identifier, Bgpvpn input) {
  if (LOG.isTraceEnabled()) {
    LOG.trace("Removing Bgpvpn : key: " + identifier + ", value=" + input);
  }
  if (isBgpvpnTypeL3(input.getType())) {
    nvpnManager.removeL3Vpn(input.getUuid());
    // Release RD Id in pool
    NeutronvpnUtils.releaseRDId(idManager, NeutronConstants.RD_IDPOOL_NAME, input.getUuid().toString());
  }
}

相关文章