Allow Topology DB to keep track of production switches 56/1656/4
authorAlessandro Boch <aboch@cisco.com>
Thu, 3 Oct 2013 19:09:42 +0000 (12:09 -0700)
committerGerrit Code Review <gerrit@opendaylight.org>
Thu, 3 Oct 2013 23:07:51 +0000 (23:07 +0000)
commit17e56497531f66554f6d533ef0f85ac7264f48fa
tree18b9fcf7025dc11c949f29a23fde46c4fe51d401
parentc35484bda3c82b4e907d0496b01608e478dd00a0
Allow Topology DB to keep track of production switches

ISSUE: Discovery service is able to discover any non SDN enable
switch directly conencted to the controlled SDN switches which
advertise itself through LLDP. It is a nice feature to be able
to see on the topology to which non-SDN switches the controlled
network nodes are conencted to.
Change in https://git.opendaylight.org/gerrit/#/c/1450/ breaks this feature.

CHANGE: Limit the validation check introduced in the above commit
to the edge head end point only.

Change-Id: I081f4320a73eea9bf2a39ca80717771d9c7adfb3
Signed-off-by: Alessandro Boch <aboch@cisco.com>
opendaylight/topologymanager/implementation/src/main/java/org/opendaylight/controller/topologymanager/internal/TopologyManagerImpl.java
opendaylight/topologymanager/implementation/src/test/java/org/opendaylight/controller/topologymanager/internal/TopologyManagerImplTest.java