...
Use the local IP and port (default is 8000) to access the local web.
ONAP web portal
Anchor | ||||
---|---|---|---|---|
|
The ONAP web portal prototype has been demonstrated by Dan Xu, Former user (Deleted) and Former user (Deleted) in ONAP DDF + OPNFV Plugfest.
...
The web portal as well as the LFN introduction page have not been officially released, so the contents have been used only for the demo purposes.For the local test activities of the web portal(s), you could use the following instructions:
Build Instructions
Update the "/etc/hosts" file introducing also the new page / portal addresses
Code Block language bash firstline 1 linenumbers true 127.0.0.1 localhost ovp.localhost onap.localhost lfn.localhost
Build new images for REST api and the Front End Portals by running the following commands:
Code Block language bash firstline 1 linenumbers true git clone https://gerrit.opnfv.org/gerrit/dovetail-webportal [dovetail_path]/dovetail-webportal cd [dovetail_path]/dovetail-webportal/docker sudo docker build --build-arg BRANCH=refs/changes/07/65607/45 -f Dockerfile.web -t opnfv-web . sudo docker build --build-arg BRANCH=refs/changes/07/65607/45 --build-arg CONTAINER=onap --build-arg GUI=onap-ui -f Dockerfile.web -t onap-web . sudo docker build --build-arg BRANCH=refs/changes/07/65607/45 --build-arg CONTAINER=lfn --build-arg GUI=lfn-ui -f Dockerfile.web -t lfn-web . sudo docker build --build-arg BRANCH=refs/changes/07/65607/45 -f Dockerfile.api -t rest-api .
Update the docker-compose file to use the images created in step 2
Code Block language bash firstline 1 linenumbers true cd [dovetail_path]/dovetail-webportal/docker vim docker-compose.yml ... — version: '3' services: .... webopnfv: image: opnfv-web container_name: web-opnfv .... webonap: image: onap-web container_name: web-onap .... weblfn: image: lfn-web container_name: web-lfn .... lfnapi: image: rest-api container_name: lfn-api ....
Start the deployment with the following command:
Code Block language bash firstline 1 linenumbers true cd [dovetail_path]/dovetail-webportal/docker sudo docker-compose up
Once the deployment is up, all three pages can be accessed by the following addresses:
Code Block language bash firstline 1 linenumbers true http://opnfv.localhost http://onap.localhost http://lfn.localhost