home.html 2.89 KB
Newer Older
<!doctype html>

<html>

<head>
<title>ETSI CTI - TOSCA Tools</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
carignani's avatar
carignani committed
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>

<div class="container-fluid">

{% with messages = get_flashed_messages() %}
  {% if messages %}
   <div class="alert alert-warning" role="alert">
    <ul class=flashes>
    {% for message in messages %}
      <li>{{ message }}</li>
    {% endfor %}
    </ul>
   </div>
  {% endif %}
{% endwith %}

<center>
<h1>TOSCA import/export</h1>
<h5 style="margin-bottom: 50px">v {{ VERSION }}</h5>
<p>
The tools available on this page are provided with NO GUARANTEES and shall be used ONLY for validation of ETSI Specifications. 
<br/>
<br/>
To report bugs, questions or feature request, please use the <a href="https://forge.etsi.org/bugzilla/enter_bug.cgi?product=Forge">the issue tracker at ETSI Forge</a> and select "TOSCA tools" as component. 
<br/>
For any other inquiry, contact <a href="mailto:cti_support@etsi.org">ETSI CTI</a></p>
<div class="row">
carignani's avatar
carignani committed
	<div class="col-sm" >
		<div class="jumbotron">
			<h2  class="display-4" style="text-align:center;">tosca2doc</h2>
			<p class="lead">Generate a Docx document from the set of TOSCA definitions in YAML.</p>
			<hr class="my-4">
				<ol>
						<li>Upload TOSCA definitions in YAML format. Filenames expected are:</li>
						<ul>
							<li>etsi_nfv_sol001_vnfd_types.yaml</li>
							<li>etsi_nfv_sol001_nsd_types.yaml</li>
							<li>etsi_nfv_sol001_pnfd_types.yaml</li>
						</ul>
						<li>Download a docx file containing all the definitions.</li>
					</ol>
carignani's avatar
carignani committed
				<center>
					<a href="/doc2tosca-info">Details</a>
				</center>
				<form action="/tosca2doc" method="post" enctype="multipart/form-data">
					Tosca YAML files:<br />
					<input type="file" name="file" multiple=""/><br /><br />
					<center>
						<input type="submit" class="btn btn-primary" value="Upload" />
					</center>
				</form>			
		</div>
	</div>

	<div class="col-sm">
		<div class="jumbotron">
		<h2 class="display-4"  style="text-align:center;">doc2tosca</h2>
		<p class="lead">Uploade a Docx document to get the TOSCA definitions in YAML files.</p>
		<hr class="my-4">
carignani's avatar
carignani committed
			<ol>
				<li>Load SOL 001 specification in docx format. </li>
				<li>Download a zip file containing TOSCA definitions in YAML.</li>
			</ol>
carignani's avatar
carignani committed
			<center>
				<a href="/doc2tosca-info">Details</a>
			</center>
			<form action="/doc2tosca" method="post" enctype="multipart/form-data">
			Docx file:<br />
			<input type="file" name="file" /><br /><br />
			<center>
				<input type="submit" class="btn btn-primary" value="Upload" />
			</center>
		</form>
	</div>
</div>

</div>

<center>
	<small>Copyright &copy; ETSI 2019. All rights reserved.</small>
</center>
</html>