org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.Topology.getAugmentation()方法的使用及代码示例

x33g5p2x  于2022-01-30 转载在 其他  
字(1.3k)|赞(0)|评价(0)|浏览(131)

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

Topology.getAugmentation介绍

暂无

代码示例

代码示例来源:origin: org.opendaylight.yangtools/bug1196-test-model

if (!e.getValue().equals(other.getAugmentation(e.getKey()))) {
  return false;

代码示例来源:origin: org.opendaylight.yangtools.model/ietf-topology

if (!e.getValue().equals(other.getAugmentation(e.getKey()))) {
  return false;

代码示例来源:origin: org.opendaylight.bgpcep/bgp-topology-provider

private TopologyReferenceSingletonService createInstance(final Topology topology, final Function<Topology, Void> writeFunction) {
  final RibReference ribReference = new DefaultRibReference(InstanceIdentifier.create(BgpRib.class).child(Rib.class, new RibKey(topology.getAugmentation(Topology1.class).getRibId())));
  final AbstractTopologyBuilder<?> topologyBuilder = createTopologyBuilder(this.dataBroker, ribReference, topology.getTopologyId());
  return new TopologyReferenceSingletonServiceImpl(topologyBuilder, this.deployer, topology, writeFunction);
}

相关文章