Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For anyone who wants to integrate with OpenNaaS, the best approach is to create a client that uses invokes OpenNaaS using the RESTful web services published. This client would need to be an independent set of classes (its own library) from OpenNaaS. In order to be able to develop there certain recommendations that would help a developer:

  1. Download and install OpenNaaS.
  2. Run OpenNaaS.
  3. Access the following URL to obtain the information needed to acces the RESTful web services (if installed in the local machine)1:
    1. Resources: http://localhost:8888/opennaas/resources?_wadl
    2. vCPE Network: http://localhost:8888/opennaas/vcpenetwork?_wadl

You can see en example of a web application develop on top of the vCPE Network resource by following the steps explained in How to deploy a vCPE.

 

...

This is the configuration by default of OpenNaaS platform, but if you want to change localhost to your local_machine_name you can edit the file org.opennaas.cfg located at OPENNAAS_PATH\platform\target\opennaas-0.XX-SNAPSHOT\opennaas-0.XX-SNAPSHOT\etc and change the parameter ws.rest.url.