8abab9f315b23948a3e0587ec5aefe1ca4f6aa0a
[pharos.git] / docs / configguide / lab_update_guide.rst
1 How to update the lab info on this wiki
2 ========================================
3
4
5 Details about Hosted Community OPNFV Test Labs are located in 3 different places:
6
7  - Summarized on the OPNFV wiki [[start#opnfv_community_labs|Start Page]]
8  - Overview with additional details on the [[pharos#opnfv_test_labs|Pharos Test Bed Governance Project Page]]
9  - With Project specific information on each project page
10
11
12 How to update the Start Page
13 -----------------------------
14
15 * Clone the Pharos Git repository and make the changes::
16
17  git clone ssh://<lfid>@gerrit.opnfv.org:29418/pharos
18
19  vi docs/pharos.rst
20  # use the below guide for MAP
21
22  git add docs/pharos.rst
23
24  git commit --signoff
25  # use the proper commit message & include JIRA id
26
27  git review -v
28  # go to gerrit web and add reviewers, wait to have it merged
29  # after code gets merged http://artifacts.opnfv.org/pharos/docs/pharos.html will contain your change
30
31  # edit Wiki page https://wiki.opnfv.org/pharos and look for {{scrape>http://artifacts.opnfv.org/pharos/docs/pharos.html}}
32  # click "Preview" and see if your change is shown; if shown add a short "Edit summary" and click "Save"
33  # This must be done as Wiki does not auto update content for now
34
35 * You will see a section of code as shown below. Add your page to the bullet list with wiki link, nice name, and location summary
36
37
38 How to update the map info on the Pharos Project Page
39 ------------------------------------------------------
40
41   * Login and edit the OPNFV wiki [[pharos#opnfv_test_labs|Pharos Project Page]]
42   * You will see a section of code as shown below. Add your page to the list with a comma separated list as follows:
43     * longitude
44     * latitude
45     * .8 <- for size
46     * marker color png ([[marker-green.png|marker-green.png]], [[marker-blue.png|marker-blue.png]], [[marker-red.png|marker-red.png]], [[marker-gold.png|marker-gold.png]])
47     * Nice Format Lab Name
48     * '';''
49     * Location Summary
50     * ''\\'' <-- for a new line
51     * external link: <-- optional
52
53 MAP::
54
55  <olmap id="olMapOne" width="800px" height="200px" lat="45.0" lon="0.0" zoom="3" statusbar="1" toolbar="1" controls="1" poihoverstyle="0" baselyr="OpenStreetMap" gpxfile="" kmlfile="">
56  50.0117,5.1287,-90,.8,marker-green.png,Pont de Barbouillons; Daverdisse \\ external link:
57  39.90,116.35,60,.8,marker-red.png,China Mobile Labs;Beijing \\ external link:
58  45.50,-73.66,60,.8,marker-blue.png,Ericsson Labs;Montreal \\
59  34.26,108.97,60,.8,marker-green.png, Huawei Labs;Xi an \\
60  45.53,-122.97,60,.8,marker-green.png,Intel Labs;Hillsboro \\
61  48.75867,-3.45196,60,.8,marker-gold.png,Orange Labs;Lannion \\
62  48.82,2.27,60,.8,marker-gold.png,Orange Labs;Paris \\
63  [[http://test.com|test.com]] \\ internal link: [[::start]]\\ **DW Formatting**
64  </olmap>
65
66
67 **Documentation tracking**
68
69 Revision: _sha1_
70
71 Build date:  _date_
72