+++ /dev/null
-/*
- * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-/**
- * Generated file
-
- * Generated from: yang module name: config-bgp-topology-provider yang module local name: bgp-reachability-ipv4
- * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
- * Generated at: Tue Nov 19 15:13:57 CET 2013
- *
- * Do not modify this file unless it is present under src/main directory
- */
-package org.opendaylight.controller.config.yang.bgp.reachability.ipv4;
-
-import org.opendaylight.bgpcep.bgp.topology.provider.Ipv4ReachabilityTopologyBuilder;
-import org.opendaylight.bgpcep.bgp.topology.provider.config.BackwardsCssTopologyProvider;
-import org.opendaylight.controller.config.api.DependencyResolver;
-import org.opendaylight.controller.config.api.JmxAttributeValidationException;
-import org.opendaylight.controller.config.api.ModuleIdentifier;
-import org.osgi.framework.BundleContext;
-
-/**
- *
- */
-@Deprecated
-public final class Ipv4ReachabilityTopologyBuilderModule extends AbstractIpv4ReachabilityTopologyBuilderModule {
-
- private BundleContext bundleContext;
-
- public Ipv4ReachabilityTopologyBuilderModule(final ModuleIdentifier identifier, final DependencyResolver dependencyResolver) {
- super(identifier, dependencyResolver);
- }
-
- public Ipv4ReachabilityTopologyBuilderModule(final ModuleIdentifier identifier, final DependencyResolver dependencyResolver, final Ipv4ReachabilityTopologyBuilderModule oldModule,
- final AutoCloseable oldInstance) {
- super(identifier, dependencyResolver, oldModule, oldInstance);
- }
-
- @Override
- public void validate() {
- super.validate();
- JmxAttributeValidationException.checkNotNull(getTopologyId(), "is not set.", topologyIdJmxAttribute);
- }
-
- @Override
- public java.lang.AutoCloseable createInstance() {
- return BackwardsCssTopologyProvider.createBackwardsCssInstance(Ipv4ReachabilityTopologyBuilder.IPV4_TOPOLOGY_TYPE, getTopologyId(), this.bundleContext,
- getLocalRibDependency().getInstanceIdentifier());
- }
- public void setBundleContext(final BundleContext bundleContext) {
- this.bundleContext = bundleContext;
- }
-}
+++ /dev/null
-/*
- * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-/**
- * Generated file
-
- * Generated from: yang module name: config-bgp-topology-provider yang module local name: bgp-reachability-ipv4
- * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
- * Generated at: Tue Nov 19 15:13:57 CET 2013
- *
- * Do not modify this file unless it is present under src/main directory
- */
-package org.opendaylight.controller.config.yang.bgp.reachability.ipv4;
-
-import org.opendaylight.controller.config.api.DependencyResolver;
-import org.opendaylight.controller.config.api.DynamicMBeanWithInstance;
-import org.opendaylight.controller.config.spi.Module;
-import org.osgi.framework.BundleContext;
-
-/**
- *
- */
-@Deprecated
-public class Ipv4ReachabilityTopologyBuilderModuleFactory extends AbstractIpv4ReachabilityTopologyBuilderModuleFactory {
-
- @Override
- public Module createModule(final String instanceName, final DependencyResolver dependencyResolver, final BundleContext bundleContext) {
- final Ipv4ReachabilityTopologyBuilderModule module = (Ipv4ReachabilityTopologyBuilderModule) super.createModule(instanceName, dependencyResolver, bundleContext);
- module.setBundleContext(bundleContext);
- return module;
- }
-
- @Override
- public Module createModule(final String instanceName, final DependencyResolver dependencyResolver,
- final DynamicMBeanWithInstance old, final BundleContext bundleContext) throws Exception {
- final Ipv4ReachabilityTopologyBuilderModule module = (Ipv4ReachabilityTopologyBuilderModule) super.createModule(instanceName, dependencyResolver, old, bundleContext);
- module.setBundleContext(bundleContext);
- return module;
- }
-
-}
+++ /dev/null
-/*
- * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-/**
- * Generated file
-
- * Generated from: yang module name: config-bgp-topology-provider yang module local name: bgp-reachability-ipv6
- * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
- * Generated at: Tue Nov 19 15:13:57 CET 2013
- *
- * Do not modify this file unless it is present under src/main directory
- */
-package org.opendaylight.controller.config.yang.bgp.reachability.ipv6;
-
-import org.opendaylight.bgpcep.bgp.topology.provider.Ipv6ReachabilityTopologyBuilder;
-import org.opendaylight.bgpcep.bgp.topology.provider.config.BackwardsCssTopologyProvider;
-import org.opendaylight.controller.config.api.DependencyResolver;
-import org.opendaylight.controller.config.api.JmxAttributeValidationException;
-import org.opendaylight.controller.config.api.ModuleIdentifier;
-import org.osgi.framework.BundleContext;
-
-/**
- *
- */
-@Deprecated
-public final class Ipv6ReachabilityTopologyBuilderModule extends AbstractIpv6ReachabilityTopologyBuilderModule {
-
- private BundleContext bundleContext;
-
- public Ipv6ReachabilityTopologyBuilderModule(final ModuleIdentifier identifier,
- final org.opendaylight.controller.config.api.DependencyResolver dependencyResolver) {
- super(identifier, dependencyResolver);
- }
-
- public Ipv6ReachabilityTopologyBuilderModule(final ModuleIdentifier identifier, final DependencyResolver dependencyResolver,
- final Ipv6ReachabilityTopologyBuilderModule oldModule, final AutoCloseable oldInstance) {
- super(identifier, dependencyResolver, oldModule, oldInstance);
- }
-
- @Override
- public void validate() {
- super.validate();
- JmxAttributeValidationException.checkNotNull(getTopologyId(), "is not set.", topologyIdJmxAttribute);
- }
-
- @Override
- public AutoCloseable createInstance() {
- return BackwardsCssTopologyProvider.createBackwardsCssInstance(Ipv6ReachabilityTopologyBuilder.IPV6_TOPOLOGY_TYPE, getTopologyId(), this.bundleContext,
- getLocalRibDependency().getInstanceIdentifier());
- }
-
- public void setBundleContext(final BundleContext bundleContext) {
- this.bundleContext = bundleContext;
- }
-}
+++ /dev/null
-/*
- * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-/**
- * Generated file
-
- * Generated from: yang module name: config-bgp-topology-provider yang module local name: bgp-reachability-ipv6
- * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
- * Generated at: Tue Nov 19 15:13:57 CET 2013
- *
- * Do not modify this file unless it is present under src/main directory
- */
-package org.opendaylight.controller.config.yang.bgp.reachability.ipv6;
-
-import org.opendaylight.controller.config.api.DependencyResolver;
-import org.opendaylight.controller.config.api.DynamicMBeanWithInstance;
-import org.opendaylight.controller.config.spi.Module;
-import org.osgi.framework.BundleContext;
-
-/**
- *
- */
-@Deprecated
-public class Ipv6ReachabilityTopologyBuilderModuleFactory extends AbstractIpv6ReachabilityTopologyBuilderModuleFactory {
-
- @Override
- public Module createModule(final String instanceName, final DependencyResolver dependencyResolver, final BundleContext bundleContext) {
- final Ipv6ReachabilityTopologyBuilderModule module = (Ipv6ReachabilityTopologyBuilderModule) super.createModule(instanceName, dependencyResolver, bundleContext);
- module.setBundleContext(bundleContext);
- return module;
- }
-
- @Override
- public Module createModule(final String instanceName, final DependencyResolver dependencyResolver,
- final DynamicMBeanWithInstance old, final BundleContext bundleContext) throws Exception {
- final Ipv6ReachabilityTopologyBuilderModule module = (Ipv6ReachabilityTopologyBuilderModule) super.createModule(instanceName, dependencyResolver, old, bundleContext);
- module.setBundleContext(bundleContext);
- return module;
- }
-}
+++ /dev/null
-/*
- * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-/**
- * Generated file
-
- * Generated from: yang module name: config-bgp-topology-provider yang module local name: bgp-linkstate-topology
- * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
- * Generated at: Tue Nov 19 15:22:41 CET 2013
- *
- * Do not modify this file unless it is present under src/main directory
- */
-package org.opendaylight.controller.config.yang.bgp.topology.provider;
-
-import org.opendaylight.bgpcep.bgp.topology.provider.LinkstateTopologyBuilder;
-import org.opendaylight.bgpcep.bgp.topology.provider.config.BackwardsCssTopologyProvider;
-import org.opendaylight.controller.config.api.DependencyResolver;
-import org.opendaylight.controller.config.api.JmxAttributeValidationException;
-import org.opendaylight.controller.config.api.ModuleIdentifier;
-import org.osgi.framework.BundleContext;
-
-/**
- *
- */
-@Deprecated
-public final class LinkstateTopologyBuilderModule extends AbstractLinkstateTopologyBuilderModule {
-
- private BundleContext bundleContext;
-
- public LinkstateTopologyBuilderModule(final ModuleIdentifier identifier, final DependencyResolver dependencyResolver) {
- super(identifier, dependencyResolver);
- }
-
- public LinkstateTopologyBuilderModule(final ModuleIdentifier identifier, final DependencyResolver dependencyResolver,
- final LinkstateTopologyBuilderModule oldModule, final AutoCloseable oldInstance) {
- super(identifier, dependencyResolver, oldModule, oldInstance);
- }
-
- @Override
- public void validate() {
- super.validate();
- JmxAttributeValidationException.checkNotNull(getTopologyId(), "is not set.", topologyIdJmxAttribute);
- }
-
- @Override
- public java.lang.AutoCloseable createInstance() {
- return BackwardsCssTopologyProvider.createBackwardsCssInstance(LinkstateTopologyBuilder.LINKSTATE_TOPOLOGY_TYPE, getTopologyId(), this.bundleContext,
- getLocalRibDependency().getInstanceIdentifier());
- }
- public void setBundleContext(final BundleContext bundleContext) {
- this.bundleContext = bundleContext;
- }
-}
+++ /dev/null
-/*
- * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
- *
- * This program and the accompanying materials are made available under the
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,
- * and is available at http://www.eclipse.org/legal/epl-v10.html
- */
-/**
- * Generated file
-
- * Generated from: yang module name: config-bgp-topology-provider yang module local name: bgp-linkstate-topology
- * Generated by: org.opendaylight.controller.config.yangjmxgenerator.plugin.JMXGenerator
- * Generated at: Tue Nov 19 15:22:41 CET 2013
- *
- * Do not modify this file unless it is present under src/main directory
- */
-package org.opendaylight.controller.config.yang.bgp.topology.provider;
-
-import org.opendaylight.controller.config.api.DependencyResolver;
-import org.opendaylight.controller.config.api.DynamicMBeanWithInstance;
-import org.opendaylight.controller.config.spi.Module;
-import org.osgi.framework.BundleContext;
-
-/**
- *
- */
-@Deprecated
-public class LinkstateTopologyBuilderModuleFactory extends AbstractLinkstateTopologyBuilderModuleFactory {
-
- @Override
- public Module createModule(final String instanceName, final DependencyResolver dependencyResolver, final BundleContext bundleContext) {
- final LinkstateTopologyBuilderModule module = (LinkstateTopologyBuilderModule) super.createModule(instanceName, dependencyResolver, bundleContext);
- module.setBundleContext(bundleContext);
- return module;
- }
-
- @Override
- public Module createModule(final String instanceName, final DependencyResolver dependencyResolver,
- final DynamicMBeanWithInstance old, final BundleContext bundleContext) throws Exception {
- final LinkstateTopologyBuilderModule module = (LinkstateTopologyBuilderModule) super.createModule(instanceName, dependencyResolver, old, bundleContext);
- module.setBundleContext(bundleContext);
- return module;
- }
-
-}
+++ /dev/null
-// vi: set smarttab et sw=4 tabstop=4:
-module odl-bgp-topology-provider-cfg {
- yang-version 1;
- namespace "urn:opendaylight:params:xml:ns:yang:controller:bgp:topology:provider";
- prefix "bgptopo";
-
- import config { prefix config; revision-date 2013-04-05; }
- import network-topology { prefix nt; revision-date 2013-10-21; }
- import odl-bgp-rib-cfg { prefix ribapi; revision-date 2013-07-01; }
- import odl-topology-api-cfg { prefix topo; revision-date 2013-11-15; }
- import opendaylight-md-sal-binding { prefix mdsal; revision-date 2013-10-28; }
-
- organization "Cisco Systems, Inc.";
-
- contact "Robert Varga <rovarga@cisco.com>";
-
- description
- "This module contains the base YANG definitions for
- BGP topology provider.
-
- Copyright (c)2013 Cisco Systems, Inc. All rights reserved.;
-
- This program and the accompanying materials are made available
- under the terms of the Eclipse Public License v1.0 which
- accompanies this distribution, and is available at
- http://www.eclipse.org/legal/epl-v10.html";
-
- revision "2013-11-15" {
- description
- "Initial revision";
- }
-
- identity bgp-linkstate-topology {
- base config:module-type;
- config:provided-service topo:topology-reference;
- config:java-name-prefix LinkstateTopologyBuilder;
- }
-
- augment "/config:modules/config:module/config:configuration" {
- case bgp-linkstate-topology {
- when "/config:modules/config:module/config:type = 'bgp-linkstate-topology'";
-
- container data-provider {
- uses config:service-ref {
- refine type {
- mandatory true;
- config:required-identity mdsal:binding-async-data-broker;
- }
- }
- }
-
- container local-rib {
- uses config:service-ref {
- refine type {
- mandatory true;
- config:required-identity ribapi:rib;
- }
- }
- }
-
- leaf topology-id {
- type nt:topology-id;
- mandatory true;
- }
- }
- }
-}
-
+++ /dev/null
-// vi: set smarttab et sw=4 tabstop=4:
-module odl-bgp-treachability-ipv4-cfg {
- yang-version 1;
- namespace "urn:opendaylight:params:xml:ns:yang:controller:bgp:reachability:ipv4";
- prefix "bgptopo";
-
- import config { prefix config; revision-date 2013-04-05; }
- import network-topology { prefix nt; revision-date 2013-10-21; }
- import odl-bgp-rib-cfg { prefix ribapi; revision-date 2013-07-01; }
- import odl-topology-api-cfg { prefix topo; revision-date 2013-11-15; }
- import opendaylight-md-sal-binding { prefix mdsal; revision-date 2013-10-28; }
-
- organization "Cisco Systems, Inc.";
-
- contact "Robert Varga <rovarga@cisco.com>";
-
- description
- "This module contains the base YANG definitions for
- BGP topology provider.
-
- Copyright (c)2013 Cisco Systems, Inc. All rights reserved.;
-
- This program and the accompanying materials are made available
- under the terms of the Eclipse Public License v1.0 which
- accompanies this distribution, and is available at
- http://www.eclipse.org/legal/epl-v10.html";
-
- revision "2013-11-15" {
- description
- "Initial revision";
- }
-
- identity bgp-reachability-ipv4 {
- base config:module-type;
- config:provided-service topo:topology-reference;
- config:java-name-prefix Ipv4ReachabilityTopologyBuilder;
- }
-
- augment "/config:modules/config:module/config:configuration" {
- case bgp-reachability-ipv4 {
- when "/config:modules/config:module/config:type = 'bgp-reachability-ipv4'";
-
- container data-provider {
- uses config:service-ref {
- refine type {
- mandatory true;
- config:required-identity mdsal:binding-async-data-broker;
- }
- }
- }
-
- container local-rib {
- uses config:service-ref {
- refine type {
- mandatory true;
- config:required-identity ribapi:rib;
- }
- }
- }
-
- leaf topology-id {
- type nt:topology-id;
- mandatory true;
- }
- }
- }
-}
-
+++ /dev/null
-// vi: set smarttab et sw=4 tabstop=4:
-module odl-bgp-treachability-ipv6-cfg {
- yang-version 1;
- namespace "urn:opendaylight:params:xml:ns:yang:controller:bgp:reachability:ipv6";
- prefix "bgptopo";
-
- import config { prefix config; revision-date 2013-04-05; }
- import network-topology { prefix nt; revision-date 2013-10-21; }
- import odl-bgp-rib-cfg { prefix ribapi; revision-date 2013-07-01; }
- import odl-topology-api-cfg { prefix topo; revision-date 2013-11-15; }
- import opendaylight-md-sal-binding { prefix mdsal; revision-date 2013-10-28; }
-
- organization "Cisco Systems, Inc.";
-
- contact "Robert Varga <rovarga@cisco.com>";
-
- description
- "This module contains the base YANG definitions for
- BGP topology provider.
-
- Copyright (c)2013 Cisco Systems, Inc. All rights reserved.;
-
- This program and the accompanying materials are made available
- under the terms of the Eclipse Public License v1.0 which
- accompanies this distribution, and is available at
- http://www.eclipse.org/legal/epl-v10.html";
-
- revision "2013-11-15" {
- description
- "Initial revision";
- }
-
- identity bgp-reachability-ipv6 {
- base config:module-type;
- config:provided-service topo:topology-reference;
- config:java-name-prefix Ipv6ReachabilityTopologyBuilder;
- }
-
- augment "/config:modules/config:module/config:configuration" {
- case bgp-reachability-ipv6 {
- when "/config:modules/config:module/config:type = 'bgp-reachability-ipv6'";
-
- container data-provider {
- uses config:service-ref {
- refine type {
- mandatory true;
- config:required-identity mdsal:binding-async-data-broker;
- }
- }
- }
-
- container local-rib {
- uses config:service-ref {
- refine type {
- mandatory true;
- config:required-identity ribapi:rib;
- }
- }
- }
-
- leaf topology-id {
- type nt:topology-id;
- mandatory true;
- }
- }
- }
-
-}
-