Software Defined Networking
1827809 Members
1959 Online
109969 Solutions
New Discussion

Using internal services of the SDN controller like the TopologyService

 
SOLVED
Go to solution
HansChristian
Occasional Contributor

Using internal services of the SDN controller like the TopologyService

Hi, I'm new here so hopefully this is the right place to ask my question.

Currently, I try to implement an internal SDN application for the HP VAN SDN controller. The controller is running in a seperate VM, which is the same for mininet. I also have installed the SDK and I'm able to compile a simple SDN application generated by the gen-sdn-app script via mvn clean install. 

Now, I'd like to play around with the controller's capabilities. First, I like to read the topology using the controller's topology service - see http://h22208.www2.hpe.com/eginfolib/networking/docs/sdn/sdnc2_6/hp-sdn-apidoc-2.6.8/com/hp/sdn/topo...

 How can I get an object of that service?

 TopologyService ts = new TopologyService() does not work.

 Thanks in advance!

1 REPLY 1
HansChristian
Occasional Contributor
Solution

Re: Using internal services of the SDN controller like the TopologyService

@Reference
protected volatile TopologyService ts;

works fine