Timoney, Daniel (dt5972) | 324ee36 | 2017-02-15 10:37:53 -0500 | [diff] [blame] | 1 | <!DOCTYPE html> |
| 2 | <html lang="en"> |
| 3 | <head> |
| 4 | <title>SDN-C AdminPortal</title> |
| 5 | <meta charset="utf-8" /> |
| 6 | <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
| 7 | <% include ../partials/head %> |
| 8 | <% include ../partials/header %> |
| 9 | </head> |
| 10 | <body class="container"> |
| 11 | |
| 12 | <div class="actions" style="padding:0px 25px;"> |
| 13 | <h2>Worklist Orders - Request ID: <%= response_obj.requests[0]['svc-request-id'] %></h2> |
| 14 | </div> |
| 15 | |
| 16 | <div class="actions" style="padding:15px 0px;"> |
| 17 | <button type="button" class="btn btn-primary aria-expanded="false" |
| 18 | onclick="viewVNF('/odl/getvnf?request=<%= response_obj.requests[0]['svc-request-id'] %>')">VNF</button> |
| 19 | </div> |
| 20 | |
| 21 | |
| 22 | <div class="table-responsive"> |
| 23 | <table class="table table-bordered"> |
| 24 | <colgroup> |
| 25 | <col class="col-xs-1"> |
| 26 | <col class="col-xs-7"> |
| 27 | </colgroup> |
| 28 | <tbody> |
| 29 | <tr> |
| 30 | <th scope="row">Instance ID</th> |
| 31 | <td><%= response_obj.requests[0]['svc-instance-id'] %></td> |
| 32 | </tr> |
| 33 | <tr> |
| 34 | <th scope="row">Action</th> |
| 35 | <td><%= response_obj.requests[0]['svc-action'] %></td> |
| 36 | </tr> |
| 37 | <tr> |
| 38 | <th scope="row">VNF Type</th> |
| 39 | <td><%= response_obj.requests[0]['svc-vnf-type'] %></td> |
| 40 | </tr> |
| 41 | <tr> |
| 42 | <th scope="row">Notification URL</th> |
| 43 | <td><%= response_obj.requests[0]['svc-notification-url'] %></td> |
| 44 | </tr> |
| 45 | <tr> |
| 46 | <th scope="row">VNF Name</th> |
| 47 | <td><%= response_obj.requests[0].vnf['vnf-name'] %></td> |
| 48 | </tr> |
| 49 | <tr> |
| 50 | <th scope="row">VNF IPv4 Addr</th> |
| 51 | <td><%= response_obj.requests[0].vnf['vnf-oam-ipv4-addr'] %></td> |
| 52 | </tr> |
| 53 | <tr> |
| 54 | <th scope="row">VNF Type</th> |
| 55 | <td><%= response_obj.requests[0].vnf['vnf-type'] %></td> |
| 56 | </tr> |
| 57 | <tr> |
| 58 | <th scope="row">VNF Status</th> |
| 59 | <td><%= response_obj.requests[0].vnf['vnf-status'] %></td> |
| 60 | </tr> |
| 61 | <tr> |
| 62 | <th scope="row">AIC Site ID</th> |
| 63 | <td><%= response_obj.requests[0].vnf['aic-site-id'] %></td> |
| 64 | </tr> |
| 65 | <tr> |
| 66 | <th scope="row">Availability Zone</th> |
| 67 | <td><%= response_obj.requests[0].vnf['availability-zone'] %></td> |
| 68 | </tr> |
| 69 | <tr> |
| 70 | <th scope="row">Network Connection(s)</th> |
| 71 | <td><pre><%= JSON.stringify(response_obj.requests[0].vnf['network-connections'],null,4) %></pre></td> |
| 72 | </tr> |
| 73 | </tbody> |
| 74 | </table> |
| 75 | </div> |
| 76 | |
| 77 | <% include ../partials/form %> |
| 78 | |
| 79 | <footer> |
| 80 | <% include ../partials/footer %> |
| 81 | </footer> |
| 82 | <script type="text/javascript"> |
| 83 | function viewVNF( requestid ) { |
| 84 | alert(requestid); |
| 85 | location.assign(requestid); |
| 86 | } |
| 87 | </script> |
| 88 | |
| 89 | </body> |
| 90 | </html> |
| 91 | |