doc2tosca-details.html 2.29 KB
Newer Older
carignani's avatar
carignani committed
<!doctype html>

<html>

<head>
<title>ETSI CTI - doc2tosca details</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">
<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>doc2tosca details</h1>
<a href="/tosca-ie">Home</a>
carignani's avatar
carignani committed
<h5 style="margin-bottom: 50px">v {{ VERSION }}</h5>
</center>

<h4>Overview
</h4>

<p>The tool works as follows:</p>

<p>Step 1: In the uploaded Document it searches for headings equal to:</p>
<ul>
<li><code>6    VNFD TOSCA model</code></li>
<li><code>7    NSD TOSCA model</code></li>
<li><code>8    PNFD TOSCA model</code>,</li>
carignani's avatar
carignani committed
<li><code>9    Common Definitions</code>,</li>
<p>Step 2: For each of the section after the heading (and until the next heading is found), the tool searches for tables with the following properties:</p>
<ul>
<li>It contains only one cell (i.e. one row and one column) and</li>
<li>the content matches the regular expression <code>^tosca\.[a-zA-Z\.:0-9\s]*$</code>, i.e. the text starts with <code>tosca.</code> and contains letters, numbers, <code>:</code> or white space.</li>
</ul>

carignani's avatar
carignani committed
<p>Step 3: The four sets of generated definitions are written to files named:</p>

<ul>
<li><code>generated_etsi_nfv_sol001_vnfd_types.yaml</code></li>
<li><code>generated_etsi_nfv_sol001_nsd_types.yaml</code></li>
<li><code>generated_etsi_nfv_sol001_pnfd_types.yaml</code></li>
carignani's avatar
carignani committed
<li><code>generated_etsi_nfv_sol001_common_types.yaml</code></li>
</ul>

<p>Step 4: The files are archived in a zip file named <code>tosca_defs.zip</code> which is served as a response.</p>
carignani's avatar
carignani committed

<center>
<p>
The tools available on this page are provided with NO GUARANTEES and shall be used ONLY for validation of ETSI Specifications. 
<br/>
For any inquiry, contact <a href="mailto:cti_support@etsi.org">ETSI CTI</a></p>
carignani's avatar
carignani committed
	<small>Copyright &copy; ETSI 2019. All rights reserved.</small>
</center>
</body>

</html>