Jerry Flood | 775f59f | 2017-04-01 06:55:19 -0400 | [diff] [blame] | 1 | <html><head> |
| 2 | <title>Quicklinks To Running Instances</title> |
| 3 | </head> |
| 4 | |
| 5 | <body> |
| 6 | <h1>The Portal</h1> |
| 7 | |
| 8 | The portal is the entry point to design/provision/operate ONAP. From there you can get to SDC, VID and Policy portals. |
| 9 | |
| 10 | The portal can be found at:<p> |
| 11 | |
Jerry Flood | 339809a | 2017-10-30 20:19:16 -0400 | [diff] [blame] | 12 | <a href="http://portal.api.simpledemo.onap.org:8989/ONAPPORTAL/login.htm">Portal</a> |
Jerry Flood | 775f59f | 2017-04-01 06:55:19 -0400 | [diff] [blame] | 13 | <p> |
| 14 | One requires role based user names and passwords to receive the full portal functionality. In the demo setup we pre provisioned: |
| 15 | <p> |
| 16 | <ul> |
| 17 | <li> jh0003 Admin </li> |
| 18 | <li> cs0008 Designer </li> |
| 19 | <li> jm0007 Tester </li> |
| 20 | <li> op0001 Operator </li> |
| 21 | <li> gv0001 Governance </li> |
| 22 | <li> pm0001 Product Manager </li> |
| 23 | <li> ps0001 Product Strategy </li> |
| 24 | </ul> |
| 25 | <p> |
| 26 | the password for all of them is: demo123456! |
| 27 | |
Jerry Flood | c8bd427 | 2017-10-19 13:43:43 -0400 | [diff] [blame] | 28 | <h3>/etc/hosts or C:\Windows\system32\drivers\etc\hosts</h> |
| 29 | <pre> |
Jerry Flood | 8c63629 | 2017-10-30 13:03:31 -0400 | [diff] [blame] | 30 | |
| 31 | ${portal} portal portal.api.simpledemo.onap.org |
| 32 | ${sdc} sdc sdc.api.simpledemo.onap.org |
| 33 | ${vid} vid vid.api.simpledemo.onap.org |
| 34 | ${policy} policy policy.api.simpledemo.onap.org |
| 35 | ${aai1} aai1 aai.api.simpledemo.onap.org |
| 36 | |
| 37 | ${robot} robot |
| 38 | ${appc} appc |
| 39 | ${mso} so |
| 40 | ${sdnc} sdnc |
Jerry Flood | 339809a | 2017-10-30 20:19:16 -0400 | [diff] [blame] | 41 | ${openo} multi-service |
Jerry Flood | 8c63629 | 2017-10-30 13:03:31 -0400 | [diff] [blame] | 42 | ${dcae_controller} dcae |
Jerry Flood | 8c63629 | 2017-10-30 13:03:31 -0400 | [diff] [blame] | 43 | ${message_router} message-router |
| 44 | ${clamp} clamp |
| 45 | |
| 46 | ${portal} ${prefix}-portal |
| 47 | ${sdc} ${prefix}-sdc |
Jerry Flood | 339809a | 2017-10-30 20:19:16 -0400 | [diff] [blame] | 48 | ${vid} ${prefix}-vid |
| 49 | ${policy} ${prefix}-policy |
| 50 | ${aai1} ${prefix}-aai1 |
Jerry Flood | 8c63629 | 2017-10-30 13:03:31 -0400 | [diff] [blame] | 51 | ${robot} ${prefix}-robot |
| 52 | ${appc} ${prefix}-appc |
| 53 | ${mso} ${prefix}-so |
| 54 | ${sdnc} ${prefix}-sdnc |
Jerry Flood | 339809a | 2017-10-30 20:19:16 -0400 | [diff] [blame] | 55 | ${openo} ${prefix}-multi-service |
Jerry Flood | 8c63629 | 2017-10-30 13:03:31 -0400 | [diff] [blame] | 56 | ${dcae_controller} ${prefix}-dcae |
Jerry Flood | 8c63629 | 2017-10-30 13:03:31 -0400 | [diff] [blame] | 57 | ${message_router} ${prefix}-message-router |
| 58 | ${clamp} ${prefix}-clamp |
| 59 | |
Jerry Flood | c8bd427 | 2017-10-19 13:43:43 -0400 | [diff] [blame] | 60 | </pre> |
| 61 | |
Jerry Flood | 775f59f | 2017-04-01 06:55:19 -0400 | [diff] [blame] | 62 | <h1> The Reality </h1> |
| 63 | |
| 64 | As everything should go through the portal there are many subsystems which have there own GUI or API which come in very handy when debugging things. Here the most important once. |
| 65 | |
| 66 | <h2> Testing </h2> |
| 67 | |
Jerry Flood | c8bd427 | 2017-10-19 13:43:43 -0400 | [diff] [blame] | 68 | <h3>Robot Logs</h3> |
Jerry Flood | 775f59f | 2017-04-01 06:55:19 -0400 | [diff] [blame] | 69 | |
Jerry Flood | c8bd427 | 2017-10-19 13:43:43 -0400 | [diff] [blame] | 70 | <a href="http://${robot}:88/logs/"> Robot Logs </a> |
| 71 | |
| 72 | <h3>Robot vm_properties.py for local testing</h3> |
| 73 | <pre> |
| 74 | GLOBAL_INJECTED_ARTIFACTS_VERSION = "${GLOBAL_INJECTED_ARTIFACTS_VERSION}" |
| 75 | GLOBAL_INJECTED_GITLAB_PASSWORD = "password" |
| 76 | GLOBAL_INJECTED_GITLAB_USERNAME = "username" |
| 77 | GLOBAL_INJECTED_NETWORK = "${GLOBAL_INJECTED_NETWORK}" |
| 78 | GLOBAL_INJECTED_NEXUS_DOCKER_REPO = "${GLOBAL_INJECTED_NEXUS_DOCKER_REPO}" |
| 79 | GLOBAL_INJECTED_NEXUS_PASSWORD = "password" |
Jerry Flood | c8bd427 | 2017-10-19 13:43:43 -0400 | [diff] [blame] | 80 | GLOBAL_INJECTED_NEXUS_USERNAME = "docker" |
| 81 | GLOBAL_INJECTED_OPENSTACK_API_KEY = "openstackapikey" |
| 82 | GLOBAL_INJECTED_OPENSTACK_PASSWORD = "openstackpass" |
| 83 | GLOBAL_INJECTED_OPENSTACK_USERNAME = "openstackuser" |
| 84 | GLOBAL_INJECTED_OPENSTACK_TENANT_ID = "${GLOBAL_INJECTED_OPENSTACK_TENANT_ID}" |
| 85 | GLOBAL_INJECTED_REGION = "${GLOBAL_INJECTED_REGION}" |
| 86 | GLOBAL_INJECTED_KEYSTONE = "${GLOBAL_INJECTED_KEYSTONE}" |
| 87 | GLOBAL_INJECTED_AAI1_IP_ADDR = "${aai1}" |
Jerry Flood | c8bd427 | 2017-10-19 13:43:43 -0400 | [diff] [blame] | 88 | GLOBAL_INJECTED_APPC_IP_ADDR = "${appc}" |
| 89 | GLOBAL_INJECTED_DCAE_IP_ADDR = "${dcae_controller}" |
| 90 | GLOBAL_INJECTED_SO_IP_ADDR = "${mso}" |
| 91 | GLOBAL_INJECTED_MR_IP_ADDR = "${message_router}" |
| 92 | GLOBAL_INJECTED_POLICY_IP_ADDR = "${policy}" |
| 93 | GLOBAL_INJECTED_PORTAL_IP_ADDR = "${portal}" |
| 94 | GLOBAL_INJECTED_SDC_IP_ADDR = "${sdc}" |
| 95 | GLOBAL_INJECTED_SDNC_IP_ADDR = "${sdnc}" |
| 96 | GLOBAL_INJECTED_VID_IP_ADDR = "${vid}" |
Gary Wu | 4d80cb7 | 2018-08-06 13:51:02 -0700 | [diff] [blame] | 97 | GLOBAL_INJECTED_MSB_IP_ADDR = "${openo}" |
Jerry Flood | bfc7fcc | 2017-10-27 12:01:36 -0400 | [diff] [blame] | 98 | GLOBAL_INJECTED_CLAMP_IP_ADDR = "${clamp}" |
Jerry Flood | 339809a | 2017-10-30 20:19:16 -0400 | [diff] [blame] | 99 | GLOBAL_INJECTED_VM_FLAVOR = "${GLOBAL_INJECTED_VM_FLAVOR}" |
| 100 | GLOBAL_INJECTED_VM_IMAGE_NAME = "${GLOBAL_INJECTED_VM_IMAGE_NAME}" |
| 101 | GLOBAL_INJECTED_PUBLIC_NET_ID = "${GLOBAL_INJECTED_PUBLIC_NET_ID}" |
| 102 | |
Jerry Flood | c8bd427 | 2017-10-19 13:43:43 -0400 | [diff] [blame] | 103 | </pre> |
Jerry Flood | 775f59f | 2017-04-01 06:55:19 -0400 | [diff] [blame] | 104 | |
| 105 | <h2> SDN-C </h2> |
| 106 | |
| 107 | <a href="http://admin:Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U@${sdnc}:8282/apidoc/explorer/index.html"> Controller </a> with admin/Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U <p> |
| 108 | |
| 109 | <a href="http://${sdnc}:8843/signup"> To sign up </a> <p> |
| 110 | <a href="http://${sdnc}:8843/login"> Admin </a> <p> |
| 111 | |
| 112 | <h2> App-C </h2> |
| 113 | |
| 114 | <a href="http://admin:Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U@${appc}:8282/apidoc/explorer/index.html"> Controller </a> with admin/Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U <p> |
| 115 | |
| 116 | <h2> Policy </h2> |
| 117 | |
| 118 | <b> Not working. </b> : |
| 119 | <a href="http://healthcheck:zb!XztG34@${policy}:6969/healthcheck"> Healthcheck </a> <p> |
| 120 | |
| 121 | <h2> MSO </h2> |
| 122 | |
| 123 | <a href="http://admin:Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U@${mso}:9990/"> JBOSS GUI </a> with admin/Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U <p> |
| 124 | |
| 125 | <a href="http://${mso}:8080/camunda"> Camunda GUI </a> with admin/Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U <p> |
| 126 | |
| 127 | <h2> DCAE </h2> |
| 128 | |
| 129 | <h3> General GUIs </h3> |
| 130 | <a href="http://console:ZjJkYjllMjljMTI2M2Iz@${dcae_controller}:9998/resources"> DCAE Controller </a> |
| 131 | This might show up empty in a web browser as no content type is set in the response. If that's the case use curl: <p> |
| 132 | |
| 133 | curl http://console:ZjJkYjllMjljMTI2M2Iz@${dcae_controller}:9998/resources <p> |
| 134 | |
| 135 | <a href="http://${dcae_cdap}:9999/ns/TCA/apps/dcae-tca/programs/flows/TCAVESCollectorFlow/runs"> CDAP GUI </a> <p> |
| 136 | |
| 137 | <h3> DCAE internal Message Router </h3> |
| 138 | |
| 139 | <a href="http://${dcae_coll}:3904/topics"> Topics </a> <p> |
| 140 | |
| 141 | <a href="http://${dcae_coll}:3904/events/unauthenticated.SEC_MEASUREMENT_OUTPUT/monitor/0?timeout=10000"> MR topic for collector to TCA </a> <p> |
| 142 | |
| 143 | <a href="http://${dcae_coll}:3904/events/unauthenticated.TCA_EVENT_OUTPUT/monitor/0?timeout=10000"> MR topic for TCA alert to Policy </a> <p> |
| 144 | |
| 145 | <h2> Message Router used between core components </h2> |
| 146 | |
| 147 | <a href="http://${message_router}:3904/topics"> List of Topics </a> <p> |
| 148 | |
| 149 | <h3> Topics of Interest </h3> |
| 150 | |
| 151 | For topics without authentication one can monitor the traffic on a topic with: <p> |
| 152 | |
| 153 | http://${message_router}:3904/events/PUT_TOPIC_HERE/group1/C1?timeout=5000 <p> |
| 154 | |
| 155 | some important once listed below. <p> |
| 156 | |
| 157 | <ul> |
| 158 | <li> <a href="http://${message_router}:3904/events/APPC-CL/monitor/0?timeout=10000"> APPC-CL Topic -- Policy Publishes Requests and APP-C publishes response </a> |
| 159 | <li> <a href="http://${message_router}:3904/events/PDPP-CONFIGURATION/monitor/0?timeout=10000"> PDPD-CONFIGURATION Topic </a> |
| 160 | <li> <a href="http://${message_router}:3904/events/POLICY-CL-MGT/monitor/0?timeout=10000"> POLICY-CL-MGT Topic -- Control loop operational policy </a> |
| 161 | <li> <a href="http://${message_router}:3904/events/DCAE-CL-EVENT/monitor/0?timeout=10000"> DCAE-CL-EVENT Topic -- Provides the Analytics output from DCAE</a> |
| 162 | |
| 163 | </ul> |
| 164 | |
| 165 | <h1> SSH to VM </h1> |
| 166 | |
| 167 | The following links will open a shell and ssh to the various running VMs (at least on a Mac). It assumes that the .ssh/config file has been set appropriately and /etc/hosts has been updated to the running instance.<p> |
| 168 | |
Jerry Flood | c8bd427 | 2017-10-19 13:43:43 -0400 | [diff] [blame] | 169 | <a href="ssh://${aai1}"> AAI1 </a><p> |
Jerry Flood | 775f59f | 2017-04-01 06:55:19 -0400 | [diff] [blame] | 170 | <a href="ssh://${policy}"> Policy </a><p> |
| 171 | <a href="ssh://${sdc}"> SDC </a><p> |
| 172 | <a href="ssh://${portal}"> Portal </a><p> |
| 173 | <a href="ssh://${dcae_controller}"> DCAE </a><p> |
| 174 | <a href="ssh://${appc}"> APP-C </a><p> |
| 175 | <a href="ssh://${mso}"> MSO </a><p> |
| 176 | <a href="ssh://${sdnc}"> SDN-C </a><p> |
| 177 | <a href="ssh://${vid}"> VID </a><p> |
| 178 | <a href="ssh://${message_router}"> Message Router </a><p> |
| 179 | <a href="ssh://${robot}"> Robot Framework for testing </a><p> |
| 180 | <a href="ssh://${onapdns}"> DNS server for management network </a><p> |
| 181 | |
| 182 | Inside the VM you can list the docker containers by typing: <p> |
| 183 | docker ps <p> |
| 184 | and can get a shell prompt by executing the bash command. |
| 185 | For example: <p> docker exec -it openecompete_container bash <p> |
| 186 | |
| 187 | |
| 188 | |
| 189 | |
| 190 | </body></html> |