diff options
author | Parth Yadav <parth.yadav@ramanujan.du.ac.in> | 2020-08-24 12:36:19 +0530 |
---|---|---|
committer | Parth Yadav <parth.yadav@ramanujan.du.ac.in> | 2020-08-24 12:44:21 +0530 |
commit | 3c25e018d2169e982cf5a292dd20cbee2a117336 (patch) | |
tree | 0b83a6ce78a6afde9195de4a1a978eb3a89b0798 /sdv/docker/sdvmodel/resource-estimation/template | |
parent | 69f4c631e49c359338cff5c9f5b2c96c6fe6b280 (diff) |
Init Resource Modelling Tool
Tool for resource planning of VNFs.
Signed-off-by: Parth Yadav<parthyadav3105@gmail.com>
Change-Id: I4729d665707162132b16765b3ba2d7a9d914d339
Diffstat (limited to 'sdv/docker/sdvmodel/resource-estimation/template')
-rw-r--r-- | sdv/docker/sdvmodel/resource-estimation/template/report.html | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/sdv/docker/sdvmodel/resource-estimation/template/report.html b/sdv/docker/sdvmodel/resource-estimation/template/report.html new file mode 100644 index 0000000..b53ea9f --- /dev/null +++ b/sdv/docker/sdvmodel/resource-estimation/template/report.html @@ -0,0 +1,75 @@ +<!DOCTYPE html> +<html> +<head> + <title>Resource Modelling Report</title> + + <meta charset="UTF-8"> + <meta content="width=device-width, initial-scale=1" name="viewport"> + + <link rel="stylesheet" type="text/css" href="style/report.css"> + <link rel="stylesheet" type="text/css" href="style/index.css"> + <link href="https://fonts.googleapis.com/css2?family=Ubuntu&display=swap" rel="stylesheet"> +</head> + +<body> + <div class="report"> + + <h1>Resource Modelling Report</h1> + <br> + + <h3>The VNFs Considered for Modelling:</h3> + + <div class="holder"> + {% for profile in model['vnf_profiles'] %} + <div class="vnf"> + {{ profile['profile_name'] }} + <img src="/assets/vnf.svg"> + </div> + {% endfor %} + </div> + <hr> + + <h3>The Compute-Node Server Profile:</h3> + + The number of vCPUs: {{ model['server']['vcpus'] }} + <br>Number of NUMA nodes on this server: {{ model['server']['numas']}} + <br>vCPUs available for the application in each NUMA: + <br>SRIOV Support?: {{model['sriov_support']}} + <br>vCPUs Isolated: {{ model['server']['cpu_isol_set'] }} + <br>Number of Servers Used: {{ model['deployment_count'] }} + <br> + + <hr> + + {% for zone, server_list in model['deployment'].items() %} + <h3>Servers in Availability zone: {{ zone }}</h3> + + {% for server in server_list %} + <div class="tab">Server ID: {{ loop.index }}</div> + <div class="holder server"> + {% for vnf in server.hosted_vnfs %} + <div class="vnf"> + {{ vnf['vnf'] }} (numa:{{ vnf['numa'] }}) + <img src="/assets/vnf.svg"> + </div> + {% endfor %} + </div> + <br> + {% endfor %} + + <hr> + {% endfor %} + + </div> + +<br> +<button onclick="window.location.href='/'">Go to Home</button> + + + + + + +</body> +</html> + |