Commit 12892e55 authored by yangalicace1's avatar yangalicace1
Browse files

Deployed 44f02778 to develop in public with MkDocs 1.6.1 and mike 2.1.3

parent 6d6c018f
Loading
Loading
Loading
Loading
+115 −54
Original line number Original line Diff line number Diff line
@@ -318,56 +318,11 @@
    </span>
    </span>
  </a>
  </a>
  
  
</li>
        
          <li class="md-nav__item">
  <a href="#115-vagrant-box" class="md-nav__link">
    <span class="md-ellipsis">
      1.1.5. Vagrant Box
    </span>
  </a>
  
</li>
</li>
        
        
      </ul>
      </ul>
    </nav>
    </nav>
  
  
</li>
      
        <li class="md-nav__item">
  <a href="#12-install-microk8s" class="md-nav__link">
    <span class="md-ellipsis">
      1.2. Install MicroK8s
    </span>
  </a>
  
</li>
      
        <li class="md-nav__item">
  <a href="#13-deploy-teraflowsdn" class="md-nav__link">
    <span class="md-ellipsis">
      1.3. Deploy TeraFlowSDN
    </span>
  </a>
  
</li>
      
        <li class="md-nav__item">
  <a href="#14-webui-and-grafana-dashboards" class="md-nav__link">
    <span class="md-ellipsis">
      1.4. WebUI and Grafana Dashboards
    </span>
  </a>
  
</li>
      
        <li class="md-nav__item">
  <a href="#15-show-deployment-and-logs" class="md-nav__link">
    <span class="md-ellipsis">
      1.5. Show Deployment and Logs
    </span>
  </a>
  
</li>
</li>
      
      
    </ul>
    </ul>
@@ -556,7 +511,7 @@ controller.</p>
<li><a href="#115-vagrant-box">Vagrant Box</a></li>
<li><a href="#115-vagrant-box">Vagrant Box</a></li>
</ul>
</ul>
<h3 id="111-physical-server"><strong>1.1.1. Physical Server</strong></h3>
<h3 id="111-physical-server"><strong>1.1.1. Physical Server</strong></h3>
<p>This page describes how to configure a physical server for running ETSI TeraFlowSDN(TFS) controller.</p>
<p>This section describes how to configure a physical server for running ETSI TeraFlowSDN(TFS) controller.</p>
<h3><u>Server Specifications</u></h3>
<h3><u>Server Specifications</u></h3>


<p><strong>Minimum Server Specifications for development and basic deployment</strong></p>
<p><strong>Minimum Server Specifications for development and basic deployment</strong></p>
@@ -655,7 +610,7 @@ sudo apt-get dist-upgrade -y
<li>Restart the VM when the installation is completed.</li>
<li>Restart the VM when the installation is completed.</li>
</ul>
</ul>
<h3 id="112-oracle-virtual-box"><strong>1.1.2. Oracle Virtual Box</strong></h3>
<h3 id="112-oracle-virtual-box"><strong>1.1.2. Oracle Virtual Box</strong></h3>
<p>This page describes how to configure a VM for running ETSI TeraFlowSDN(TFS) controller using <a href="https://www.virtualbox.org/">Oracle VirtualBox</a>. It has been tested with VirtualBox up to version 6.1.40 r154048.</p>
<p>This section describes how to configure a VM for running ETSI TeraFlowSDN(TFS) controller using <a href="https://www.virtualbox.org/">Oracle VirtualBox</a>. It has been tested with VirtualBox up to version 6.1.40 r154048.</p>
<h3><u>Create a NAT Network in VirtualBox</u></h3>
<h3><u>Create a NAT Network in VirtualBox</u></h3>
<p>In "Oracle VM VirtualBox Manager", Menu "File &gt; Preferences... &gt; Network", create a NAT 
<p>In "Oracle VM VirtualBox Manager", Menu "File &gt; Preferences... &gt; Network", create a NAT 
network with the following specifications:</p>
network with the following specifications:</p>
@@ -802,7 +757,7 @@ sudo ./VBoxLinuxAdditions.run
sudo reboot
sudo reboot
</code></pre>
</code></pre>
<h3 id="113-vmware-fusion"><strong>1.1.3. VMWare Fusion</strong></h3>
<h3 id="113-vmware-fusion"><strong>1.1.3. VMWare Fusion</strong></h3>
<p>This page describes how to configure a VM for running ETSI TeraFlowSDN(TFS) controller using <a href="https://www.vmware.com/products/fusion.html">VMWare Fusion</a>. It has been tested with VMWare Fusion version 12 and 13.</p>
<p>This section describes how to configure a VM for running ETSI TeraFlowSDN(TFS) controller using <a href="https://www.vmware.com/products/fusion.html">VMWare Fusion</a>. It has been tested with VMWare Fusion version 12 and 13.</p>
<h3><u>Create VM in VMWare Fusion:</u></h3>
<h3><u>Create VM in VMWare Fusion:</u></h3>


<p>In "VMWare Fusion" manager, create a new network from the "Settings/Network" menu.</p>
<p>In "VMWare Fusion" manager, create a new network from the "Settings/Network" menu.</p>
@@ -856,12 +811,118 @@ sudo reboot
sudo apt-get dist-upgrade -y
sudo apt-get dist-upgrade -y
</code></pre>
</code></pre>
<h3 id="114-openstack"><strong>1.1.4. OpenStack</strong></h3>
<h3 id="114-openstack"><strong>1.1.4. OpenStack</strong></h3>
<h3 id="115-vagrant-box"><strong>1.1.5. Vagrant Box</strong></h3>
<p>This section describes how to configure a VM for running ETSI TeraFlowSDN(TFS) controller using <a href="https://www.openstack.org/">OpenStack</a>. It has been tested with OpenStack Kolla up to Yoga version. </p>
<p>Other virtualization environments might be used; in that case, you will need to adapt these instructions to your particular case. If you want to contribute with details on how you used other hypervisors or platforms, <a href="https://labs.etsi.org/rep/tfs/controller/-/wikis/home#contact">contact</a> the TFS team through Slack.</p>
<h3><u>Create a Security Group in OpenStack</h3>
<h2 id="12-install-microk8s"><strong>1.2. Install MicroK8s</strong></h2>
<p></u>
<h2 id="13-deploy-teraflowsdn"><strong>1.3. Deploy TeraFlowSDN</strong></h2>
In OpenStack, go to Project - Network - Security Groups - Create Security Group with name TFS</p>
<h2 id="14-webui-and-grafana-dashboards"><strong>1.4. WebUI and Grafana Dashboards</strong></h2>
<p>Add the following rules:</p>
<h2 id="15-show-deployment-and-logs"><strong>1.5. Show Deployment and Logs</strong></h2>
<table>
<thead>
<tr>
<th>Direction</th>
<th>Ether Type</th>
<th>IP Protocol</th>
<th>Port Range</th>
<th>Remote IP Prefix</th>
</tr>
</thead>
<tbody>
<tr>
<td>Ingress</td>
<td>IPv4</td>
<td>TCP</td>
<td>22 (SSH)</td>
<td>0.0.0.0/0</td>
</tr>
<tr>
<td>Ingress</td>
<td>IPv4</td>
<td>TCP</td>
<td>2200</td>
<td>0.0.0.0/0</td>
</tr>
<tr>
<td>Ingress</td>
<td>IPv4</td>
<td>TCP</td>
<td>8080</td>
<td>0.0.0.0/0</td>
</tr>
<tr>
<td>Ingress</td>
<td>IPv4</td>
<td>TCP</td>
<td>80</td>
<td>0.0.0.0/0</td>
</tr>
<tr>
<td>Egress</td>
<td>IPv4</td>
<td>Any</td>
<td>Any</td>
<td>0.0.0.0/0</td>
</tr>
<tr>
<td>Egress</td>
<td>IPv6</td>
<td>Any</td>
<td>Any</td>
<td>::/0</td>
</tr>
</tbody>
</table>
<p><strong>Note</strong>: The IP address will be assigned depending on the network you have configured inside OpenStack. This IP will have to be modified in TeraFlow configuration files which by default use IP 10.0.2.10</p>
<h3><u>Create a flavour</h3>
<p></u></p>
<p><strong>From dashboard (Horizon)</strong></p>
<p>Go to Admin - Compute - Flavors and press Create Flavor</p>
<ul>
<li>Name: TFS</li>
<li>VCPUs: 4</li>
<li>RAM (MB): 8192</li>
<li>Root Disk (GB): 60</li>
</ul>
<p><strong>From CLI</strong></p>
<pre><code> openstack flavor create TFS --id auto --ram 8192 --disk 60 --vcpus 8
</code></pre>
<h3><u>Create an instance in OpenStack:

- Instance name: TFS-VM
- Origin: [Ubuntu-22.04 cloud image] (https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img)
- Create new volume: No
- Flavor: TFS
- Networks: extnet 
- Security Groups: TFS
- Configuration: Include the following cloud-config


<pre><code>#cloud-config
# Modifies the password for the VM instance
username: ubuntu
password: &lt;your-password&gt;
chpasswd: { expire: False }
ssh_pwauth: True
</code></pre>



<h3><u>Upgrade the Ubuntu distribution</h3></u>

<pre><code class="language-bash">sudo apt-get update -y
sudo apt-get dist-upgrade -y
</code></pre>

- If asked to restart services, restart the default ones proposed.
- Restart the VM when the installation is completed.

### **1.1.5. Vagrant Box**

Other virtualization environments might be used; in that case, you will need to adapt these instructions to your particular case. If you want to contribute with details on how you used other hypervisors or platforms, [contact](https://labs.etsi.org/rep/tfs/controller/-/wikis/home#contact) the TFS team through Slack.

## **1.2. Install MicroK8s**
## **1.3. Deploy TeraFlowSDN**
## **1.4. WebUI and Grafana Dashboards**
## **1.5. Show Deployment and Logs**






+1 −1

File changed.

Preview size limit exceeded, changes collapsed.