Software Defined Networking
1828269 Members
3239 Online
109975 Solutions
New Discussion

Re: HP SDN App Java Entry Point

 
ugralitan
Occasional Contributor

HP SDN App Java Entry Point

Greetings,

 

I am a beginner on the area of Software Defined Networking and recently been using HP SDN VAN Controller. I have followed the several useful materials provided for creating sample applications, installing and deploying etc.

 

Recently I have isolated one module  and hp-app module from the sample application in the HP SDN manual. After manipulating and changing the pom.xml files to fit Maven compilation I added a simple Java function to write and append to a file named as "myfile.txt". And added a test to verify it during Maven compilation. The test works well during the compilation and writes to the file (Ubuntu 12.04 LTS on VirtualBox by the way) properly.

 

I have installed and deployed the application to the HP SDN Controller but I'm at a loss on the entry point of the Java functions while they are working on the controller. My expectation is for the application to write to the file like in the compilation test whenever I start the application. Anyone can provide guidance regarding this? 

 

-Best Regards

1 REPLY 1
sdnindia
Trusted Contributor

Re: HP SDN App Java Entry Point

Hello ugralitan,

 

As per SDN Programming guide you can generate sample ‘health-monitor’ ,each module in the application has its description on pages 107-108 .

For e.g.

 

hm-api defines the application’s API or application’s services

hm-bl implements the application’s API

….

...

 

For you application you can create some service/API which will be java source files and  the same can serve your purpose.

 

Please let us know if this helps or still you are facing some problem.

 

Thanks,

HP SDN Team