From caa93c99d9dbbb4e8fbbcb5350d20b26a69bc7ab Mon Sep 17 00:00:00 2001 From: Narinder Gupta Date: Mon, 19 Sep 2016 11:20:14 -0500 Subject: modified the installation guide. Change-Id: If9f1cc4990c81a8bab35faaf49daac159c865fec Signed-off-by: Narinder Gupta (cherry picked from commit b77b504bf7f5610fa1df4557282ebf7f280693f2) --- .../installationprocedure.rst | 63 ++++++++++++++-------- 1 file changed, 42 insertions(+), 21 deletions(-) diff --git a/docs/installationprocedure/installationprocedure.rst b/docs/installationprocedure/installationprocedure.rst index b561ffb3..7f461245 100644 --- a/docs/installationprocedure/installationprocedure.rst +++ b/docs/installationprocedure/installationprocedure.rst @@ -1,4 +1,3 @@ - Bare Metal Installations: ========================= @@ -87,11 +86,18 @@ If you have already enabled maas for your environment and installed it then ther NOTE: If MAAS is pre installed without 00-maasdeploy.sh then please do the following and skip rest of the step to enable MAAS. -1. Copy MAAS API key and paste in ~/.juju/environments.yaml at appropriate place. -2. Run command cp ~/.juju/environments.yaml ./joid/ci/ -3. cp joid/labconfig///labconfig.yaml joid/ci/ -4. cd joid/ci -5. python deploy.py +1. Copy MAAS API key and paste in ~/.juju/environments.yaml at appropriate place. +2. Run command cp ~/.juju/environments.yaml ./joid/ci/ +3. Generate labconfig.yaml for your lab and copy it to joid. + a. cp joid/labconfig///labconfig.yaml joid/ci/ or + b. cp joid/ci +4. cd joid/ci +5. python genMAASConfig.py -l labconfig.yaml > deployment.yaml +6. python genDeploymentConfig.py -l labconfig.yaml > deployconfig.yaml +7. cp ./environments.yaml ~/.juju/ +8. cp ./deployment.yaml ~/.juju/ +9. cp ./labconfig.yaml ~/.juju/ +10. cp ./deployconfig.yaml ~/.juju/ If enabling first time then follow it further. - Create a directory in joid/labconfig/// for example @@ -237,10 +243,11 @@ MAAS Install ------------ After integrating the changes as mentioned above run the MAAS install. -Suppose you name the integration lab as intelpod7 then run the below -commands to start the MAAS deployment. +then run the below commands to start the MAAS deployment. -``   ./00-maasdeploy.sh custom ../labconfig/intel/pod7/labconfig.yaml`` +``   ./00-maasdeploy.sh custom /labconfig.yaml `` +or +``   ./00-maasdeploy.sh custom http:///labconfig.yaml `` ------------- OPNFV Install @@ -249,33 +256,47 @@ OPNFV Install | ``   ./deploy.sh -o mitaka -s odl -t ha -l custom -f none -d xenial`` | ``   `` +./deploy.sh -o mitaka -s odl -t ha -l custom -f none -d xenial + NOTE: Possible options are as follows: -*choose which sdn controller to use. +choose which sdn controller to use. [-s ] nosdn: openvswitch only and no other SDN. odl: OpenDayLight Lithium version. opencontrail: OpenContrail SDN can be installed with Juno Openstack today. onos: ONOS framework as SDN. - + +Mode of Openstack deployed. [-t ] nonha: NO HA mode of Openstack ha: HA mode of openstack. - [-o ] - juno: Juno Openstack + +Wihch version of Openstack deployed. + [-o ] liberty: Liberty version of openstack. - [-l ] etc... - default: For virtual deployment where installation will be done on KVM created using ./02-maasdeploy.sh + Mitaka: Mitaka version of openstack. + +Where to deploy + [-l ] etc... + custom: For bare metal deployment where labconfig.yaml provided externally and not part of JOID. + default: For virtual deployment where installation will be done on KVM created using ./00-maasdeploy.sh intelpod5: Install on bare metal OPNFV pod5 of Intel lab. intelpod6 orangepod2 - .. - .. - : if you make changes as per your pod above then please use that. - [-f ] - none: no special feature will be enabled. - ipv6: ipv6 will be enabled for tenant in openstack.* + custom +what feature to deploy. Comma seperated list + [-f ] + none: no special feature will be enabled. + ipv6: ipv6 will be enabled for tenant in openstack. + lxd: With this feature hypervisor will be LXD rather than KVM. + dvr: Will enable distributed virtual routing. + dpdk: Will enable DPDK feature. + sfc: Will enable sfc feature only supported with onos deployment. + +which Ubuntu distro to use. + [ -d ] ------------ Troubleshoot -- cgit 1.2.3-korg