<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://osm.etsi.org/wikipub/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mirabal</id>
	<title>OSM Public Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://osm.etsi.org/wikipub/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Mirabal"/>
	<link rel="alternate" type="text/html" href="https://osm.etsi.org/wikipub/index.php/Special:Contributions/Mirabal"/>
	<updated>2026-05-11T01:02:24Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.1</generator>
	<entry>
		<id>https://osm.etsi.org/wikipub/index.php?title=Openstack_configuration_(Release_TWO)&amp;diff=1689</id>
		<title>Openstack configuration (Release TWO)</title>
		<link rel="alternate" type="text/html" href="https://osm.etsi.org/wikipub/index.php?title=Openstack_configuration_(Release_TWO)&amp;diff=1689"/>
		<updated>2017-08-29T09:14:01Z</updated>

		<summary type="html">&lt;p&gt;Mirabal: /* Add openstack to OSM */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
=Configure openstack for OSM (basic)=&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1. Guarantee that Openstack API endpoints are reachable from OSM (particularly from RO container)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2. Create a management network, with DHCP enabled, reachable from OSM (particularly from VCA container)&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You need to create a management network, with DHCP enabled, and guarantee that this management network is reachable from OSM. The network is used by the VCA (Juju) for configuring the VNFs once they are running. It is recommended to create a provider network, isolated from Openstack. For instance, in order to create a provider network using physical interface em1 and VLAN 500 and with CIDR 10.208.0.0/24, you should run the following commands:&lt;br /&gt;
 neutron net-create mgmt --provider:network_type=vlan --provider:physical_network=physnet_em1 --provider:segmentation_id=500 --shared&lt;br /&gt;
 neutron subnet-create --name subnet-mgmt mgmt 10.208.0.0/24 --allocation-pool start=10.208.0.2,end=10.208.0.254&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3. Create a valid tenant/user&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
You need to create a tenant/user with rights to create/delete flavors. The easiest way is to create a user and assign it the role &amp;quot;admin&amp;quot;. Another option is to change the general flavor management policies at file &#039;&#039;/etc/nova/policy.json&#039;&#039; to allow flavor creation per user.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;4. Upload images&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
OSM will create the needed images into openstack at deployment time, but the process takes a long time and the provided path at VNFD must be accesible by OSM. For this reason, it is recommended to upload the images of the VNFs manually at openstack, using the following command:&lt;br /&gt;
&lt;br /&gt;
 openstack image create --file=&amp;quot;./cirros-0.3.4-x86_64-disk.img&amp;quot; --container-format=bare --disk-format=qcow2 --public cirros034&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;5. Modify default security group or create a new one&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
By default openstack apply the &amp;quot;default&amp;quot; security group that blocks any incoming traffic to the VM. However ssh access is needed by VCA. You must modify the default security group to allow TCP port 22 or; create a new security group and configure RO to use this security group when datacenter is addeed (see [[Openstack_configuration_(Release_TWO)#Add_openstack_to_OSM|Add openstack to OSM]] )&lt;br /&gt;
&lt;br /&gt;
=Configure openstack for OSM (EPA)=&lt;br /&gt;
&lt;br /&gt;
Besides the instructions above for any Openstack, you should do extra configuration to configure openstack for running VNFs which use SRIOV interfaces.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;1. Provide a mechanism to connect the SR-IOV interfaces&#039;&#039;&#039;. As they are physical ports connected to an external switch, Neutron will not be able to connect them. You can use a physical switch programmed to interconnect the vlan tags among them (not recommened for security reasons). Another solution is to use a ML2 plugin that programs the external switch. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;2. Configure the Neutron controller for using SR-IOV ports&#039;&#039;&#039;&lt;br /&gt;
&amp;lt;p&amp;gt;Edit /etc/neutron/plugins/ml2/ml2_conf.ini with the tag and vlan ranges used by the dataplane network&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 [ml2_type_vlan] &lt;br /&gt;
  network_vlan_ranges = physnet_sriov:3000:3100&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3. Configure the compute nodes for using SR-IOV&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
On each compute node you have to associate the VFs available to each physical network. That is performed by configuring pci_passthrough_whitelist in /etc/nova/nova.conf. So, for example:&lt;br /&gt;
&lt;br /&gt;
 pci_passthrough_whitelist = {&amp;quot;vendor_id&amp;quot;:&amp;quot;8086&amp;quot;, &amp;quot;product_id&amp;quot;:&amp;quot;10ed&amp;quot;,&amp;quot;physical_network&amp;quot;:&amp;quot;physnet_sriov&amp;quot;}&lt;br /&gt;
&lt;br /&gt;
=Add openstack to OSM=&lt;br /&gt;
&lt;br /&gt;
There is a parameter called &#039;&#039;&#039;--config&#039;&#039;&#039; used to supply general configuration options both at datacenter creation and datacenter attachment to openmano tenant (the latter prevails).&lt;br /&gt;
 openmano datacenter-create openstack-site http://10.10.10.11:5000/v2.0 --type openstack --description &amp;quot;OpenStack site&amp;quot; --config=&#039;{security_groups: default, keypair: mykey}&#039; &lt;br /&gt;
 openmano datacenter-attach openstack-site --user=admin --password=userpwd --vim-tenant-name=admin --config=&#039;{availability_zone: one}&#039;&lt;br /&gt;
&lt;br /&gt;
The following configuration can be added:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;security_groups&#039;&#039;&#039;:    To be used for the deployment&lt;br /&gt;
* &#039;&#039;&#039;availability_zone&#039;&#039;&#039;:  To be used for the deployment&lt;br /&gt;
* &#039;&#039;&#039;region_name&#039;&#039;&#039;:        The region where the VM must be deployed.&lt;br /&gt;
* &#039;&#039;&#039;insecure&#039;&#039;&#039;:           (By default false). When true it allows authorization over a non trusted certificate over https&lt;br /&gt;
* &#039;&#039;&#039;use_existing_flavors&#039;&#039;&#039;:         (By default false). Set to &amp;quot;True&amp;quot; to use the closer flavor with enough resources instead of creating a new flavor with the exact requirements. This option does not work for EPA (cpu pinning, huge pages, ...) where openmano still tries to create a flavor with the needed extra expects. Use this options when you do not have admin credentials (Available from future v2.0.2 version)&lt;br /&gt;
* &#039;&#039;&#039;APIversion&#039;&#039;&#039;:         (By default v2.0). Set to &amp;quot;v3.3&amp;quot; to use this openstack API version (experimental)&lt;br /&gt;
&lt;br /&gt;
ADVANCED configuration:&lt;br /&gt;
&lt;br /&gt;
* &#039;&#039;&#039;keypair&#039;&#039;&#039;:            To be added in addition to the keypair allocated on the VNF descriptor. Provide the name of a openstack keypair&lt;br /&gt;
* &#039;&#039;&#039;dataplane_physical_net&#039;&#039;&#039;: The configured network_vlan_ranges at neutron for the SRIOV (binding direct) and passthrough (binding direct-physical) networks, e.g. &#039;physnet_sriov&#039; in the above configuration&lt;br /&gt;
* &#039;&#039;&#039;use_floating_ip&#039;&#039;&#039;:    (By default false). When true a management interface of a VNFD is automatically asigned a floating_ip -if possible-. The prefered method is to use a provider network&lt;br /&gt;
&lt;br /&gt;
The content of config is a yaml format text. The recomendation is to use a comma separated list between curly brackets {} and quotes, e.g.:&lt;br /&gt;
 --config=&#039;{use_floating_ip: True, availability_zone: controller}&#039;&lt;br /&gt;
 --config=&#039;{use_floating_ip: True, availability_zone: [zone1, zone2]}&#039;&lt;/div&gt;</summary>
		<author><name>Mirabal</name></author>
	</entry>
	<entry>
		<id>https://osm.etsi.org/wikipub/index.php?title=Configuration_of_Openvim_Compute_Node_for_RHEL7.2_and_CentOS7.2&amp;diff=1616</id>
		<title>Configuration of Openvim Compute Node for RHEL7.2 and CentOS7.2</title>
		<link rel="alternate" type="text/html" href="https://osm.etsi.org/wikipub/index.php?title=Configuration_of_Openvim_Compute_Node_for_RHEL7.2_and_CentOS7.2&amp;diff=1616"/>
		<updated>2017-06-21T10:09:31Z</updated>

		<summary type="html">&lt;p&gt;Mirabal: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;This article contains specific instructions to configure a compute node, ready for NFV data plane workloads, based on a RHEL7.2 server or CentOS 7.2 Server Linux system.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In order to apply the configuration, you can do it automatically by using a script that performs all actions apart from BIOS configuration and user key sharing. This script is &#039;&#039;&#039;only for RHEL7.2 server and CentOS7.2 server&#039;&#039;&#039;.&lt;br /&gt;
 wget -O install-openvim.sh &amp;quot;https://osm.etsi.org/gitweb/?p=osm/openvim.git;a=blob_plain;f=scripts/configure-compute-node-RHEL7.2.sh;hb=1ff6c02ecff38378a4d7366e223cefd30670602e&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 chmod +x ./configure-compute-node-RHEL7.2.sh&lt;br /&gt;
 sudo ./configure-compute-node-RHEL7.2.sh &amp;lt;user&amp;gt; &amp;lt;iface&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The variable &amp;lt;user&amp;gt; is the host user used by openvim to connect via ssh (libvirt admin rights will be granted to that user). The variable &amp;lt;iface&amp;gt; is the host interface where Linux bridges will be provisioned. &lt;br /&gt;
&lt;br /&gt;
It is also possible to do the process manually. The [[Installation of an Openvim Compute Node|general guidelines]] fully apply to compute nodes based on RHEL7.2 or CentOS7.2 . You can follow all detailed instructions from there.&lt;/div&gt;</summary>
		<author><name>Mirabal</name></author>
	</entry>
	<entry>
		<id>https://osm.etsi.org/wikipub/index.php?title=Configuration_of_Openvim_Compute_Node_for_RHEL7.2_and_CentOS7.2&amp;diff=1615</id>
		<title>Configuration of Openvim Compute Node for RHEL7.2 and CentOS7.2</title>
		<link rel="alternate" type="text/html" href="https://osm.etsi.org/wikipub/index.php?title=Configuration_of_Openvim_Compute_Node_for_RHEL7.2_and_CentOS7.2&amp;diff=1615"/>
		<updated>2017-06-21T10:07:56Z</updated>

		<summary type="html">&lt;p&gt;Mirabal: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;&#039;This article contains specific instructions to configure a compute node, ready for NFV data plane workloads, based on a RHEL7.2 server or CentOS 7.2 Server Linux system.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In order to apply the configuration, you can do it automatically by using a script that performs all actions apart from BIOS configuration and user key sharing. This script is &#039;&#039;&#039;only for RHEL7.2 and CentOS7.2&#039;&#039;&#039;.&lt;br /&gt;
 wget -O install-openvim.sh &amp;quot;https://osm.etsi.org/gitweb/?p=osm/openvim.git;a=blob_plain;f=scripts/configure-compute-node-RHEL7.2.sh;hb=1ff6c02ecff38378a4d7366e223cefd30670602e&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 chmod +x ./configure-compute-node-RHEL7.2.sh&lt;br /&gt;
 sudo ./configure-compute-node-RHEL7.2.sh &amp;lt;user&amp;gt; &amp;lt;iface&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The variable &amp;lt;user&amp;gt; is the host user used by openvim to connect via ssh (libvirt admin rights will be granted to that user). The variable &amp;lt;iface&amp;gt; is the host interface where Linux bridges will be provisioned. &lt;br /&gt;
&lt;br /&gt;
It is also possible to do the process manually. The [[Installation of an Openvim Compute Node|general guidelines]] fully apply to compute nodes based on RHEL7.2 or CentOS7.2. You can follow all detailed instructions from there.&lt;/div&gt;</summary>
		<author><name>Mirabal</name></author>
	</entry>
	<entry>
		<id>https://osm.etsi.org/wikipub/index.php?title=Talk:OpenVIM_installation_(Release_TWO)&amp;diff=1579</id>
		<title>Talk:OpenVIM installation (Release TWO)</title>
		<link rel="alternate" type="text/html" href="https://osm.etsi.org/wikipub/index.php?title=Talk:OpenVIM_installation_(Release_TWO)&amp;diff=1579"/>
		<updated>2017-06-12T15:51:56Z</updated>

		<summary type="html">&lt;p&gt;Mirabal: /* OVS controller */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Introduction=&lt;br /&gt;
Openvim is an implementation of an NFV VIM supporting EPA features and control of an underlay switching infrastructure through an OFC. Some of the EPA features included in openvim are:&lt;br /&gt;
&lt;br /&gt;
*CPU pinning&lt;br /&gt;
*Memory pinning&lt;br /&gt;
*NUMA pinning&lt;br /&gt;
*Support of memory huge pages&lt;br /&gt;
*Port passthrough interfaces&lt;br /&gt;
*SR-IOV interfaces&lt;br /&gt;
*Injection of virtual PCI addresses&lt;br /&gt;
&lt;br /&gt;
Openvim controller interfaces with Openvim compute nodes in the NFV Infrastructure and an Openflow controller in order to provide computing and networking capabilities and to deploy virtual machines. It offers a northbound interface, based on REST (openvim API), where enhanced cloud services are offered including the creation, deletion and management of images, flavors, instances and networks.&lt;br /&gt;
&lt;br /&gt;
Next figure shows a general diagram of a datacenter controlled by openvim.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Openvim controller relies on an NFS server as image repository, an Openflow Clontroller to configure the underlay switches, and a DHCP server to provide management IP addresses to the VMs. For simplicity, these instructions will asume that these three additional modules (image repo, OFC and DHCP server will be hosted in the same machine as Openvim controller.&lt;br /&gt;
&lt;br /&gt;
=Requirements=&lt;br /&gt;
==Openvim controller==&lt;br /&gt;
&lt;br /&gt;
==Openvim compute nodes==&lt;br /&gt;
&lt;br /&gt;
=Installation=&lt;br /&gt;
&lt;br /&gt;
==Openvim Controller==&lt;br /&gt;
&lt;br /&gt;
==NFS server==&lt;br /&gt;
&lt;br /&gt;
== DHCP server (Bridge)==&lt;br /&gt;
&lt;br /&gt;
For bridge type openvim (network_type : bridge) relays on precreated bridges at compute nodes that has L2 connectivity using e.g. a switch in trunk mode. In this mode you should provide an external DHCP server for the management network&lt;br /&gt;
&lt;br /&gt;
Open &#039;&#039;&#039;openvimd.cfg&#039;&#039;&#039; and modify network_type:&lt;br /&gt;
&lt;br /&gt;
 network_type : bridge&lt;br /&gt;
&lt;br /&gt;
For the management network a DHCP server is needed. Install the package dhcp3-server. This package will install the actual DHCP server based on isc-dhcp-server package.&lt;br /&gt;
&lt;br /&gt;
 Ubuntu 14.04:  sudo apt-get install dhcp3-server&lt;br /&gt;
 Ubuntu 16.04:  sudo apt install isc-dhcp-server&lt;br /&gt;
&lt;br /&gt;
Configure it editing file &#039;&#039;&#039;/etc/default/isc-dhcp-server&#039;&#039;&#039; to enable DHCP server in the appropriate interface, the one attached to Telco/VNF management network (e.g. eth1).&lt;br /&gt;
&lt;br /&gt;
 $ sudo vi /etc/default/isc-dhcp-server&lt;br /&gt;
 INTERFACES=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Edit file &#039;&#039;&#039;/etc/dhcp/dhcpd.conf&#039;&#039;&#039; to specify the subnet, netmask and range of IP addresses to be offered by the server.&lt;br /&gt;
&lt;br /&gt;
 $ sudo vi /etc/dhcp/dhcpd.conf&lt;br /&gt;
 ddns-update-style none;&lt;br /&gt;
 default-lease-time 86400;&lt;br /&gt;
 max-lease-time 86400;&lt;br /&gt;
 log-facility local7;&lt;br /&gt;
 option subnet-mask 255.255.0.0;&lt;br /&gt;
 option broadcast-address 10.210.255.255;&lt;br /&gt;
 subnet 10.210.0.0 netmask 255.255.0.0 {&lt;br /&gt;
  range 10.210.1.2 10.210.1.254;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Restart the service:&lt;br /&gt;
&lt;br /&gt;
 sudo service isc-dhcp-server restart&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== OVS controller==&lt;br /&gt;
 &lt;br /&gt;
For ovs type openvim creates a ovs vxlan tunnel and launches a dhcp server in the ovs_controller. The ovs_controller can be a different or the same machine where openvim is running.&lt;br /&gt;
&lt;br /&gt;
Some preparation is need it before for DHCP management through OVS networks:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	Execute &#039;&#039;scripts/configure-dhcp-server-UBUNTU16.0.4.sh&#039;&#039; to prepare ovs controller. Can be placed in the same Openvim VM or in a new one. &lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;$sudo ./openvim/scripts/configure-dhcp-server-UBUNTU16.0.4.sh &amp;lt;user-name&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
	Open &#039;&#039;&#039;openvimd.cfg&#039;&#039;&#039; and modify network_type:&lt;br /&gt;
&lt;br /&gt;
 network_type : ovs&lt;br /&gt;
 ovs_controller_ip:        &amp;lt;ovs_controller ip&amp;gt;    # dhcp controller IP address, must be change in &lt;br /&gt;
                                                  # order to reach computes. &lt;br /&gt;
 ovs_controller_user:      &amp;lt;ovs_controller user&amp;gt;  # User for the dchp controller for OVS networks&lt;br /&gt;
 ovs_controller_file_path: &#039;/var/lib/openvim&#039;     # ovs_controller Path for dhcp daemon &lt;br /&gt;
                                                  # configuration, by default &#039;/var/lib/openvim&lt;br /&gt;
&lt;br /&gt;
	For automatic login from openvim controller to OVS controller computes fill the ovs_controller_keyfile path to the public ssh key must be specify in openvimd.cfg. &lt;br /&gt;
 &lt;br /&gt;
 ovs_controller_keyfile:   /path/to/ssh-key-file  # ssh-access-key file to connect host&lt;br /&gt;
 host_ssh_keyfile: /path/to/ssh-key-file  # Default ssh_kye to use for connecting to compute nodes&lt;br /&gt;
&lt;br /&gt;
=Openvim Compute Node configuration=&lt;br /&gt;
&lt;br /&gt;
=Configuring openvim=&lt;br /&gt;
==Configure openvimd.cfg==&lt;br /&gt;
==Restarting openvim==&lt;br /&gt;
==Adding a compute node==&lt;br /&gt;
==Creating the management network==&lt;br /&gt;
==Creating a tenant==&lt;/div&gt;</summary>
		<author><name>Mirabal</name></author>
	</entry>
	<entry>
		<id>https://osm.etsi.org/wikipub/index.php?title=Talk:OpenVIM_installation_(Release_TWO)&amp;diff=1578</id>
		<title>Talk:OpenVIM installation (Release TWO)</title>
		<link rel="alternate" type="text/html" href="https://osm.etsi.org/wikipub/index.php?title=Talk:OpenVIM_installation_(Release_TWO)&amp;diff=1578"/>
		<updated>2017-06-12T15:51:07Z</updated>

		<summary type="html">&lt;p&gt;Mirabal: /* OVS controller */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Introduction=&lt;br /&gt;
Openvim is an implementation of an NFV VIM supporting EPA features and control of an underlay switching infrastructure through an OFC. Some of the EPA features included in openvim are:&lt;br /&gt;
&lt;br /&gt;
*CPU pinning&lt;br /&gt;
*Memory pinning&lt;br /&gt;
*NUMA pinning&lt;br /&gt;
*Support of memory huge pages&lt;br /&gt;
*Port passthrough interfaces&lt;br /&gt;
*SR-IOV interfaces&lt;br /&gt;
*Injection of virtual PCI addresses&lt;br /&gt;
&lt;br /&gt;
Openvim controller interfaces with Openvim compute nodes in the NFV Infrastructure and an Openflow controller in order to provide computing and networking capabilities and to deploy virtual machines. It offers a northbound interface, based on REST (openvim API), where enhanced cloud services are offered including the creation, deletion and management of images, flavors, instances and networks.&lt;br /&gt;
&lt;br /&gt;
Next figure shows a general diagram of a datacenter controlled by openvim.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Openvim controller relies on an NFS server as image repository, an Openflow Clontroller to configure the underlay switches, and a DHCP server to provide management IP addresses to the VMs. For simplicity, these instructions will asume that these three additional modules (image repo, OFC and DHCP server will be hosted in the same machine as Openvim controller.&lt;br /&gt;
&lt;br /&gt;
=Requirements=&lt;br /&gt;
==Openvim controller==&lt;br /&gt;
&lt;br /&gt;
==Openvim compute nodes==&lt;br /&gt;
&lt;br /&gt;
=Installation=&lt;br /&gt;
&lt;br /&gt;
==Openvim Controller==&lt;br /&gt;
&lt;br /&gt;
==NFS server==&lt;br /&gt;
&lt;br /&gt;
== DHCP server (Bridge)==&lt;br /&gt;
&lt;br /&gt;
For bridge type openvim (network_type : bridge) relays on precreated bridges at compute nodes that has L2 connectivity using e.g. a switch in trunk mode. In this mode you should provide an external DHCP server for the management network&lt;br /&gt;
&lt;br /&gt;
Open &#039;&#039;&#039;openvimd.cfg&#039;&#039;&#039; and modify network_type:&lt;br /&gt;
&lt;br /&gt;
 network_type : bridge&lt;br /&gt;
&lt;br /&gt;
For the management network a DHCP server is needed. Install the package dhcp3-server. This package will install the actual DHCP server based on isc-dhcp-server package.&lt;br /&gt;
&lt;br /&gt;
 Ubuntu 14.04:  sudo apt-get install dhcp3-server&lt;br /&gt;
 Ubuntu 16.04:  sudo apt install isc-dhcp-server&lt;br /&gt;
&lt;br /&gt;
Configure it editing file &#039;&#039;&#039;/etc/default/isc-dhcp-server&#039;&#039;&#039; to enable DHCP server in the appropriate interface, the one attached to Telco/VNF management network (e.g. eth1).&lt;br /&gt;
&lt;br /&gt;
 $ sudo vi /etc/default/isc-dhcp-server&lt;br /&gt;
 INTERFACES=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Edit file &#039;&#039;&#039;/etc/dhcp/dhcpd.conf&#039;&#039;&#039; to specify the subnet, netmask and range of IP addresses to be offered by the server.&lt;br /&gt;
&lt;br /&gt;
 $ sudo vi /etc/dhcp/dhcpd.conf&lt;br /&gt;
 ddns-update-style none;&lt;br /&gt;
 default-lease-time 86400;&lt;br /&gt;
 max-lease-time 86400;&lt;br /&gt;
 log-facility local7;&lt;br /&gt;
 option subnet-mask 255.255.0.0;&lt;br /&gt;
 option broadcast-address 10.210.255.255;&lt;br /&gt;
 subnet 10.210.0.0 netmask 255.255.0.0 {&lt;br /&gt;
  range 10.210.1.2 10.210.1.254;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Restart the service:&lt;br /&gt;
&lt;br /&gt;
 sudo service isc-dhcp-server restart&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== OVS controller==&lt;br /&gt;
 &lt;br /&gt;
For ovs type openvim creates a ovs vxlan tunnel and launches a dhcp server in the ovs_controller. The ovs_controller can be a different or the same machine where openvim is running.&lt;br /&gt;
&lt;br /&gt;
Some preparation is need it before for DHCP management through OVS networks:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	Execute &#039;&#039;scripts/configure-dhcp-server-UBUNTU16.0.4.sh&#039;&#039; to prepare ovs controller. Can be placed in the same Openvim VM or in a new one. &lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;$sudo ./openvim/scripts/configure-dhcp-server-UBUNTU16.0.4.sh &amp;lt;user-name&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
	Open &#039;&#039;&#039;openvimd.cfg&#039;&#039;&#039; and modify network_type:&lt;br /&gt;
&lt;br /&gt;
 network_type : ovs&lt;br /&gt;
 ovs_controller_ip:        &amp;lt;net controller ip&amp;gt;    # dhcp controller IP address, must be change in &lt;br /&gt;
                                                  # order to reach computes. &lt;br /&gt;
 ovs_controller_user:      &amp;lt;net controller user&amp;gt;  # User for the dchp controller for OVS networks&lt;br /&gt;
 ovs_controller_file_path: &#039;/var/lib/openvim&#039;     # Net controller Path for dhcp daemon &lt;br /&gt;
                                                  # configuration, by default &#039;/var/lib/openvim&lt;br /&gt;
&lt;br /&gt;
	For automatic login from openvim controller to OVS controller computes fill the ovs_controller_keyfile path to the public ssh key must be specify in openvimd.cfg. &lt;br /&gt;
 &lt;br /&gt;
 ovs_controller_keyfile:   /path/to/ssh-key-file  # ssh-access-key file to connect host&lt;br /&gt;
 host_ssh_keyfile: /path/to/ssh-key-file  # Default ssh_kye to use for connecting to compute nodes&lt;br /&gt;
&lt;br /&gt;
=Openvim Compute Node configuration=&lt;br /&gt;
&lt;br /&gt;
=Configuring openvim=&lt;br /&gt;
==Configure openvimd.cfg==&lt;br /&gt;
==Restarting openvim==&lt;br /&gt;
==Adding a compute node==&lt;br /&gt;
==Creating the management network==&lt;br /&gt;
==Creating a tenant==&lt;/div&gt;</summary>
		<author><name>Mirabal</name></author>
	</entry>
	<entry>
		<id>https://osm.etsi.org/wikipub/index.php?title=Talk:OpenVIM_installation_(Release_TWO)&amp;diff=1577</id>
		<title>Talk:OpenVIM installation (Release TWO)</title>
		<link rel="alternate" type="text/html" href="https://osm.etsi.org/wikipub/index.php?title=Talk:OpenVIM_installation_(Release_TWO)&amp;diff=1577"/>
		<updated>2017-06-12T15:50:58Z</updated>

		<summary type="html">&lt;p&gt;Mirabal: /* DHCP server (Bridge) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Introduction=&lt;br /&gt;
Openvim is an implementation of an NFV VIM supporting EPA features and control of an underlay switching infrastructure through an OFC. Some of the EPA features included in openvim are:&lt;br /&gt;
&lt;br /&gt;
*CPU pinning&lt;br /&gt;
*Memory pinning&lt;br /&gt;
*NUMA pinning&lt;br /&gt;
*Support of memory huge pages&lt;br /&gt;
*Port passthrough interfaces&lt;br /&gt;
*SR-IOV interfaces&lt;br /&gt;
*Injection of virtual PCI addresses&lt;br /&gt;
&lt;br /&gt;
Openvim controller interfaces with Openvim compute nodes in the NFV Infrastructure and an Openflow controller in order to provide computing and networking capabilities and to deploy virtual machines. It offers a northbound interface, based on REST (openvim API), where enhanced cloud services are offered including the creation, deletion and management of images, flavors, instances and networks.&lt;br /&gt;
&lt;br /&gt;
Next figure shows a general diagram of a datacenter controlled by openvim.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Openvim controller relies on an NFS server as image repository, an Openflow Clontroller to configure the underlay switches, and a DHCP server to provide management IP addresses to the VMs. For simplicity, these instructions will asume that these three additional modules (image repo, OFC and DHCP server will be hosted in the same machine as Openvim controller.&lt;br /&gt;
&lt;br /&gt;
=Requirements=&lt;br /&gt;
==Openvim controller==&lt;br /&gt;
&lt;br /&gt;
==Openvim compute nodes==&lt;br /&gt;
&lt;br /&gt;
=Installation=&lt;br /&gt;
&lt;br /&gt;
==Openvim Controller==&lt;br /&gt;
&lt;br /&gt;
==NFS server==&lt;br /&gt;
&lt;br /&gt;
== DHCP server (Bridge)==&lt;br /&gt;
&lt;br /&gt;
For bridge type openvim (network_type : bridge) relays on precreated bridges at compute nodes that has L2 connectivity using e.g. a switch in trunk mode. In this mode you should provide an external DHCP server for the management network&lt;br /&gt;
&lt;br /&gt;
Open &#039;&#039;&#039;openvimd.cfg&#039;&#039;&#039; and modify network_type:&lt;br /&gt;
&lt;br /&gt;
 network_type : bridge&lt;br /&gt;
&lt;br /&gt;
For the management network a DHCP server is needed. Install the package dhcp3-server. This package will install the actual DHCP server based on isc-dhcp-server package.&lt;br /&gt;
&lt;br /&gt;
 Ubuntu 14.04:  sudo apt-get install dhcp3-server&lt;br /&gt;
 Ubuntu 16.04:  sudo apt install isc-dhcp-server&lt;br /&gt;
&lt;br /&gt;
Configure it editing file &#039;&#039;&#039;/etc/default/isc-dhcp-server&#039;&#039;&#039; to enable DHCP server in the appropriate interface, the one attached to Telco/VNF management network (e.g. eth1).&lt;br /&gt;
&lt;br /&gt;
 $ sudo vi /etc/default/isc-dhcp-server&lt;br /&gt;
 INTERFACES=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Edit file &#039;&#039;&#039;/etc/dhcp/dhcpd.conf&#039;&#039;&#039; to specify the subnet, netmask and range of IP addresses to be offered by the server.&lt;br /&gt;
&lt;br /&gt;
 $ sudo vi /etc/dhcp/dhcpd.conf&lt;br /&gt;
 ddns-update-style none;&lt;br /&gt;
 default-lease-time 86400;&lt;br /&gt;
 max-lease-time 86400;&lt;br /&gt;
 log-facility local7;&lt;br /&gt;
 option subnet-mask 255.255.0.0;&lt;br /&gt;
 option broadcast-address 10.210.255.255;&lt;br /&gt;
 subnet 10.210.0.0 netmask 255.255.0.0 {&lt;br /&gt;
  range 10.210.1.2 10.210.1.254;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Restart the service:&lt;br /&gt;
&lt;br /&gt;
 sudo service isc-dhcp-server restart&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== OVS controller==&lt;br /&gt;
 &lt;br /&gt;
For ovs type openvim creates a ovs vxlan tunnel and launches a dhcp server in the ovs_controller. The ovs_controller can be a different or the same machine where openvim is running.&lt;br /&gt;
&lt;br /&gt;
Some preparation is need it before for DHCP management through OVS networks:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	Execute &#039;&#039;scripts/configure-dhcp-server-UBUNTU16.0.4.sh&#039;&#039; to prepare ovs controller. Can be placed in the same Openvim VM or in a new one. &lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;$sudo ./openvim/scripts/configure-dhcp-server-UBUNTU16.0.4.sh &amp;lt;user-name&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
	Modify &#039;&#039;&#039;openvimd.cfg&#039;&#039;&#039; and add net controller connection details:&lt;br /&gt;
&lt;br /&gt;
 network_type : ovs&lt;br /&gt;
 ovs_controller_ip:        &amp;lt;net controller ip&amp;gt;    # dhcp controller IP address, must be change in &lt;br /&gt;
                                                  # order to reach computes. &lt;br /&gt;
 ovs_controller_user:      &amp;lt;net controller user&amp;gt;  # User for the dchp controller for OVS networks&lt;br /&gt;
 ovs_controller_file_path: &#039;/var/lib/openvim&#039;     # Net controller Path for dhcp daemon &lt;br /&gt;
                                                  # configuration, by default &#039;/var/lib/openvim&lt;br /&gt;
&lt;br /&gt;
	For automatic login from openvim controller to OVS controller computes fill the ovs_controller_keyfile path to the public ssh key must be specify in openvimd.cfg. &lt;br /&gt;
 &lt;br /&gt;
 ovs_controller_keyfile:   /path/to/ssh-key-file  # ssh-access-key file to connect host&lt;br /&gt;
 host_ssh_keyfile: /path/to/ssh-key-file  # Default ssh_kye to use for connecting to compute nodes&lt;br /&gt;
&lt;br /&gt;
=Openvim Compute Node configuration=&lt;br /&gt;
&lt;br /&gt;
=Configuring openvim=&lt;br /&gt;
==Configure openvimd.cfg==&lt;br /&gt;
==Restarting openvim==&lt;br /&gt;
==Adding a compute node==&lt;br /&gt;
==Creating the management network==&lt;br /&gt;
==Creating a tenant==&lt;/div&gt;</summary>
		<author><name>Mirabal</name></author>
	</entry>
	<entry>
		<id>https://osm.etsi.org/wikipub/index.php?title=Talk:OpenVIM_installation_(Release_TWO)&amp;diff=1576</id>
		<title>Talk:OpenVIM installation (Release TWO)</title>
		<link rel="alternate" type="text/html" href="https://osm.etsi.org/wikipub/index.php?title=Talk:OpenVIM_installation_(Release_TWO)&amp;diff=1576"/>
		<updated>2017-06-12T15:49:10Z</updated>

		<summary type="html">&lt;p&gt;Mirabal: /* DHCP server (Bridge) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Introduction=&lt;br /&gt;
Openvim is an implementation of an NFV VIM supporting EPA features and control of an underlay switching infrastructure through an OFC. Some of the EPA features included in openvim are:&lt;br /&gt;
&lt;br /&gt;
*CPU pinning&lt;br /&gt;
*Memory pinning&lt;br /&gt;
*NUMA pinning&lt;br /&gt;
*Support of memory huge pages&lt;br /&gt;
*Port passthrough interfaces&lt;br /&gt;
*SR-IOV interfaces&lt;br /&gt;
*Injection of virtual PCI addresses&lt;br /&gt;
&lt;br /&gt;
Openvim controller interfaces with Openvim compute nodes in the NFV Infrastructure and an Openflow controller in order to provide computing and networking capabilities and to deploy virtual machines. It offers a northbound interface, based on REST (openvim API), where enhanced cloud services are offered including the creation, deletion and management of images, flavors, instances and networks.&lt;br /&gt;
&lt;br /&gt;
Next figure shows a general diagram of a datacenter controlled by openvim.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Openvim controller relies on an NFS server as image repository, an Openflow Clontroller to configure the underlay switches, and a DHCP server to provide management IP addresses to the VMs. For simplicity, these instructions will asume that these three additional modules (image repo, OFC and DHCP server will be hosted in the same machine as Openvim controller.&lt;br /&gt;
&lt;br /&gt;
=Requirements=&lt;br /&gt;
==Openvim controller==&lt;br /&gt;
&lt;br /&gt;
==Openvim compute nodes==&lt;br /&gt;
&lt;br /&gt;
=Installation=&lt;br /&gt;
&lt;br /&gt;
==Openvim Controller==&lt;br /&gt;
&lt;br /&gt;
==NFS server==&lt;br /&gt;
&lt;br /&gt;
== DHCP server (Bridge)==&lt;br /&gt;
&lt;br /&gt;
For bridge type openvim (network_type : bridge) relays on precreated bridges at compute nodes that has L2 connectivity using e.g. a switch in trunk mode. In this mode you should provide an external DHCP server for the management network&lt;br /&gt;
&lt;br /&gt;
Modify &#039;&#039;&#039;openvimd.cfg&#039;&#039;&#039; and modify network_type:&lt;br /&gt;
&lt;br /&gt;
 network_type : bridge&lt;br /&gt;
&lt;br /&gt;
For the management network a DHCP server is needed. Install the package dhcp3-server. This package will install the actual DHCP server based on isc-dhcp-server package.&lt;br /&gt;
&lt;br /&gt;
 Ubuntu 14.04:  sudo apt-get install dhcp3-server&lt;br /&gt;
 Ubuntu 16.04:  sudo apt install isc-dhcp-server&lt;br /&gt;
&lt;br /&gt;
Configure it editing file &#039;&#039;&#039;/etc/default/isc-dhcp-server&#039;&#039;&#039; to enable DHCP server in the appropriate interface, the one attached to Telco/VNF management network (e.g. eth1).&lt;br /&gt;
&lt;br /&gt;
 $ sudo vi /etc/default/isc-dhcp-server&lt;br /&gt;
 INTERFACES=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Edit file &#039;&#039;&#039;/etc/dhcp/dhcpd.conf&#039;&#039;&#039; to specify the subnet, netmask and range of IP addresses to be offered by the server.&lt;br /&gt;
&lt;br /&gt;
 $ sudo vi /etc/dhcp/dhcpd.conf&lt;br /&gt;
 ddns-update-style none;&lt;br /&gt;
 default-lease-time 86400;&lt;br /&gt;
 max-lease-time 86400;&lt;br /&gt;
 log-facility local7;&lt;br /&gt;
 option subnet-mask 255.255.0.0;&lt;br /&gt;
 option broadcast-address 10.210.255.255;&lt;br /&gt;
 subnet 10.210.0.0 netmask 255.255.0.0 {&lt;br /&gt;
  range 10.210.1.2 10.210.1.254;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Restart the service:&lt;br /&gt;
&lt;br /&gt;
 sudo service isc-dhcp-server restart&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== OVS controller==&lt;br /&gt;
 &lt;br /&gt;
For ovs type openvim creates a ovs vxlan tunnel and launches a dhcp server in the ovs_controller. The ovs_controller can be a different or the same machine where openvim is running.&lt;br /&gt;
&lt;br /&gt;
Some preparation is need it before for DHCP management through OVS networks:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	Execute &#039;&#039;scripts/configure-dhcp-server-UBUNTU16.0.4.sh&#039;&#039; to prepare ovs controller. Can be placed in the same Openvim VM or in a new one. &lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;$sudo ./openvim/scripts/configure-dhcp-server-UBUNTU16.0.4.sh &amp;lt;user-name&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
	Modify &#039;&#039;&#039;openvimd.cfg&#039;&#039;&#039; and add net controller connection details:&lt;br /&gt;
&lt;br /&gt;
 network_type : ovs&lt;br /&gt;
 ovs_controller_ip:        &amp;lt;net controller ip&amp;gt;    # dhcp controller IP address, must be change in &lt;br /&gt;
                                                  # order to reach computes. &lt;br /&gt;
 ovs_controller_user:      &amp;lt;net controller user&amp;gt;  # User for the dchp controller for OVS networks&lt;br /&gt;
 ovs_controller_file_path: &#039;/var/lib/openvim&#039;     # Net controller Path for dhcp daemon &lt;br /&gt;
                                                  # configuration, by default &#039;/var/lib/openvim&lt;br /&gt;
&lt;br /&gt;
	For automatic login from openvim controller to OVS controller computes fill the ovs_controller_keyfile path to the public ssh key must be specify in openvimd.cfg. &lt;br /&gt;
 &lt;br /&gt;
 ovs_controller_keyfile:   /path/to/ssh-key-file  # ssh-access-key file to connect host&lt;br /&gt;
 host_ssh_keyfile: /path/to/ssh-key-file  # Default ssh_kye to use for connecting to compute nodes&lt;br /&gt;
&lt;br /&gt;
=Openvim Compute Node configuration=&lt;br /&gt;
&lt;br /&gt;
=Configuring openvim=&lt;br /&gt;
==Configure openvimd.cfg==&lt;br /&gt;
==Restarting openvim==&lt;br /&gt;
==Adding a compute node==&lt;br /&gt;
==Creating the management network==&lt;br /&gt;
==Creating a tenant==&lt;/div&gt;</summary>
		<author><name>Mirabal</name></author>
	</entry>
	<entry>
		<id>https://osm.etsi.org/wikipub/index.php?title=Talk:OpenVIM_installation_(Release_TWO)&amp;diff=1575</id>
		<title>Talk:OpenVIM installation (Release TWO)</title>
		<link rel="alternate" type="text/html" href="https://osm.etsi.org/wikipub/index.php?title=Talk:OpenVIM_installation_(Release_TWO)&amp;diff=1575"/>
		<updated>2017-06-12T15:48:18Z</updated>

		<summary type="html">&lt;p&gt;Mirabal: /* OVS controller */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Introduction=&lt;br /&gt;
Openvim is an implementation of an NFV VIM supporting EPA features and control of an underlay switching infrastructure through an OFC. Some of the EPA features included in openvim are:&lt;br /&gt;
&lt;br /&gt;
*CPU pinning&lt;br /&gt;
*Memory pinning&lt;br /&gt;
*NUMA pinning&lt;br /&gt;
*Support of memory huge pages&lt;br /&gt;
*Port passthrough interfaces&lt;br /&gt;
*SR-IOV interfaces&lt;br /&gt;
*Injection of virtual PCI addresses&lt;br /&gt;
&lt;br /&gt;
Openvim controller interfaces with Openvim compute nodes in the NFV Infrastructure and an Openflow controller in order to provide computing and networking capabilities and to deploy virtual machines. It offers a northbound interface, based on REST (openvim API), where enhanced cloud services are offered including the creation, deletion and management of images, flavors, instances and networks.&lt;br /&gt;
&lt;br /&gt;
Next figure shows a general diagram of a datacenter controlled by openvim.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Openvim controller relies on an NFS server as image repository, an Openflow Clontroller to configure the underlay switches, and a DHCP server to provide management IP addresses to the VMs. For simplicity, these instructions will asume that these three additional modules (image repo, OFC and DHCP server will be hosted in the same machine as Openvim controller.&lt;br /&gt;
&lt;br /&gt;
=Requirements=&lt;br /&gt;
==Openvim controller==&lt;br /&gt;
&lt;br /&gt;
==Openvim compute nodes==&lt;br /&gt;
&lt;br /&gt;
=Installation=&lt;br /&gt;
&lt;br /&gt;
==Openvim Controller==&lt;br /&gt;
&lt;br /&gt;
==NFS server==&lt;br /&gt;
&lt;br /&gt;
== DHCP server (Bridge)==&lt;br /&gt;
&lt;br /&gt;
For bridge type openvim (network_type : bridge) relays on precreated bridges at compute nodes that has L2 connectivity using e.g. a switch in trunk mode. In this mode you should provide an external DHCP server for the management network&lt;br /&gt;
&lt;br /&gt;
Modify &#039;&#039;&#039;openvimd.cfg&#039;&#039;&#039; and add net controller connection details:&lt;br /&gt;
&lt;br /&gt;
 network_type : bridge&lt;br /&gt;
&lt;br /&gt;
For the management network a DHCP server is needed. Install the package dhcp3-server. This package will install the actual DHCP server based on isc-dhcp-server package.&lt;br /&gt;
&lt;br /&gt;
 Ubuntu 14.04:  sudo apt-get install dhcp3-server&lt;br /&gt;
 Ubuntu 16.04:  sudo apt install isc-dhcp-server&lt;br /&gt;
&lt;br /&gt;
Configure it editing file &#039;&#039;&#039;/etc/default/isc-dhcp-server&#039;&#039;&#039; to enable DHCP server in the appropriate interface, the one attached to Telco/VNF management network (e.g. eth1).&lt;br /&gt;
&lt;br /&gt;
 $ sudo vi /etc/default/isc-dhcp-server&lt;br /&gt;
 INTERFACES=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Edit file &#039;&#039;&#039;/etc/dhcp/dhcpd.conf&#039;&#039;&#039; to specify the subnet, netmask and range of IP addresses to be offered by the server.&lt;br /&gt;
&lt;br /&gt;
 $ sudo vi /etc/dhcp/dhcpd.conf&lt;br /&gt;
 ddns-update-style none;&lt;br /&gt;
 default-lease-time 86400;&lt;br /&gt;
 max-lease-time 86400;&lt;br /&gt;
 log-facility local7;&lt;br /&gt;
 option subnet-mask 255.255.0.0;&lt;br /&gt;
 option broadcast-address 10.210.255.255;&lt;br /&gt;
 subnet 10.210.0.0 netmask 255.255.0.0 {&lt;br /&gt;
  range 10.210.1.2 10.210.1.254;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Restart the service:&lt;br /&gt;
&lt;br /&gt;
 sudo service isc-dhcp-server restart&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== OVS controller==&lt;br /&gt;
 &lt;br /&gt;
For ovs type openvim creates a ovs vxlan tunnel and launches a dhcp server in the ovs_controller. The ovs_controller can be a different or the same machine where openvim is running.&lt;br /&gt;
&lt;br /&gt;
Some preparation is need it before for DHCP management through OVS networks:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	Execute &#039;&#039;scripts/configure-dhcp-server-UBUNTU16.0.4.sh&#039;&#039; to prepare ovs controller. Can be placed in the same Openvim VM or in a new one. &lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;$sudo ./openvim/scripts/configure-dhcp-server-UBUNTU16.0.4.sh &amp;lt;user-name&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
	Modify &#039;&#039;&#039;openvimd.cfg&#039;&#039;&#039; and add net controller connection details:&lt;br /&gt;
&lt;br /&gt;
 network_type : ovs&lt;br /&gt;
 ovs_controller_ip:        &amp;lt;net controller ip&amp;gt;    # dhcp controller IP address, must be change in &lt;br /&gt;
                                                  # order to reach computes. &lt;br /&gt;
 ovs_controller_user:      &amp;lt;net controller user&amp;gt;  # User for the dchp controller for OVS networks&lt;br /&gt;
 ovs_controller_file_path: &#039;/var/lib/openvim&#039;     # Net controller Path for dhcp daemon &lt;br /&gt;
                                                  # configuration, by default &#039;/var/lib/openvim&lt;br /&gt;
&lt;br /&gt;
	For automatic login from openvim controller to OVS controller computes fill the ovs_controller_keyfile path to the public ssh key must be specify in openvimd.cfg. &lt;br /&gt;
 &lt;br /&gt;
 ovs_controller_keyfile:   /path/to/ssh-key-file  # ssh-access-key file to connect host&lt;br /&gt;
 host_ssh_keyfile: /path/to/ssh-key-file  # Default ssh_kye to use for connecting to compute nodes&lt;br /&gt;
&lt;br /&gt;
=Openvim Compute Node configuration=&lt;br /&gt;
&lt;br /&gt;
=Configuring openvim=&lt;br /&gt;
==Configure openvimd.cfg==&lt;br /&gt;
==Restarting openvim==&lt;br /&gt;
==Adding a compute node==&lt;br /&gt;
==Creating the management network==&lt;br /&gt;
==Creating a tenant==&lt;/div&gt;</summary>
		<author><name>Mirabal</name></author>
	</entry>
	<entry>
		<id>https://osm.etsi.org/wikipub/index.php?title=Talk:OpenVIM_installation_(Release_TWO)&amp;diff=1574</id>
		<title>Talk:OpenVIM installation (Release TWO)</title>
		<link rel="alternate" type="text/html" href="https://osm.etsi.org/wikipub/index.php?title=Talk:OpenVIM_installation_(Release_TWO)&amp;diff=1574"/>
		<updated>2017-06-12T15:47:57Z</updated>

		<summary type="html">&lt;p&gt;Mirabal: /* DHCP server (Bridge) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Introduction=&lt;br /&gt;
Openvim is an implementation of an NFV VIM supporting EPA features and control of an underlay switching infrastructure through an OFC. Some of the EPA features included in openvim are:&lt;br /&gt;
&lt;br /&gt;
*CPU pinning&lt;br /&gt;
*Memory pinning&lt;br /&gt;
*NUMA pinning&lt;br /&gt;
*Support of memory huge pages&lt;br /&gt;
*Port passthrough interfaces&lt;br /&gt;
*SR-IOV interfaces&lt;br /&gt;
*Injection of virtual PCI addresses&lt;br /&gt;
&lt;br /&gt;
Openvim controller interfaces with Openvim compute nodes in the NFV Infrastructure and an Openflow controller in order to provide computing and networking capabilities and to deploy virtual machines. It offers a northbound interface, based on REST (openvim API), where enhanced cloud services are offered including the creation, deletion and management of images, flavors, instances and networks.&lt;br /&gt;
&lt;br /&gt;
Next figure shows a general diagram of a datacenter controlled by openvim.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Openvim controller relies on an NFS server as image repository, an Openflow Clontroller to configure the underlay switches, and a DHCP server to provide management IP addresses to the VMs. For simplicity, these instructions will asume that these three additional modules (image repo, OFC and DHCP server will be hosted in the same machine as Openvim controller.&lt;br /&gt;
&lt;br /&gt;
=Requirements=&lt;br /&gt;
==Openvim controller==&lt;br /&gt;
&lt;br /&gt;
==Openvim compute nodes==&lt;br /&gt;
&lt;br /&gt;
=Installation=&lt;br /&gt;
&lt;br /&gt;
==Openvim Controller==&lt;br /&gt;
&lt;br /&gt;
==NFS server==&lt;br /&gt;
&lt;br /&gt;
== DHCP server (Bridge)==&lt;br /&gt;
&lt;br /&gt;
For bridge type openvim (network_type : bridge) relays on precreated bridges at compute nodes that has L2 connectivity using e.g. a switch in trunk mode. In this mode you should provide an external DHCP server for the management network&lt;br /&gt;
&lt;br /&gt;
Modify &#039;&#039;&#039;openvimd.cfg&#039;&#039;&#039; and add net controller connection details:&lt;br /&gt;
&lt;br /&gt;
 network_type : bridge&lt;br /&gt;
&lt;br /&gt;
For the management network a DHCP server is needed. Install the package dhcp3-server. This package will install the actual DHCP server based on isc-dhcp-server package.&lt;br /&gt;
&lt;br /&gt;
 Ubuntu 14.04:  sudo apt-get install dhcp3-server&lt;br /&gt;
 Ubuntu 16.04:  sudo apt install isc-dhcp-server&lt;br /&gt;
&lt;br /&gt;
Configure it editing file &#039;&#039;&#039;/etc/default/isc-dhcp-server&#039;&#039;&#039; to enable DHCP server in the appropriate interface, the one attached to Telco/VNF management network (e.g. eth1).&lt;br /&gt;
&lt;br /&gt;
 $ sudo vi /etc/default/isc-dhcp-server&lt;br /&gt;
 INTERFACES=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Edit file &#039;&#039;&#039;/etc/dhcp/dhcpd.conf&#039;&#039;&#039; to specify the subnet, netmask and range of IP addresses to be offered by the server.&lt;br /&gt;
&lt;br /&gt;
 $ sudo vi /etc/dhcp/dhcpd.conf&lt;br /&gt;
 ddns-update-style none;&lt;br /&gt;
 default-lease-time 86400;&lt;br /&gt;
 max-lease-time 86400;&lt;br /&gt;
 log-facility local7;&lt;br /&gt;
 option subnet-mask 255.255.0.0;&lt;br /&gt;
 option broadcast-address 10.210.255.255;&lt;br /&gt;
 subnet 10.210.0.0 netmask 255.255.0.0 {&lt;br /&gt;
  range 10.210.1.2 10.210.1.254;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Restart the service:&lt;br /&gt;
&lt;br /&gt;
 sudo service isc-dhcp-server restart&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== OVS controller==&lt;br /&gt;
 &lt;br /&gt;
For ovs type openvim creates a ovs vxlan tunnel and launches a dhcp server in the ovs_controller. The ovs_controller can be a different or the same machine where openvim is running.&lt;br /&gt;
&lt;br /&gt;
Some preparation is need it before for DHCP management through OVS networks:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	Execute &#039;&#039;scripts/configure-dhcp-server-UBUNTU16.0.4.sh&#039;&#039; to prepare openvim net controller. Can be placed in the same Openvim VM or in a new one. &lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;$sudo ./openvim/scripts/configure-dhcp-server-UBUNTU16.0.4.sh &amp;lt;user-name&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
	Modify &#039;&#039;&#039;openvimd.cfg&#039;&#039;&#039; and add net controller connection details:&lt;br /&gt;
&lt;br /&gt;
 network_type : ovs&lt;br /&gt;
 ovs_controller_ip:        &amp;lt;net controller ip&amp;gt;    # dhcp controller IP address, must be change in &lt;br /&gt;
                                                  # order to reach computes. &lt;br /&gt;
 ovs_controller_user:      &amp;lt;net controller user&amp;gt;  # User for the dchp controller for OVS networks&lt;br /&gt;
 ovs_controller_file_path: &#039;/var/lib/openvim&#039;     # Net controller Path for dhcp daemon &lt;br /&gt;
                                                  # configuration, by default &#039;/var/lib/openvim&lt;br /&gt;
&lt;br /&gt;
	For automatic login from openvim controller to OVS controller computes fill the ovs_controller_keyfile path to the public ssh key must be specify in openvimd.cfg. &lt;br /&gt;
 &lt;br /&gt;
 ovs_controller_keyfile:   /path/to/ssh-key-file  # ssh-access-key file to connect host&lt;br /&gt;
 host_ssh_keyfile: /path/to/ssh-key-file  # Default ssh_kye to use for connecting to compute nodes&lt;br /&gt;
&lt;br /&gt;
=Openvim Compute Node configuration=&lt;br /&gt;
&lt;br /&gt;
=Configuring openvim=&lt;br /&gt;
==Configure openvimd.cfg==&lt;br /&gt;
==Restarting openvim==&lt;br /&gt;
==Adding a compute node==&lt;br /&gt;
==Creating the management network==&lt;br /&gt;
==Creating a tenant==&lt;/div&gt;</summary>
		<author><name>Mirabal</name></author>
	</entry>
	<entry>
		<id>https://osm.etsi.org/wikipub/index.php?title=Talk:OpenVIM_installation_(Release_TWO)&amp;diff=1573</id>
		<title>Talk:OpenVIM installation (Release TWO)</title>
		<link rel="alternate" type="text/html" href="https://osm.etsi.org/wikipub/index.php?title=Talk:OpenVIM_installation_(Release_TWO)&amp;diff=1573"/>
		<updated>2017-06-12T13:36:36Z</updated>

		<summary type="html">&lt;p&gt;Mirabal: /* Openvim OVS controller */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Introduction=&lt;br /&gt;
Openvim is an implementation of an NFV VIM supporting EPA features and control of an underlay switching infrastructure through an OFC. Some of the EPA features included in openvim are:&lt;br /&gt;
&lt;br /&gt;
*CPU pinning&lt;br /&gt;
*Memory pinning&lt;br /&gt;
*NUMA pinning&lt;br /&gt;
*Support of memory huge pages&lt;br /&gt;
*Port passthrough interfaces&lt;br /&gt;
*SR-IOV interfaces&lt;br /&gt;
*Injection of virtual PCI addresses&lt;br /&gt;
&lt;br /&gt;
Openvim controller interfaces with Openvim compute nodes in the NFV Infrastructure and an Openflow controller in order to provide computing and networking capabilities and to deploy virtual machines. It offers a northbound interface, based on REST (openvim API), where enhanced cloud services are offered including the creation, deletion and management of images, flavors, instances and networks.&lt;br /&gt;
&lt;br /&gt;
Next figure shows a general diagram of a datacenter controlled by openvim.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Openvim controller relies on an NFS server as image repository, an Openflow Clontroller to configure the underlay switches, and a DHCP server to provide management IP addresses to the VMs. For simplicity, these instructions will asume that these three additional modules (image repo, OFC and DHCP server will be hosted in the same machine as Openvim controller.&lt;br /&gt;
&lt;br /&gt;
=Requirements=&lt;br /&gt;
==Openvim controller==&lt;br /&gt;
&lt;br /&gt;
==Openvim compute nodes==&lt;br /&gt;
&lt;br /&gt;
=Installation=&lt;br /&gt;
&lt;br /&gt;
==Openvim Controller==&lt;br /&gt;
&lt;br /&gt;
==NFS server==&lt;br /&gt;
&lt;br /&gt;
== DHCP server (Bridge)==&lt;br /&gt;
&lt;br /&gt;
For bridge type openvim relays on precreated bridges at compute nodes that has L2 connectivity using e.g. a switch in trunk mode. In this mode you should provide an external DHCP server for the management network&lt;br /&gt;
&lt;br /&gt;
Modify &#039;&#039;&#039;openvimd.cfg&#039;&#039;&#039; and add net controller connection details:&lt;br /&gt;
&lt;br /&gt;
 network_type : bridge&lt;br /&gt;
&lt;br /&gt;
For the management network a DHCP server is needed. Install the package dhcp3-server. This package will install the actual DHCP server based on isc-dhcp-server package.&lt;br /&gt;
&lt;br /&gt;
 Ubuntu 14.04:  sudo apt-get install dhcp3-server&lt;br /&gt;
 Ubuntu 16.04:  sudo apt install isc-dhcp-server&lt;br /&gt;
&lt;br /&gt;
Configure it editing file &#039;&#039;&#039;/etc/default/isc-dhcp-server&#039;&#039;&#039; to enable DHCP server in the appropriate interface, the one attached to Telco/VNF management network (e.g. eth1).&lt;br /&gt;
&lt;br /&gt;
 $ sudo vi /etc/default/isc-dhcp-server&lt;br /&gt;
 INTERFACES=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Edit file &#039;&#039;&#039;/etc/dhcp/dhcpd.conf&#039;&#039;&#039; to specify the subnet, netmask and range of IP addresses to be offered by the server.&lt;br /&gt;
&lt;br /&gt;
 $ sudo vi /etc/dhcp/dhcpd.conf&lt;br /&gt;
 ddns-update-style none;&lt;br /&gt;
 default-lease-time 86400;&lt;br /&gt;
 max-lease-time 86400;&lt;br /&gt;
 log-facility local7;&lt;br /&gt;
 option subnet-mask 255.255.0.0;&lt;br /&gt;
 option broadcast-address 10.210.255.255;&lt;br /&gt;
 subnet 10.210.0.0 netmask 255.255.0.0 {&lt;br /&gt;
  range 10.210.1.2 10.210.1.254;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Restart the service:&lt;br /&gt;
&lt;br /&gt;
 sudo service isc-dhcp-server restart&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== OVS controller==&lt;br /&gt;
 &lt;br /&gt;
For ovs type openvim creates a ovs vxlan tunnel and launches a dhcp server in the ovs_controller. The ovs_controller can be a different or the same machine where openvim is running.&lt;br /&gt;
&lt;br /&gt;
Some preparation is need it before for DHCP management through OVS networks:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	Execute &#039;&#039;scripts/configure-dhcp-server-UBUNTU16.0.4.sh&#039;&#039; to prepare openvim net controller. Can be placed in the same Openvim VM or in a new one. &lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;$sudo ./openvim/scripts/configure-dhcp-server-UBUNTU16.0.4.sh &amp;lt;user-name&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
	Modify &#039;&#039;&#039;openvimd.cfg&#039;&#039;&#039; and add net controller connection details:&lt;br /&gt;
&lt;br /&gt;
 network_type : ovs&lt;br /&gt;
 ovs_controller_ip:        &amp;lt;net controller ip&amp;gt;    # dhcp controller IP address, must be change in &lt;br /&gt;
                                                  # order to reach computes. &lt;br /&gt;
 ovs_controller_user:      &amp;lt;net controller user&amp;gt;  # User for the dchp controller for OVS networks&lt;br /&gt;
 ovs_controller_file_path: &#039;/var/lib/openvim&#039;     # Net controller Path for dhcp daemon &lt;br /&gt;
                                                  # configuration, by default &#039;/var/lib/openvim&lt;br /&gt;
&lt;br /&gt;
	For automatic login from openvim controller to OVS controller computes fill the ovs_controller_keyfile path to the public ssh key must be specify in openvimd.cfg. &lt;br /&gt;
 &lt;br /&gt;
 ovs_controller_keyfile:   /path/to/ssh-key-file  # ssh-access-key file to connect host&lt;br /&gt;
 host_ssh_keyfile: /path/to/ssh-key-file  # Default ssh_kye to use for connecting to compute nodes&lt;br /&gt;
&lt;br /&gt;
=Openvim Compute Node configuration=&lt;br /&gt;
&lt;br /&gt;
=Configuring openvim=&lt;br /&gt;
==Configure openvimd.cfg==&lt;br /&gt;
==Restarting openvim==&lt;br /&gt;
==Adding a compute node==&lt;br /&gt;
==Creating the management network==&lt;br /&gt;
==Creating a tenant==&lt;/div&gt;</summary>
		<author><name>Mirabal</name></author>
	</entry>
	<entry>
		<id>https://osm.etsi.org/wikipub/index.php?title=Talk:OpenVIM_installation_(Release_TWO)&amp;diff=1572</id>
		<title>Talk:OpenVIM installation (Release TWO)</title>
		<link rel="alternate" type="text/html" href="https://osm.etsi.org/wikipub/index.php?title=Talk:OpenVIM_installation_(Release_TWO)&amp;diff=1572"/>
		<updated>2017-06-12T12:56:29Z</updated>

		<summary type="html">&lt;p&gt;Mirabal: /* Openvim OVS controller */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Introduction=&lt;br /&gt;
Openvim is an implementation of an NFV VIM supporting EPA features and control of an underlay switching infrastructure through an OFC. Some of the EPA features included in openvim are:&lt;br /&gt;
&lt;br /&gt;
*CPU pinning&lt;br /&gt;
*Memory pinning&lt;br /&gt;
*NUMA pinning&lt;br /&gt;
*Support of memory huge pages&lt;br /&gt;
*Port passthrough interfaces&lt;br /&gt;
*SR-IOV interfaces&lt;br /&gt;
*Injection of virtual PCI addresses&lt;br /&gt;
&lt;br /&gt;
Openvim controller interfaces with Openvim compute nodes in the NFV Infrastructure and an Openflow controller in order to provide computing and networking capabilities and to deploy virtual machines. It offers a northbound interface, based on REST (openvim API), where enhanced cloud services are offered including the creation, deletion and management of images, flavors, instances and networks.&lt;br /&gt;
&lt;br /&gt;
Next figure shows a general diagram of a datacenter controlled by openvim.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Openvim controller relies on an NFS server as image repository, an Openflow Clontroller to configure the underlay switches, and a DHCP server to provide management IP addresses to the VMs. For simplicity, these instructions will asume that these three additional modules (image repo, OFC and DHCP server will be hosted in the same machine as Openvim controller.&lt;br /&gt;
&lt;br /&gt;
=Requirements=&lt;br /&gt;
==Openvim controller==&lt;br /&gt;
&lt;br /&gt;
==Openvim compute nodes==&lt;br /&gt;
&lt;br /&gt;
=Installation=&lt;br /&gt;
&lt;br /&gt;
==Openvim Controller==&lt;br /&gt;
&lt;br /&gt;
==NFS server==&lt;br /&gt;
&lt;br /&gt;
== DHCP server (Bridge)==&lt;br /&gt;
&lt;br /&gt;
For bridge type openvim relays on precreated bridges at compute nodes that has L2 connectivity using e.g. a switch in trunk mode. In this mode you should provide an external DHCP server for the management network&lt;br /&gt;
&lt;br /&gt;
Modify &#039;&#039;&#039;openvimd.cfg&#039;&#039;&#039; and add net controller connection details:&lt;br /&gt;
&lt;br /&gt;
 network_type : bridge&lt;br /&gt;
&lt;br /&gt;
For the management network a DHCP server is needed. Install the package dhcp3-server. This package will install the actual DHCP server based on isc-dhcp-server package.&lt;br /&gt;
&lt;br /&gt;
 Ubuntu 14.04:  sudo apt-get install dhcp3-server&lt;br /&gt;
 Ubuntu 16.04:  sudo apt install isc-dhcp-server&lt;br /&gt;
&lt;br /&gt;
Configure it editing file &#039;&#039;&#039;/etc/default/isc-dhcp-server&#039;&#039;&#039; to enable DHCP server in the appropriate interface, the one attached to Telco/VNF management network (e.g. eth1).&lt;br /&gt;
&lt;br /&gt;
 $ sudo vi /etc/default/isc-dhcp-server&lt;br /&gt;
 INTERFACES=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Edit file &#039;&#039;&#039;/etc/dhcp/dhcpd.conf&#039;&#039;&#039; to specify the subnet, netmask and range of IP addresses to be offered by the server.&lt;br /&gt;
&lt;br /&gt;
 $ sudo vi /etc/dhcp/dhcpd.conf&lt;br /&gt;
 ddns-update-style none;&lt;br /&gt;
 default-lease-time 86400;&lt;br /&gt;
 max-lease-time 86400;&lt;br /&gt;
 log-facility local7;&lt;br /&gt;
 option subnet-mask 255.255.0.0;&lt;br /&gt;
 option broadcast-address 10.210.255.255;&lt;br /&gt;
 subnet 10.210.0.0 netmask 255.255.0.0 {&lt;br /&gt;
  range 10.210.1.2 10.210.1.254;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Restart the service:&lt;br /&gt;
&lt;br /&gt;
 sudo service isc-dhcp-server restart&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Openvim OVS controller==&lt;br /&gt;
 &lt;br /&gt;
For ovs type openvim creates a ovs vxlan tunnel and launches a dhcp server in the ovs_controller. The ovs_controller can be a different or the same machine where openvim is running.&lt;br /&gt;
&lt;br /&gt;
Some preparation is need it before for DHCP management through OVS networks:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
	Execute &#039;&#039;scripts/configure-dhcp-server-UBUNTU16.0.4.sh&#039;&#039; to prepare openvim net controller. Can be placed in the same Openvim VM or in a new one. &lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;$sudo ./openvim/scripts/configure-dhcp-server-UBUNTU16.0.4.sh &amp;lt;user-name&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
	Modify &#039;&#039;&#039;openvimd.cfg&#039;&#039;&#039; and add net controller connection details:&lt;br /&gt;
&lt;br /&gt;
 network_type : ovs&lt;br /&gt;
 ovs_controller_ip:        &amp;lt;net controller ip&amp;gt;    # dhcp controller IP address, must be change in &lt;br /&gt;
                                                  # order to reach computes. &lt;br /&gt;
 ovs_controller_user:      &amp;lt;net controller user&amp;gt;  # User for the dchp controller for OVS networks&lt;br /&gt;
 ovs_controller_file_path: &#039;/var/lib/openvim&#039;     # Net controller Path for dhcp daemon &lt;br /&gt;
                                                  # configuration, by default &#039;/var/lib/openvim&lt;br /&gt;
&lt;br /&gt;
	For automatic login from openvim controller to OVS controller computes fill the ovs_controller_keyfile path to the public ssh key must be specify in openvimd.cfg. &lt;br /&gt;
 &lt;br /&gt;
 ovs_controller_keyfile:   /path/to/ssh-key-file  # ssh-access-key file to connect host&lt;br /&gt;
 host_ssh_keyfile: /path/to/ssh-key-file  # Default ssh_kye to use for connecting to compute nodes&lt;br /&gt;
&lt;br /&gt;
=Openvim Compute Node configuration=&lt;br /&gt;
&lt;br /&gt;
=Configuring openvim=&lt;br /&gt;
==Configure openvimd.cfg==&lt;br /&gt;
==Restarting openvim==&lt;br /&gt;
==Adding a compute node==&lt;br /&gt;
==Creating the management network==&lt;br /&gt;
==Creating a tenant==&lt;/div&gt;</summary>
		<author><name>Mirabal</name></author>
	</entry>
	<entry>
		<id>https://osm.etsi.org/wikipub/index.php?title=Talk:OpenVIM_installation_(Release_TWO)&amp;diff=1571</id>
		<title>Talk:OpenVIM installation (Release TWO)</title>
		<link rel="alternate" type="text/html" href="https://osm.etsi.org/wikipub/index.php?title=Talk:OpenVIM_installation_(Release_TWO)&amp;diff=1571"/>
		<updated>2017-06-12T12:55:50Z</updated>

		<summary type="html">&lt;p&gt;Mirabal: /* DHCP server (Bridge) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Introduction=&lt;br /&gt;
Openvim is an implementation of an NFV VIM supporting EPA features and control of an underlay switching infrastructure through an OFC. Some of the EPA features included in openvim are:&lt;br /&gt;
&lt;br /&gt;
*CPU pinning&lt;br /&gt;
*Memory pinning&lt;br /&gt;
*NUMA pinning&lt;br /&gt;
*Support of memory huge pages&lt;br /&gt;
*Port passthrough interfaces&lt;br /&gt;
*SR-IOV interfaces&lt;br /&gt;
*Injection of virtual PCI addresses&lt;br /&gt;
&lt;br /&gt;
Openvim controller interfaces with Openvim compute nodes in the NFV Infrastructure and an Openflow controller in order to provide computing and networking capabilities and to deploy virtual machines. It offers a northbound interface, based on REST (openvim API), where enhanced cloud services are offered including the creation, deletion and management of images, flavors, instances and networks.&lt;br /&gt;
&lt;br /&gt;
Next figure shows a general diagram of a datacenter controlled by openvim.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Openvim controller relies on an NFS server as image repository, an Openflow Clontroller to configure the underlay switches, and a DHCP server to provide management IP addresses to the VMs. For simplicity, these instructions will asume that these three additional modules (image repo, OFC and DHCP server will be hosted in the same machine as Openvim controller.&lt;br /&gt;
&lt;br /&gt;
=Requirements=&lt;br /&gt;
==Openvim controller==&lt;br /&gt;
&lt;br /&gt;
==Openvim compute nodes==&lt;br /&gt;
&lt;br /&gt;
=Installation=&lt;br /&gt;
&lt;br /&gt;
==Openvim Controller==&lt;br /&gt;
&lt;br /&gt;
==NFS server==&lt;br /&gt;
&lt;br /&gt;
== DHCP server (Bridge)==&lt;br /&gt;
&lt;br /&gt;
For bridge type openvim relays on precreated bridges at compute nodes that has L2 connectivity using e.g. a switch in trunk mode. In this mode you should provide an external DHCP server for the management network&lt;br /&gt;
&lt;br /&gt;
Modify &#039;&#039;&#039;openvimd.cfg&#039;&#039;&#039; and add net controller connection details:&lt;br /&gt;
&lt;br /&gt;
 network_type : bridge&lt;br /&gt;
&lt;br /&gt;
For the management network a DHCP server is needed. Install the package dhcp3-server. This package will install the actual DHCP server based on isc-dhcp-server package.&lt;br /&gt;
&lt;br /&gt;
 Ubuntu 14.04:  sudo apt-get install dhcp3-server&lt;br /&gt;
 Ubuntu 16.04:  sudo apt install isc-dhcp-server&lt;br /&gt;
&lt;br /&gt;
Configure it editing file &#039;&#039;&#039;/etc/default/isc-dhcp-server&#039;&#039;&#039; to enable DHCP server in the appropriate interface, the one attached to Telco/VNF management network (e.g. eth1).&lt;br /&gt;
&lt;br /&gt;
 $ sudo vi /etc/default/isc-dhcp-server&lt;br /&gt;
 INTERFACES=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Edit file &#039;&#039;&#039;/etc/dhcp/dhcpd.conf&#039;&#039;&#039; to specify the subnet, netmask and range of IP addresses to be offered by the server.&lt;br /&gt;
&lt;br /&gt;
 $ sudo vi /etc/dhcp/dhcpd.conf&lt;br /&gt;
 ddns-update-style none;&lt;br /&gt;
 default-lease-time 86400;&lt;br /&gt;
 max-lease-time 86400;&lt;br /&gt;
 log-facility local7;&lt;br /&gt;
 option subnet-mask 255.255.0.0;&lt;br /&gt;
 option broadcast-address 10.210.255.255;&lt;br /&gt;
 subnet 10.210.0.0 netmask 255.255.0.0 {&lt;br /&gt;
  range 10.210.1.2 10.210.1.254;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Restart the service:&lt;br /&gt;
&lt;br /&gt;
 sudo service isc-dhcp-server restart&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
== Openvim OVS controller==&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
	For DHCP management through OVS networks, some preparation is need it before.&lt;br /&gt;
&lt;br /&gt;
	Execute &#039;&#039;&#039;scripts/configure-dhcp-server-UBUNTU16.0.4.sh&#039;&#039;&#039; to prepare openvim net controller. Can be placed in the same Openvim VM or in a new one. &lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;$sudo ./openvim/scripts/configure-dhcp-server-UBUNTU16.0.4.sh &amp;lt;user-name&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
	Modify &#039;&#039;&#039;openvimd.cfg&#039;&#039;&#039; and add net controller connection details:&lt;br /&gt;
&lt;br /&gt;
 network_type : ovs&lt;br /&gt;
 ovs_controller_ip:        &amp;lt;net controller ip&amp;gt;    # dhcp controller IP address, must be change in &lt;br /&gt;
                                                  # order to reach computes. &lt;br /&gt;
 ovs_controller_user:      &amp;lt;net controller user&amp;gt;  # User for the dchp controller for OVS networks&lt;br /&gt;
 ovs_controller_file_path: &#039;/var/lib/openvim&#039;     # Net controller Path for dhcp daemon &lt;br /&gt;
                                                  # configuration, by default &#039;/var/lib/openvim&lt;br /&gt;
&lt;br /&gt;
	For automatic login from openvim controller to OVS controller computes fill the ovs_controller_keyfile path to the public ssh key must be specify in openvimd.cfg. &lt;br /&gt;
 &lt;br /&gt;
 ovs_controller_keyfile:   /path/to/ssh-key-file  # ssh-access-key file to connect host&lt;br /&gt;
 host_ssh_keyfile: /path/to/ssh-key-file  # Default ssh_kye to use for connecting to compute nodes&lt;br /&gt;
&lt;br /&gt;
=Openvim Compute Node configuration=&lt;br /&gt;
&lt;br /&gt;
=Configuring openvim=&lt;br /&gt;
==Configure openvimd.cfg==&lt;br /&gt;
==Restarting openvim==&lt;br /&gt;
==Adding a compute node==&lt;br /&gt;
==Creating the management network==&lt;br /&gt;
==Creating a tenant==&lt;/div&gt;</summary>
		<author><name>Mirabal</name></author>
	</entry>
	<entry>
		<id>https://osm.etsi.org/wikipub/index.php?title=OpenVIM_installation_(Release_TWO)&amp;diff=1570</id>
		<title>OpenVIM installation (Release TWO)</title>
		<link rel="alternate" type="text/html" href="https://osm.etsi.org/wikipub/index.php?title=OpenVIM_installation_(Release_TWO)&amp;diff=1570"/>
		<updated>2017-06-12T12:51:57Z</updated>

		<summary type="html">&lt;p&gt;Mirabal: /* DHCP server */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;__TOC__&lt;br /&gt;
&lt;br /&gt;
=Infrastructure=&lt;br /&gt;
In order to run openvim in normal mode (see below the available modes) and deploy dataplane VNFs, an appropriate infrastructure is required. Below a reference architecture for an openvim-based DC deployment.&lt;br /&gt;
&lt;br /&gt;
[[File:OpenvimDC.png|500px|Openvim Datacenter infrastructure]]&lt;br /&gt;
&lt;br /&gt;
Openvim needs to be accessible from Resource Orchestrator (openmano).&lt;br /&gt;
Openvim needs:&lt;br /&gt;
* To make its API accesible from Resource Orchestrator (openmano). That&#039;s the purpose of the VIM mgmt network in the figure.&lt;br /&gt;
* To be connected to all compute servers through a network, the DC infrastructure network in the figure.&lt;br /&gt;
* To offer management IP addresses to VNFs for VNF configuration from CM (Juju server). That&#039;s the purpose of the Telco/VNF management network.&lt;br /&gt;
&lt;br /&gt;
Compute nodes, besides being connected to the DC infrastructure network, must also be connected to two additional networks:&lt;br /&gt;
*Telco/VNF management network, used by Configuration Manager (Juju Server) to configure the VNFs&lt;br /&gt;
*Inter-DC network, optionally required to interconnect this datacenter to other datacenters (e.g. in MWC&#039;16 demo, to interconnect the two sites).&lt;br /&gt;
&lt;br /&gt;
VMs will be connected to these two networks at deployment time if requested by openmano.&lt;br /&gt;
&lt;br /&gt;
=VM creation (openvim server)=&lt;br /&gt;
* Requirements:&lt;br /&gt;
** 1 vCPU (2 recommended)&lt;br /&gt;
** 4 GB RAM (4 GB are required to run OpenDaylight controller; if the ODL controller runs outside the VM, 2 GB RAM are enough)&lt;br /&gt;
** 40 GB disk&lt;br /&gt;
** 3 network interfaces to:&lt;br /&gt;
*** OSM network (to interact with RO)&lt;br /&gt;
*** DC intfrastructure network (to interact with the compute servers and switches)&lt;br /&gt;
*** Telco/VNF management network (to provide IP addresses via DHCP to the VNFs) &lt;br /&gt;
*Base image: ubuntu-16.04-server-amd64&lt;br /&gt;
&lt;br /&gt;
=Installation=&lt;br /&gt;
Openvim is installed using a script:&lt;br /&gt;
 wget -O install-openvim.sh &amp;quot;https://osm.etsi.org/gitweb/?p=osm/openvim.git;a=blob_plain;f=scripts/install-openvim.sh;hb=1ff6c02ecff38378a4d7366e223cefd30670602e&amp;quot;&lt;br /&gt;
 chmod +x install-openvim.sh&lt;br /&gt;
 sudo ./install-openvim.sh -q   # --help  for help on options&lt;br /&gt;
 # NOTE: you can provide optionally the admin user (normally &#039;root&#039;) and password of the database.&lt;br /&gt;
&lt;br /&gt;
Once installed, manage it with &#039;&#039;&#039;sudo service osm-openvim start|stop|restart&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Logs are at &#039;&#039;&#039;/var/log/osm/openvim.log&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Configuration file is at &#039;&#039;&#039;/etc/osm/openvimd.cfg&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Thre is a CLI client called &#039;&#039;&#039;openvim&#039;&#039;&#039;. Type &amp;quot;openvim config&amp;quot; to see the configuration bash variables&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Openflow controller==&lt;br /&gt;
For normal or OF only openvim modes you will need a openflow controller. The following openflow controllers are supported:&lt;br /&gt;
&lt;br /&gt;
===Floodlight version 0.90===&lt;br /&gt;
You can install e.g. floodlight-0.90. The script &#039;&#039;&#039;openvim/scripts/install-floodlight.sh&#039;&#039;&#039; makes this installation for you. And the script &#039;&#039;&#039;service-floodlight&#039;&#039;&#039; can be used to start/stop it in a screen with logs.&lt;br /&gt;
 $ sudo openvim/scripts/install-floodlight.sh&lt;br /&gt;
 $ service-floodlight start&lt;br /&gt;
&lt;br /&gt;
===ONOS===&lt;br /&gt;
&#039;&#039;&#039;NOTE&#039;&#039;&#039;: This tutorial assumes you are developing ONOS in &#039;&#039;DevelVM&#039;&#039; and deploying it on &#039;&#039;DeployVM&#039;&#039; (which is the one in which OpenVIM runs)&lt;br /&gt;
&lt;br /&gt;
==== System requirements ====&lt;br /&gt;
* 2GB or more RAM (I personally recommend at least 4GB)&lt;br /&gt;
* 2 or more processors&lt;br /&gt;
* Ubuntu 14.04 LTS or 16.04 LTS (Checked with both distros)&lt;br /&gt;
&lt;br /&gt;
==== Software requirements ====&lt;br /&gt;
===== Maven =====&lt;br /&gt;
Install Maven 3.3.9 on your Apps directory&lt;br /&gt;
&lt;br /&gt;
 $ cd ~&lt;br /&gt;
 $ mkdir Apps&lt;br /&gt;
 $ wget http://archive.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz&lt;br /&gt;
 $ tar -zxvf apache-maven-3.3.9-bin.tar.gz -C ./Apps/&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;NOTE:&#039;&#039;&#039; Although ONOS has been migrated to Buck, maven was used in earlier releases.&lt;br /&gt;
&lt;br /&gt;
===== Karaf =====&lt;br /&gt;
Install Karaf 3.0.5 on your Apps directory&lt;br /&gt;
&lt;br /&gt;
 $ cd ~&lt;br /&gt;
 $ wget http://archive.apache.org/dist/karaf/3.0.5/apache-karaf-3.0.5.tar.gz&lt;br /&gt;
 $ tar -zxvf apache-karaf-3.0.5.tar.gz -C ./Apps/&lt;br /&gt;
&lt;br /&gt;
===== Java 8 =====&lt;br /&gt;
Install Java 8&lt;br /&gt;
&lt;br /&gt;
 $ sudo apt-get install software-properties-common -y&lt;br /&gt;
 $ sudo add-apt-repository ppa:webupd8team/java -y&lt;br /&gt;
 $ sudo apt-get update&lt;br /&gt;
 $ sudo apt-get install oracle-java8-installer oracle-java8-set-default -y&lt;br /&gt;
&lt;br /&gt;
Set your JAVA_HOME&lt;br /&gt;
&lt;br /&gt;
 export JAVA_HOME=/usr/lib/jvm/java-8-oracle&lt;br /&gt;
&lt;br /&gt;
Verify it with the following command&lt;br /&gt;
&lt;br /&gt;
$ env | grep JAVA_HOME&lt;br /&gt;
&lt;br /&gt;
JAVA_HOME=/usr/lib/jvm/java-8-oracle&lt;br /&gt;
&lt;br /&gt;
==== Download latest ONOS ====&lt;br /&gt;
 $ git clone https://gerrit.onosproject.org/onos&lt;br /&gt;
 $ cd onos&lt;br /&gt;
 $ git checkout master&lt;br /&gt;
&lt;br /&gt;
Edit &#039;&#039;onos/tools/dev/bash_profile&#039;&#039; and set the correct path for ONOS_ROOT, MAVEN and KARAF_ROOT&lt;br /&gt;
&lt;br /&gt;
 # Please note that I am using my absolute paths here, yours may be different&lt;br /&gt;
 export ONOS_ROOT=${ONOS_ROOT:-~/onos}&lt;br /&gt;
 export MAVEN=${MAVEN:-~/Apps/apache-maven-3.3.9}&lt;br /&gt;
 export KARAF_ROOT=${KARAF_ROOT:-~/Apps/apache-karaf-$KARAF_VERSION}&lt;br /&gt;
&lt;br /&gt;
Edit &#039;&#039;~/.bashrc&#039;&#039; and add the following line at the end:&lt;br /&gt;
&lt;br /&gt;
 #Please note that I am specifying here the absolute path of the bash_profile file in my machine, it may be different in yours&lt;br /&gt;
 . ~/onos/tools/dev/bash_profile&lt;br /&gt;
&lt;br /&gt;
Reload .bashrc or log out and log in again to apply the changes&lt;br /&gt;
&lt;br /&gt;
 . ~/.bashrc&lt;br /&gt;
&lt;br /&gt;
==== Build and deploy ONOS ====&lt;br /&gt;
If you are using an stable release below 1.7, please use maven, otherwise, use Buck. Depending on which tool you use to build ONOS, the deployment procedure is also different.&lt;br /&gt;
&lt;br /&gt;
===== Build with maven =====&lt;br /&gt;
 $ mci # Alias for mvn clean install&lt;br /&gt;
 $ op&lt;br /&gt;
&lt;br /&gt;
===== Build with Buck =====&lt;br /&gt;
&#039;&#039;&#039;NOTE:&#039;&#039;&#039; ONOS currently uses a modified version of Buck, which has been packaged with ONOS. Please use this version until our changes have been upstreamed and released as part of an official Buck release.&lt;br /&gt;
&lt;br /&gt;
 $ sudo apt-get install zip unzip &lt;br /&gt;
 $ cd $ONOS_ROOT&lt;br /&gt;
 $ tools/build/onos-buck build onos --show-output&lt;br /&gt;
 Updating Buck...&lt;br /&gt;
   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current&lt;br /&gt;
                                  Dload  Upload   Total   Spent    Left  Speed&lt;br /&gt;
 100 43.8M  100 43.8M    0     0   172k      0  0:04:20  0:04:20 --:--:--  230k&lt;br /&gt;
 Archive:  cache/buck-v2016.11.12.01.zip&lt;br /&gt;
   inflating: buck                    &lt;br /&gt;
  extracting: .buck_version           &lt;br /&gt;
    creating: plugins/&lt;br /&gt;
   inflating: plugins/onos.jar        &lt;br /&gt;
   inflating: plugins/yang.jar        &lt;br /&gt;
 Successfully updated Buck in /home/alaitz/Code/onos/bin/buck to buck-v2016.11.12.01.zip&lt;br /&gt;
 &lt;br /&gt;
 Not using buckd because watchman isn&#039;t installed.&lt;br /&gt;
 [-] PROCESSING BUCK FILES...FINISHED 3.1s [100%] 🐳  New buck daemon&lt;br /&gt;
 [+] DOWNLOADING... (0.00 B/S, TOTAL: 0.00 B, 0 Artifacts)&lt;br /&gt;
 [+] BUILDING...1m47.9s [99%] (720/721 JOBS, 720 UPDATED, 720 [99.9%] CACHE MISS)&lt;br /&gt;
  |=&amp;gt; IDLE&lt;br /&gt;
  |=&amp;gt; IDLE&lt;br /&gt;
  |=&amp;gt; IDLE&lt;br /&gt;
  |=&amp;gt; //tools/package:onos-package...  9.9s (checking local cache)&lt;br /&gt;
  |=&amp;gt; IDLE&lt;br /&gt;
  |=&amp;gt; IDLE&lt;br /&gt;
  |=&amp;gt; IDLE&lt;br /&gt;
  |=&amp;gt; IDLE&lt;br /&gt;
 The outputs are:&lt;br /&gt;
 //tools/package:onos-package buck-out/gen/tools/package/onos-package/onos.tar.gz&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Sources:&#039;&#039;&#039;&lt;br /&gt;
* Onos with Maven: https://wiki.onosproject.org/display/ONOS/Installing+and+Running+ONOS&lt;br /&gt;
* Onos with Buck: https://wiki.onosproject.org/display/ONOS/Developer+Guide&lt;br /&gt;
&lt;br /&gt;
==== Run ONOS ====&lt;br /&gt;
 $ cd $ONOS_ROOT&lt;br /&gt;
 $ tools/build/onos-buck run onos-local -- clean debug&lt;br /&gt;
&lt;br /&gt;
===OpenDayLight===&lt;br /&gt;
TBC&lt;br /&gt;
&lt;br /&gt;
== DHCP server (Bridge)==&lt;br /&gt;
&lt;br /&gt;
For bridge type openvim relays on precreated bridges at compute nodes that has L2 connectivity using e.g. a switch in trunk mode. In this mode you should provide an external DHCP server for the management network &lt;br /&gt;
&lt;br /&gt;
Modify &#039;&#039;&#039;openvimd.cfg&#039;&#039;&#039; and add net controller connection details:&lt;br /&gt;
&lt;br /&gt;
 network_type : bridge&lt;br /&gt;
&lt;br /&gt;
For the management network a DHCP server is needed. Install the package dhcp3-server. This package will install the actual DHCP server based on isc-dhcp-server package.&lt;br /&gt;
&lt;br /&gt;
 Ubuntu 14.04:  sudo apt-get install dhcp3-server&lt;br /&gt;
 Ubuntu 16.04:  sudo apt install isc-dhcp-server&lt;br /&gt;
&lt;br /&gt;
Configure it editing file &#039;&#039;&#039;/etc/default/isc-dhcp-server&#039;&#039;&#039; to enable DHCP server in the appropriate interface, the one attached to Telco/VNF management network (e.g. eth1).&lt;br /&gt;
&lt;br /&gt;
 $ sudo vi /etc/default/isc-dhcp-server&lt;br /&gt;
 INTERFACES=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Edit file &#039;&#039;&#039;/etc/dhcp/dhcpd.conf&#039;&#039;&#039; to specify the subnet, netmask and range of IP addresses to be offered by the server.&lt;br /&gt;
&lt;br /&gt;
 $ sudo vi /etc/dhcp/dhcpd.conf&lt;br /&gt;
 ddns-update-style none;&lt;br /&gt;
 default-lease-time 86400;&lt;br /&gt;
 max-lease-time 86400;&lt;br /&gt;
 log-facility local7;&lt;br /&gt;
 option subnet-mask 255.255.0.0;&lt;br /&gt;
 option broadcast-address 10.210.255.255;&lt;br /&gt;
 subnet 10.210.0.0 netmask 255.255.0.0 {&lt;br /&gt;
  range 10.210.1.2 10.210.1.254;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Restart the service:&lt;br /&gt;
&lt;br /&gt;
 sudo service isc-dhcp-server restart&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
== OVS controller==&lt;br /&gt;
 &lt;br /&gt;
For ovs type openvim creates a ovs vxlan tunnel and launches a dhcp server in the ovs_controller. The ovs_controller can be a different or the same machine where openvim is running.&lt;br /&gt;
&lt;br /&gt;
Some preparation is need it before for DHCP management through OVS networks:&lt;br /&gt;
&lt;br /&gt;
	Execute &#039;&#039;&#039;scripts/configure-dhcp-server-UBUNTU16.0.4.sh&#039;&#039;&#039; to prepare openvim net controller. Can be placed in the same Openvim VM or in a new one. &lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;$sudo ./openvim/scripts/configure-dhcp-server-UBUNTU16.0.4.sh &amp;lt;user-name&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
	Modify &#039;&#039;&#039;openvimd.cfg&#039;&#039;&#039; and add net controller connection details:&lt;br /&gt;
&lt;br /&gt;
 network_type : ovs&lt;br /&gt;
 ovs_controller_ip:        &amp;lt;net controller ip&amp;gt;    # dhcp controller IP address, must be change in &lt;br /&gt;
                                                  # order to reach computes. &lt;br /&gt;
 ovs_controller_user:      &amp;lt;net controller user&amp;gt;  # User for the dchp controller for OVS networks&lt;br /&gt;
 ovs_controller_file_path: &#039;/var/lib/openvim&#039;     # Net controller Path for dhcp daemon &lt;br /&gt;
                                                  # configuration, by default &#039;/var/lib/openvim&lt;br /&gt;
&lt;br /&gt;
	For automatic login from openvim controller to OVS controller computes fill the ovs_controller_keyfile path to the public ssh key must be specify in openvimd.cfg. &lt;br /&gt;
 &lt;br /&gt;
 ovs_controller_keyfile:   /path/to/ssh-key-file  # ssh-access-key file to connect host&lt;br /&gt;
 host_ssh_keyfile:         /path/to/ssh-key-file  # Default ssh_key for connecting to compute nodes&lt;br /&gt;
&lt;br /&gt;
=Configuration=&lt;br /&gt;
&lt;br /&gt;
- Go to openvim folder (&#039;&#039;&#039;/opt/openvim&#039;&#039;&#039;) and edit openvimd.cfg. Note: by default it runs in mode: &#039;&#039;&#039;test&#039;&#039;&#039; where no real hosts neither openflow controller are needed. You can uses other modes:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! mode&lt;br /&gt;
! Computes hosts&lt;br /&gt;
! Openflow controller&lt;br /&gt;
! Observations&lt;br /&gt;
|-&lt;br /&gt;
| test&lt;br /&gt;
| fake&lt;br /&gt;
| X&lt;br /&gt;
| No real deployment. Just for API test&lt;br /&gt;
|-&lt;br /&gt;
| normal&lt;br /&gt;
| needed&lt;br /&gt;
| needed&lt;br /&gt;
| Normal behavior&lt;br /&gt;
|-&lt;br /&gt;
| host only&lt;br /&gt;
| needed&lt;br /&gt;
| X&lt;br /&gt;
| No PT/SRIOV connections&lt;br /&gt;
|-&lt;br /&gt;
| develop&lt;br /&gt;
| needed&lt;br /&gt;
| X&lt;br /&gt;
| Force to cloud type deployment without EPA&lt;br /&gt;
|-&lt;br /&gt;
| OF only&lt;br /&gt;
| fake&lt;br /&gt;
| needed&lt;br /&gt;
| To test openflow controller without needed of compute hosts&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Service must be restarted&lt;br /&gt;
 sudo service openvim restart&lt;br /&gt;
&lt;br /&gt;
NOTE: the following steps (ONLY if openvim runs in test mode) are done automatically by script:&lt;br /&gt;
 /opt/openvim/scripts/initopenvim.sh --insert-bashrc --force&lt;br /&gt;
&lt;br /&gt;
- Let&#039;s configure the openvim CLI client. Needed if you have changed the /opt/openvim/openvimd.cfg file (WARNING not the ./openvim/openvimd.cfg)&lt;br /&gt;
&lt;br /&gt;
 openvim config                           # show openvim related variables&lt;br /&gt;
 #To change variables run&lt;br /&gt;
 export OPENVIM_HOST=&amp;lt;http_host of openvimd.cfg&amp;gt;&lt;br /&gt;
 export OPENVIM_PORT=&amp;lt;http_port of openvimd.cfg&amp;gt;&lt;br /&gt;
 export OPENVIM_ADMIN_PORT=&amp;lt;http_admin_port of openvimd.cfg&amp;gt;&lt;br /&gt;
 #You can insert at .bashrc for authomatic loading at login:&lt;br /&gt;
 echo &amp;quot;export OPENVIM_HOST=&amp;lt;...&amp;gt;&amp;quot; &amp;gt;&amp;gt; /{HOME}/.bashrc&lt;br /&gt;
 ...&lt;br /&gt;
&lt;br /&gt;
==Adding compute nodes==&lt;br /&gt;
- Let&#039;s attach compute nodes&lt;br /&gt;
&lt;br /&gt;
In &#039;&#039;&#039;test&#039;&#039;&#039; mode we need to provide fake compute nodes with all the necessary information:&lt;br /&gt;
&lt;br /&gt;
 openvim host-add /opt/openvim/test/hosts/host-example0.yaml &lt;br /&gt;
 openvim host-add /opt/openvim/test/hosts/host-example1.yaml &lt;br /&gt;
 openvim host-add /opt/openvim/test/hosts/host-example2.yaml &lt;br /&gt;
 openvim host-add /opt/openvim/test/hosts/host-example3.yaml &lt;br /&gt;
 openvim host-list                        #-v,-vv,-vvv for verbosity levels&lt;br /&gt;
&lt;br /&gt;
In &#039;&#039;&#039;normal&#039;&#039;&#039; or &#039;&#039;&#039;host only&#039;&#039;&#039; mode, the process is a bit more complex. First, you need to configure appropriately the host following these [[Installation of an Openvim Compute Node|guidelines]]. The current process is manual, although we are working on an automated process. For the moment, follow these instructions:&lt;br /&gt;
&lt;br /&gt;
 #copy /opt/openvim/scripts/host-add.sh and run at compute host for gather all the information&lt;br /&gt;
 ./host_add.sh &amp;lt;user&amp;gt; &amp;lt;ip_name&amp;gt; &amp;gt;&amp;gt; host.yaml&lt;br /&gt;
&lt;br /&gt;
 #NOTE: If the host contains interfaces connected to the openflow switch for dataplane,&lt;br /&gt;
 # the switch port where the interfaces are connected must be provided manually, &lt;br /&gt;
 # otherwise these interfaces cannot be used. Follow one of two methods:&lt;br /&gt;
 #   1) Fill openvim/database_utils/of_ports_pci_correspondence.sql ...&lt;br /&gt;
 #   ... and load with mysql -uvim -p vim_db &amp;lt; openvim/database_utils/of_ports_pci_correspondence.sql&lt;br /&gt;
 #   2) or add manually this information at generated host.yaml with a &#039;switch_port: &amp;lt;whatever&amp;gt;&#039; &lt;br /&gt;
 #   ... entry at &#039;host-data&#039;:&#039;numas&#039;: &#039;interfaces&#039; &lt;br /&gt;
&lt;br /&gt;
 # copy this generated file host.yaml to the openvim server, and add the compute host with the command:&lt;br /&gt;
 openvim host-add host.yaml&lt;br /&gt;
&lt;br /&gt;
 # copy openvim ssh key to the compute node. If openvim user didn&#039;t have a ssh key generate it using ssh-keygen&lt;br /&gt;
 ssh-copy-id &amp;lt;compute node user&amp;gt;@&amp;lt;IP address of the compute node&amp;gt;&lt;br /&gt;
         &lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: It must be noted that Openvim has been tested with servers based on Xeon E5 Intel processors with Ivy Bridge architecture. No tests have been carried out with Intel Core i3, i5 and i7 families, so there are no guarantees that the integration will be seamless.&lt;br /&gt;
&lt;br /&gt;
==Adding external networks==&lt;br /&gt;
&lt;br /&gt;
- Let&#039;s list the external networks:&lt;br /&gt;
&lt;br /&gt;
 openvim net-list&lt;br /&gt;
&lt;br /&gt;
- Let&#039;s create some external networks in openvim. These networks are public and can be used by any VNF. It must be noticed that these networks must be pre-provisioned in the compute nodes in order to be effectively used by the VNFs. The pre-provision will be skipped since we are in test mode. Four networks will be created:&lt;br /&gt;
* &#039;&#039;default&#039;&#039; -&amp;gt; default NAT network provided by libvirt. By creating this network, VMs will be able to connect to default network in the same host where they are deployed.&lt;br /&gt;
* &#039;&#039;macvtap:em1&#039;&#039; -&amp;gt; macvtap network associated to interface &amp;quot;em1&amp;quot;. By creating this network, we allow VMs to connect to a macvtap interface of physical interface &amp;quot;em1&amp;quot; in the same host where they are deployed. If the interface naming scheme is different, use the appropriate name instead of &amp;quot;em1&amp;quot;.&lt;br /&gt;
* &#039;&#039;bridge_net&#039;&#039; -&amp;gt; bridged network intended for VM-to-VM communication. The pre-provision of a Linux bridge in a compute node is described in [[Installation of an Openvim Compute Node#Pre-provision_of_Linux_bridges|this link]]. By creating this network, VMs will be able to connect to the Linux bridge &amp;quot;virbrMan1&amp;quot; in the same host where they are deployed. In that way, two VMs connected to &amp;quot;virbrMan1&amp;quot;, no matter the host, will be able to talk each other.&lt;br /&gt;
* &#039;&#039;data_net&#039;&#039; -&amp;gt; external data network intended for VM-to-VM communication. By creating this network, VMs will be able to connect to a network element connected behind a physical port in the external switch.&lt;br /&gt;
&lt;br /&gt;
In order to create external networks, use &#039;openvim net-create&#039;, specifying a file with the network information. Now we will create the 4 networks:&lt;br /&gt;
&lt;br /&gt;
 openvim net-create /opt/openvim/test/networks/net-example0.yaml&lt;br /&gt;
 openvim net-create /opt/openvim/test/networks/net-example1.yaml&lt;br /&gt;
 openvim net-create /opt/openvim/test/networks/net-example2.yaml&lt;br /&gt;
 openvim net-create /opt/openvim/test/networks/net-example3.yaml&lt;br /&gt;
&lt;br /&gt;
- Let&#039;s list the external networks:&lt;br /&gt;
&lt;br /&gt;
 openvim net-list&lt;br /&gt;
 2c386a58-e2b5-11e4-a3c9-52540032c4fa   data_net&lt;br /&gt;
 35671f9e-e2b4-11e4-a3c9-52540032c4fa   default&lt;br /&gt;
 79769aa2-e2b4-11e4-a3c9-52540032c4fa   macvtap:em1&lt;br /&gt;
 8f597eb6-e2b4-11e4-a3c9-52540032c4fa   bridge_net&lt;br /&gt;
&lt;br /&gt;
You can build your own networks using the template &#039;templates/network.yaml&#039;. Alternatively, you can use &#039;openvim net-create&#039; without a file and answer the questions:&lt;br /&gt;
&lt;br /&gt;
 openvim net-create&lt;br /&gt;
&lt;br /&gt;
You can delete a network, e.g. &amp;quot;macvtap:em1&amp;quot;, using the command:&lt;br /&gt;
&lt;br /&gt;
 openvim net-delete macvtap:em1&lt;br /&gt;
&lt;br /&gt;
==Creating a new tenant==&lt;br /&gt;
- Now let&#039;s create a new tenant &amp;quot;admin&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
 $ openvim tenant-create --name admin --description admin&lt;br /&gt;
 &amp;lt;uuid&amp;gt;   admin   Created&lt;br /&gt;
&lt;br /&gt;
- Take the uuid of the tenant and update the environment variables used by openvim client:&lt;br /&gt;
&lt;br /&gt;
 export OPENVIM_TENANT=&amp;lt;obtained uuid&amp;gt;&lt;br /&gt;
 #echo &amp;quot;export OPENVIM_TENANT=&amp;lt;obtained uuid&amp;gt;&amp;quot; &amp;gt;&amp;gt; /home/${USER}/.bashrc&lt;br /&gt;
 openvim config                             #show openvim env variables&lt;/div&gt;</summary>
		<author><name>Mirabal</name></author>
	</entry>
	<entry>
		<id>https://osm.etsi.org/wikipub/index.php?title=Talk:OpenVIM_installation_(Release_TWO)&amp;diff=1569</id>
		<title>Talk:OpenVIM installation (Release TWO)</title>
		<link rel="alternate" type="text/html" href="https://osm.etsi.org/wikipub/index.php?title=Talk:OpenVIM_installation_(Release_TWO)&amp;diff=1569"/>
		<updated>2017-06-12T12:44:07Z</updated>

		<summary type="html">&lt;p&gt;Mirabal: /* Openflow Controller (floodlight) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Introduction=&lt;br /&gt;
Openvim is an implementation of an NFV VIM supporting EPA features and control of an underlay switching infrastructure through an OFC. Some of the EPA features included in openvim are:&lt;br /&gt;
&lt;br /&gt;
*CPU pinning&lt;br /&gt;
*Memory pinning&lt;br /&gt;
*NUMA pinning&lt;br /&gt;
*Support of memory huge pages&lt;br /&gt;
*Port passthrough interfaces&lt;br /&gt;
*SR-IOV interfaces&lt;br /&gt;
*Injection of virtual PCI addresses&lt;br /&gt;
&lt;br /&gt;
Openvim controller interfaces with Openvim compute nodes in the NFV Infrastructure and an Openflow controller in order to provide computing and networking capabilities and to deploy virtual machines. It offers a northbound interface, based on REST (openvim API), where enhanced cloud services are offered including the creation, deletion and management of images, flavors, instances and networks.&lt;br /&gt;
&lt;br /&gt;
Next figure shows a general diagram of a datacenter controlled by openvim.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Openvim controller relies on an NFS server as image repository, an Openflow Clontroller to configure the underlay switches, and a DHCP server to provide management IP addresses to the VMs. For simplicity, these instructions will asume that these three additional modules (image repo, OFC and DHCP server will be hosted in the same machine as Openvim controller.&lt;br /&gt;
&lt;br /&gt;
=Requirements=&lt;br /&gt;
==Openvim controller==&lt;br /&gt;
&lt;br /&gt;
==Openvim compute nodes==&lt;br /&gt;
&lt;br /&gt;
=Installation=&lt;br /&gt;
&lt;br /&gt;
==Openvim Controller==&lt;br /&gt;
&lt;br /&gt;
==NFS server==&lt;br /&gt;
&lt;br /&gt;
== DHCP server (Bridge)==&lt;br /&gt;
&lt;br /&gt;
Modify &#039;&#039;&#039;openvimd.cfg&#039;&#039;&#039; and add net controller connection details:&lt;br /&gt;
&lt;br /&gt;
 network_type : bridge&lt;br /&gt;
&lt;br /&gt;
For the management network a DHCP server is needed. Install the package dhcp3-server. This package will install the actual DHCP server based on isc-dhcp-server package.&lt;br /&gt;
&lt;br /&gt;
 Ubuntu 14.04:  sudo apt-get install dhcp3-server&lt;br /&gt;
 Ubuntu 16.04:  sudo apt install isc-dhcp-server&lt;br /&gt;
&lt;br /&gt;
Configure it editing file &#039;&#039;&#039;/etc/default/isc-dhcp-server&#039;&#039;&#039; to enable DHCP server in the appropriate interface, the one attached to Telco/VNF management network (e.g. eth1).&lt;br /&gt;
&lt;br /&gt;
 $ sudo vi /etc/default/isc-dhcp-server&lt;br /&gt;
 INTERFACES=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Edit file &#039;&#039;&#039;/etc/dhcp/dhcpd.conf&#039;&#039;&#039; to specify the subnet, netmask and range of IP addresses to be offered by the server.&lt;br /&gt;
&lt;br /&gt;
 $ sudo vi /etc/dhcp/dhcpd.conf&lt;br /&gt;
 ddns-update-style none;&lt;br /&gt;
 default-lease-time 86400;&lt;br /&gt;
 max-lease-time 86400;&lt;br /&gt;
 log-facility local7;&lt;br /&gt;
 option subnet-mask 255.255.0.0;&lt;br /&gt;
 option broadcast-address 10.210.255.255;&lt;br /&gt;
 subnet 10.210.0.0 netmask 255.255.0.0 {&lt;br /&gt;
  range 10.210.1.2 10.210.1.254;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Restart the service:&lt;br /&gt;
&lt;br /&gt;
 sudo service isc-dhcp-server restart&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
== Openvim OVS controller==&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
	For DHCP management through OVS networks, some preparation is need it before.&lt;br /&gt;
&lt;br /&gt;
	Execute &#039;&#039;&#039;scripts/configure-dhcp-server-UBUNTU16.0.4.sh&#039;&#039;&#039; to prepare openvim net controller. Can be placed in the same Openvim VM or in a new one. &lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;$sudo ./openvim/scripts/configure-dhcp-server-UBUNTU16.0.4.sh &amp;lt;user-name&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
	Modify &#039;&#039;&#039;openvimd.cfg&#039;&#039;&#039; and add net controller connection details:&lt;br /&gt;
&lt;br /&gt;
 network_type : ovs&lt;br /&gt;
 ovs_controller_ip:        &amp;lt;net controller ip&amp;gt;    # dhcp controller IP address, must be change in &lt;br /&gt;
                                                  # order to reach computes. &lt;br /&gt;
 ovs_controller_user:      &amp;lt;net controller user&amp;gt;  # User for the dchp controller for OVS networks&lt;br /&gt;
 ovs_controller_file_path: &#039;/var/lib/openvim&#039;     # Net controller Path for dhcp daemon &lt;br /&gt;
                                                  # configuration, by default &#039;/var/lib/openvim&lt;br /&gt;
&lt;br /&gt;
	For automatic login from openvim controller to OVS controller computes fill the ovs_controller_keyfile path to the public ssh key must be specify in openvimd.cfg. &lt;br /&gt;
 &lt;br /&gt;
 ovs_controller_keyfile:   /path/to/ssh-key-file  # ssh-access-key file to connect host&lt;br /&gt;
 host_ssh_keyfile: /path/to/ssh-key-file  # Default ssh_kye to use for connecting to compute nodes&lt;br /&gt;
&lt;br /&gt;
=Openvim Compute Node configuration=&lt;br /&gt;
&lt;br /&gt;
=Configuring openvim=&lt;br /&gt;
==Configure openvimd.cfg==&lt;br /&gt;
==Restarting openvim==&lt;br /&gt;
==Adding a compute node==&lt;br /&gt;
==Creating the management network==&lt;br /&gt;
==Creating a tenant==&lt;/div&gt;</summary>
		<author><name>Mirabal</name></author>
	</entry>
	<entry>
		<id>https://osm.etsi.org/wikipub/index.php?title=Talk:OpenVIM_installation_(Release_TWO)&amp;diff=1568</id>
		<title>Talk:OpenVIM installation (Release TWO)</title>
		<link rel="alternate" type="text/html" href="https://osm.etsi.org/wikipub/index.php?title=Talk:OpenVIM_installation_(Release_TWO)&amp;diff=1568"/>
		<updated>2017-06-12T12:30:35Z</updated>

		<summary type="html">&lt;p&gt;Mirabal: /* DHCP server */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Introduction=&lt;br /&gt;
Openvim is an implementation of an NFV VIM supporting EPA features and control of an underlay switching infrastructure through an OFC. Some of the EPA features included in openvim are:&lt;br /&gt;
&lt;br /&gt;
*CPU pinning&lt;br /&gt;
*Memory pinning&lt;br /&gt;
*NUMA pinning&lt;br /&gt;
*Support of memory huge pages&lt;br /&gt;
*Port passthrough interfaces&lt;br /&gt;
*SR-IOV interfaces&lt;br /&gt;
*Injection of virtual PCI addresses&lt;br /&gt;
&lt;br /&gt;
Openvim controller interfaces with Openvim compute nodes in the NFV Infrastructure and an Openflow controller in order to provide computing and networking capabilities and to deploy virtual machines. It offers a northbound interface, based on REST (openvim API), where enhanced cloud services are offered including the creation, deletion and management of images, flavors, instances and networks.&lt;br /&gt;
&lt;br /&gt;
Next figure shows a general diagram of a datacenter controlled by openvim.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Openvim controller relies on an NFS server as image repository, an Openflow Clontroller to configure the underlay switches, and a DHCP server to provide management IP addresses to the VMs. For simplicity, these instructions will asume that these three additional modules (image repo, OFC and DHCP server will be hosted in the same machine as Openvim controller.&lt;br /&gt;
&lt;br /&gt;
=Requirements=&lt;br /&gt;
==Openvim controller==&lt;br /&gt;
&lt;br /&gt;
==Openvim compute nodes==&lt;br /&gt;
&lt;br /&gt;
=Installation=&lt;br /&gt;
&lt;br /&gt;
==Openvim Controller==&lt;br /&gt;
&lt;br /&gt;
==NFS server==&lt;br /&gt;
&lt;br /&gt;
==Openflow Controller (floodlight)==&lt;br /&gt;
&lt;br /&gt;
Openvim support 2 dhcp server options, bridge or ovs&lt;br /&gt;
&lt;br /&gt;
	&lt;br /&gt;
----&lt;br /&gt;
== DHCP server (Bridge)==&lt;br /&gt;
&lt;br /&gt;
Modify &#039;&#039;&#039;openvimd.cfg&#039;&#039;&#039; and add net controller connection details:&lt;br /&gt;
&lt;br /&gt;
 network_type : bridge&lt;br /&gt;
&lt;br /&gt;
For the management network a DHCP server is needed. Install the package dhcp3-server. This package will install the actual DHCP server based on isc-dhcp-server package.&lt;br /&gt;
&lt;br /&gt;
 Ubuntu 14.04:  sudo apt-get install dhcp3-server&lt;br /&gt;
 Ubuntu 16.04:  sudo apt install isc-dhcp-server&lt;br /&gt;
&lt;br /&gt;
Configure it editing file &#039;&#039;&#039;/etc/default/isc-dhcp-server&#039;&#039;&#039; to enable DHCP server in the appropriate interface, the one attached to Telco/VNF management network (e.g. eth1).&lt;br /&gt;
&lt;br /&gt;
 $ sudo vi /etc/default/isc-dhcp-server&lt;br /&gt;
 INTERFACES=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Edit file &#039;&#039;&#039;/etc/dhcp/dhcpd.conf&#039;&#039;&#039; to specify the subnet, netmask and range of IP addresses to be offered by the server.&lt;br /&gt;
&lt;br /&gt;
 $ sudo vi /etc/dhcp/dhcpd.conf&lt;br /&gt;
 ddns-update-style none;&lt;br /&gt;
 default-lease-time 86400;&lt;br /&gt;
 max-lease-time 86400;&lt;br /&gt;
 log-facility local7;&lt;br /&gt;
 option subnet-mask 255.255.0.0;&lt;br /&gt;
 option broadcast-address 10.210.255.255;&lt;br /&gt;
 subnet 10.210.0.0 netmask 255.255.0.0 {&lt;br /&gt;
  range 10.210.1.2 10.210.1.254;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Restart the service:&lt;br /&gt;
&lt;br /&gt;
 sudo service isc-dhcp-server restart&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
== Openvim OVS controller==&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
	For DHCP management through OVS networks, some preparation is need it before.&lt;br /&gt;
&lt;br /&gt;
	Execute &#039;&#039;&#039;scripts/configure-dhcp-server-UBUNTU16.0.4.sh&#039;&#039;&#039; to prepare openvim net controller. Can be placed in the same Openvim VM or in a new one. &lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;$sudo ./openvim/scripts/configure-dhcp-server-UBUNTU16.0.4.sh &amp;lt;user-name&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
	Modify &#039;&#039;&#039;openvimd.cfg&#039;&#039;&#039; and add net controller connection details:&lt;br /&gt;
&lt;br /&gt;
 network_type : ovs&lt;br /&gt;
 ovs_controller_ip:        &amp;lt;net controller ip&amp;gt;    # dhcp controller IP address, must be change in &lt;br /&gt;
                                                  # order to reach computes. &lt;br /&gt;
 ovs_controller_user:      &amp;lt;net controller user&amp;gt;  # User for the dchp controller for OVS networks&lt;br /&gt;
 ovs_controller_file_path: &#039;/var/lib/openvim&#039;     # Net controller Path for dhcp daemon &lt;br /&gt;
                                                  # configuration, by default &#039;/var/lib/openvim&lt;br /&gt;
&lt;br /&gt;
	For automatic login from openvim controller to OVS controller computes fill the ovs_controller_keyfile path to the public ssh key must be specify in openvimd.cfg. &lt;br /&gt;
 &lt;br /&gt;
 ovs_controller_keyfile:   /path/to/ssh-key-file  # ssh-access-key file to connect host&lt;br /&gt;
 host_ssh_keyfile: /path/to/ssh-key-file  # Default ssh_kye to use for connecting to compute nodes&lt;br /&gt;
&lt;br /&gt;
=Openvim Compute Node configuration=&lt;br /&gt;
&lt;br /&gt;
=Configuring openvim=&lt;br /&gt;
==Configure openvimd.cfg==&lt;br /&gt;
==Restarting openvim==&lt;br /&gt;
==Adding a compute node==&lt;br /&gt;
==Creating the management network==&lt;br /&gt;
==Creating a tenant==&lt;/div&gt;</summary>
		<author><name>Mirabal</name></author>
	</entry>
	<entry>
		<id>https://osm.etsi.org/wikipub/index.php?title=Ovs_changes&amp;diff=1567</id>
		<title>Ovs changes</title>
		<link rel="alternate" type="text/html" href="https://osm.etsi.org/wikipub/index.php?title=Ovs_changes&amp;diff=1567"/>
		<updated>2017-06-12T12:24:42Z</updated>

		<summary type="html">&lt;p&gt;Mirabal: Blanked the page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Mirabal</name></author>
	</entry>
	<entry>
		<id>https://osm.etsi.org/wikipub/index.php?title=Ovs_changes&amp;diff=1566</id>
		<title>Ovs changes</title>
		<link rel="alternate" type="text/html" href="https://osm.etsi.org/wikipub/index.php?title=Ovs_changes&amp;diff=1566"/>
		<updated>2017-06-12T12:14:16Z</updated>

		<summary type="html">&lt;p&gt;Mirabal: Created page with &amp;quot;Openvim support 2 dhcp server options, bridge or ovs  	 ---- == DHCP server (Bridge)==  Modify &amp;#039;&amp;#039;&amp;#039;openvimd.cfg&amp;#039;&amp;#039;&amp;#039; and add net controller connection details:   network_type : b...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Openvim support 2 dhcp server options, bridge or ovs&lt;br /&gt;
&lt;br /&gt;
	&lt;br /&gt;
----&lt;br /&gt;
== DHCP server (Bridge)==&lt;br /&gt;
&lt;br /&gt;
Modify &#039;&#039;&#039;openvimd.cfg&#039;&#039;&#039; and add net controller connection details:&lt;br /&gt;
&lt;br /&gt;
 network_type : bridge&lt;br /&gt;
&lt;br /&gt;
For the management network a DHCP server is needed. Install the package dhcp3-server. This package will install the actual DHCP server based on isc-dhcp-server package.&lt;br /&gt;
&lt;br /&gt;
 Ubuntu 14.04:  sudo apt-get install dhcp3-server&lt;br /&gt;
 Ubuntu 16.04:  sudo apt install isc-dhcp-server&lt;br /&gt;
&lt;br /&gt;
Configure it editing file &#039;&#039;&#039;/etc/default/isc-dhcp-server&#039;&#039;&#039; to enable DHCP server in the appropriate interface, the one attached to Telco/VNF management network (e.g. eth1).&lt;br /&gt;
&lt;br /&gt;
 $ sudo vi /etc/default/isc-dhcp-server&lt;br /&gt;
 INTERFACES=&amp;quot;eth1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Edit file &#039;&#039;&#039;/etc/dhcp/dhcpd.conf&#039;&#039;&#039; to specify the subnet, netmask and range of IP addresses to be offered by the server.&lt;br /&gt;
&lt;br /&gt;
 $ sudo vi /etc/dhcp/dhcpd.conf&lt;br /&gt;
 ddns-update-style none;&lt;br /&gt;
 default-lease-time 86400;&lt;br /&gt;
 max-lease-time 86400;&lt;br /&gt;
 log-facility local7;&lt;br /&gt;
 option subnet-mask 255.255.0.0;&lt;br /&gt;
 option broadcast-address 10.210.255.255;&lt;br /&gt;
 subnet 10.210.0.0 netmask 255.255.0.0 {&lt;br /&gt;
  range 10.210.1.2 10.210.1.254;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Restart the service:&lt;br /&gt;
&lt;br /&gt;
 sudo service isc-dhcp-server restart&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
== Openvim OVS controller==&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
	For DHCP management through OVS networks, some preparation is need it before.&lt;br /&gt;
&lt;br /&gt;
	Execute &#039;&#039;&#039;scripts/configure-dhcp-server-UBUNTU16.0.4.sh&#039;&#039;&#039; to prepare openvim net controller. Can be placed in the same Openvim VM or in a new one. &lt;br /&gt;
&lt;br /&gt;
  &#039;&#039;$sudo ./openvim/scripts/configure-dhcp-server-UBUNTU16.0.4.sh &amp;lt;user-name&amp;gt;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
	Modify &#039;&#039;&#039;openvimd.cfg&#039;&#039;&#039; and add net controller connection details:&lt;br /&gt;
&lt;br /&gt;
 network_type : ovs&lt;br /&gt;
 ovs_controller_ip:        &amp;lt;net controller ip&amp;gt;    # dhcp controller IP address, must be change in &lt;br /&gt;
                                                  # order to reach computes. &lt;br /&gt;
 ovs_controller_user:      &amp;lt;net controller user&amp;gt;  # User for the dchp controller for OVS networks&lt;br /&gt;
 ovs_controller_file_path: &#039;/var/lib/openvim&#039;     # Net controller Path for dhcp daemon &lt;br /&gt;
                                                  # configuration, by default &#039;/var/lib/openvim&lt;br /&gt;
&lt;br /&gt;
	For automatic login from openvim controller to OVS controller computes fill the ovs_controller_keyfile path to the public ssh key must be specify in openvimd.cfg. &lt;br /&gt;
 &lt;br /&gt;
 ovs_controller_keyfile:   /path/to/ssh-key-file  # ssh-access-key file to connect host&lt;br /&gt;
 host_ssh_keyfile: /path/to/ssh-key-file  # Default ssh_kye to use for connecting to compute nodes&lt;/div&gt;</summary>
		<author><name>Mirabal</name></author>
	</entry>
	<entry>
		<id>https://osm.etsi.org/wikipub/index.php?title=Talk:Logs_and_troubleshooting_(Release_ONE)&amp;diff=1320</id>
		<title>Talk:Logs and troubleshooting (Release ONE)</title>
		<link rel="alternate" type="text/html" href="https://osm.etsi.org/wikipub/index.php?title=Talk:Logs_and_troubleshooting_(Release_ONE)&amp;diff=1320"/>
		<updated>2017-04-07T10:31:58Z</updated>

		<summary type="html">&lt;p&gt;Mirabal: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Update with install script ? ==&lt;br /&gt;
&lt;br /&gt;
About the section [[Logs_and_troubleshooting_(Release_ONE)#Software_upgrade]]&lt;br /&gt;
&lt;br /&gt;
The script linked in [[OSM_Release_ONE#Install_from_source]] is supposed to handle updates, is it stable enough to be included in the wiki ?&lt;br /&gt;
&lt;br /&gt;
No, the option &amp;quot;--update&amp;quot; is not working yet. It is work in progress.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==RO upgrade==&lt;br /&gt;
(Propose of change once R TWO is launched)&lt;br /&gt;
&lt;br /&gt;
Execute at RO container (&amp;quot;lxc exec RO bash&amp;quot; to enter into the container, &amp;quot;exit&amp;quot; to exit)&lt;br /&gt;
&lt;br /&gt;
Until v1.1 execute:&lt;br /&gt;
&lt;br /&gt;
 service openmano stop&lt;br /&gt;
 #git -C /opt/openmano stash        #required if the original config file has changed&lt;br /&gt;
 git -C /opt/openmano pull --rebase&lt;br /&gt;
 git -C /opt/openmano checkout tags/v1.0.5&lt;br /&gt;
 #git -C /opt/openmano stash pop     #required if the original file has changed&lt;br /&gt;
 /opt/openmano/database_utils/migrate_mano_db.sh &lt;br /&gt;
 service openmano start&lt;br /&gt;
&lt;br /&gt;
Upgrade from v1.x to v2.x execute:&lt;br /&gt;
 #git -C /opt/openmano stash        #required if the original config file has changed&lt;br /&gt;
 git -C /opt/openmano pull --rebase&lt;br /&gt;
 git -C /opt/openmano checkout tags/v2.0&lt;br /&gt;
 #git -C /opt/openmano stash pop     #required if the original file has changed&lt;br /&gt;
 /opt/openmano/database_utils/migrate_mano_db.sh&lt;br /&gt;
 # install some libraries need it by openvim lib&lt;br /&gt;
 sudo apt-get install make python-pip python-paramiko libssl-dev libffi-dev python-libvirt &lt;br /&gt;
 cd /opt&lt;br /&gt;
 git clone https://osm.etsi.org/gerrit/osm/openvim&lt;br /&gt;
 cd openvim/&lt;br /&gt;
 # install openvim lib&lt;br /&gt;
 sudo make lite&lt;br /&gt;
 # after install openvim python library, lib-osm-openvim will be listed by &amp;quot;pip list&amp;quot; command&lt;br /&gt;
 /usr/local/osm/openvim/database_utils/install-db-server.sh -U &amp;lt;db_admin_user&amp;gt; -P &amp;lt;db admin pass&amp;gt; -d mano_vim_db -u mano -p manopw &lt;br /&gt;
 service openmano start&lt;/div&gt;</summary>
		<author><name>Mirabal</name></author>
	</entry>
	<entry>
		<id>https://osm.etsi.org/wikipub/index.php?title=Talk:Logs_and_troubleshooting_(Release_ONE)&amp;diff=1319</id>
		<title>Talk:Logs and troubleshooting (Release ONE)</title>
		<link rel="alternate" type="text/html" href="https://osm.etsi.org/wikipub/index.php?title=Talk:Logs_and_troubleshooting_(Release_ONE)&amp;diff=1319"/>
		<updated>2017-04-07T10:31:36Z</updated>

		<summary type="html">&lt;p&gt;Mirabal: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Update with install script ? ==&lt;br /&gt;
&lt;br /&gt;
About the section [[Logs_and_troubleshooting_(Release_ONE)#Software_upgrade]]&lt;br /&gt;
&lt;br /&gt;
The script linked in [[OSM_Release_ONE#Install_from_source]] is supposed to handle updates, is it stable enough to be included in the wiki ?&lt;br /&gt;
&lt;br /&gt;
No, the option &amp;quot;--update&amp;quot; is not working yet. It is work in progress.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==RO upgrade==&lt;br /&gt;
(Propose of change once R TWO is launched)&lt;br /&gt;
&lt;br /&gt;
Execute at RO container (&amp;quot;lxc exec RO bash&amp;quot; to enter into the container, &amp;quot;exit&amp;quot; to exit)&lt;br /&gt;
&lt;br /&gt;
Until v1.1 execute:&lt;br /&gt;
&lt;br /&gt;
 service openmano stop&lt;br /&gt;
 #git -C /opt/openmano stash        #required if the original config file has changed&lt;br /&gt;
 git -C /opt/openmano pull --rebase&lt;br /&gt;
 git -C /opt/openmano checkout tags/v1.0.5&lt;br /&gt;
 #git -C /opt/openmano stash pop     #required if the original file has changed&lt;br /&gt;
 /opt/openmano/database_utils/migrate_mano_db.sh &lt;br /&gt;
 service openmano start&lt;br /&gt;
&lt;br /&gt;
Upgrade from v1.x to v2.x execute:&lt;br /&gt;
 #git -C /opt/openmano stash        #required if the original config file has changed&lt;br /&gt;
 git -C /opt/openmano pull --rebase&lt;br /&gt;
 git -C /opt/openmano checkout tags/v2.0&lt;br /&gt;
 #git -C /opt/openmano stash pop     #required if the original file has changed&lt;br /&gt;
 /opt/openmano/database_utils/migrate_mano_db.sh&lt;br /&gt;
 # install some libraries need it by openvim lib&lt;br /&gt;
 sudo apt-get install make python-pip python-paramiko libssl-dev libffi-dev python-libvirt &lt;br /&gt;
 cd /opt&lt;br /&gt;
 git clone https://osm.etsi.org/gerrit/osm/openvim&lt;br /&gt;
 cd openvim/&lt;br /&gt;
 # install openvim lib&lt;br /&gt;
 sudo make&lt;br /&gt;
 # after install openvim python library, lib-osm-openvim will be listed by &amp;quot;pip list&amp;quot; command&lt;br /&gt;
 /usr/local/osm/openvim/database_utils/install-db-server.sh -U &amp;lt;db_admin_user&amp;gt; -P &amp;lt;db admin pass&amp;gt; -d mano_vim_db -u mano -p manopw &lt;br /&gt;
 service openmano start&lt;/div&gt;</summary>
		<author><name>Mirabal</name></author>
	</entry>
	<entry>
		<id>https://osm.etsi.org/wikipub/index.php?title=Talk:Logs_and_troubleshooting_(Release_ONE)&amp;diff=1318</id>
		<title>Talk:Logs and troubleshooting (Release ONE)</title>
		<link rel="alternate" type="text/html" href="https://osm.etsi.org/wikipub/index.php?title=Talk:Logs_and_troubleshooting_(Release_ONE)&amp;diff=1318"/>
		<updated>2017-04-07T10:27:58Z</updated>

		<summary type="html">&lt;p&gt;Mirabal: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Update with install script ? ==&lt;br /&gt;
&lt;br /&gt;
About the section [[Logs_and_troubleshooting_(Release_ONE)#Software_upgrade]]&lt;br /&gt;
&lt;br /&gt;
The script linked in [[OSM_Release_ONE#Install_from_source]] is supposed to handle updates, is it stable enough to be included in the wiki ?&lt;br /&gt;
&lt;br /&gt;
No, the option &amp;quot;--update&amp;quot; is not working yet. It is work in progress.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==RO upgrade==&lt;br /&gt;
(Propose of change once R TWO is launched)&lt;br /&gt;
&lt;br /&gt;
Execute at RO container (&amp;quot;lxc exec RO bash&amp;quot; to enter into the container, &amp;quot;exit&amp;quot; to exit)&lt;br /&gt;
&lt;br /&gt;
Until v1.1 execute:&lt;br /&gt;
&lt;br /&gt;
 service openmano stop&lt;br /&gt;
 #git -C /opt/openmano stash        #required if the original config file has changed&lt;br /&gt;
 git -C /opt/openmano pull --rebase&lt;br /&gt;
 git -C /opt/openmano checkout tags/v1.0.5&lt;br /&gt;
 #git -C /opt/openmano stash pop     #required if the original file has changed&lt;br /&gt;
 /opt/openmano/database_utils/migrate_mano_db.sh &lt;br /&gt;
 service openmano start&lt;br /&gt;
&lt;br /&gt;
Upgrade from v1.x to v2.x execute:&lt;br /&gt;
 #git -C /opt/openmano stash        #required if the original config file has changed&lt;br /&gt;
 git -C /opt/openmano pull --rebase&lt;br /&gt;
 git -C /opt/openmano checkout tags/v2.0&lt;br /&gt;
 #git -C /opt/openmano stash pop     #required if the original file has changed&lt;br /&gt;
 /opt/openmano/database_utils/migrate_mano_db.sh&lt;br /&gt;
 cd /opt&lt;br /&gt;
 git clone https://osm.etsi.org/gerrit/osm/openvim&lt;br /&gt;
 cd openvim/&lt;br /&gt;
 sudo make&lt;br /&gt;
 /usr/local/osm/openvim/database_utils/install-db-server.sh -U &amp;lt;db_admin_user&amp;gt; -P &amp;lt;db admin pass&amp;gt; -d mano_vim_db -u mano -p manopw &lt;br /&gt;
 service openmano start&lt;/div&gt;</summary>
		<author><name>Mirabal</name></author>
	</entry>
	<entry>
		<id>https://osm.etsi.org/wikipub/index.php?title=Talk:Logs_and_troubleshooting_(Release_ONE)&amp;diff=1317</id>
		<title>Talk:Logs and troubleshooting (Release ONE)</title>
		<link rel="alternate" type="text/html" href="https://osm.etsi.org/wikipub/index.php?title=Talk:Logs_and_troubleshooting_(Release_ONE)&amp;diff=1317"/>
		<updated>2017-04-07T10:06:56Z</updated>

		<summary type="html">&lt;p&gt;Mirabal: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Update with install script ? ==&lt;br /&gt;
&lt;br /&gt;
About the section [[Logs_and_troubleshooting_(Release_ONE)#Software_upgrade]]&lt;br /&gt;
&lt;br /&gt;
The script linked in [[OSM_Release_ONE#Install_from_source]] is supposed to handle updates, is it stable enough to be included in the wiki ?&lt;br /&gt;
&lt;br /&gt;
No, the option &amp;quot;--update&amp;quot; is not working yet. It is work in progress.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==RO upgrade==&lt;br /&gt;
(Propose of change once R TWO is launched)&lt;br /&gt;
&lt;br /&gt;
Execute at RO container (&amp;quot;lxc exec RO bash&amp;quot; to enter into the container, &amp;quot;exit&amp;quot; to exit)&lt;br /&gt;
&lt;br /&gt;
Until v1.1 execute:&lt;br /&gt;
&lt;br /&gt;
 service openmano stop&lt;br /&gt;
 #git -C /opt/openmano stash        #required if the original config file has changed&lt;br /&gt;
 git -C /opt/openmano pull --rebase&lt;br /&gt;
 git -C /opt/openmano checkout tags/v1.0.5&lt;br /&gt;
 #git -C /opt/openmano stash pop     #required if the original file has changed&lt;br /&gt;
 /opt/openmano/database_utils/migrate_mano_db.sh &lt;br /&gt;
 service openmano start&lt;br /&gt;
&lt;br /&gt;
Upgrade from v1.x to v2.x execute:&lt;br /&gt;
 #git -C /opt/openmano stash        #required if the original config file has changed&lt;br /&gt;
 git -C /opt/openmano pull --rebase&lt;br /&gt;
 git -C /opt/openmano checkout tags/v2.0&lt;br /&gt;
 #git -C /opt/openmano stash pop     #required if the original file has changed&lt;br /&gt;
 /opt/openmano/database_utils/migrate_mano_db.sh&lt;br /&gt;
 cd /opt&lt;br /&gt;
 git clone https://osm.etsi.org/gerrit/osm/openvim&lt;br /&gt;
 cd openvim/&lt;br /&gt;
 sudo make&lt;br /&gt;
  &lt;br /&gt;
 /usr/local/osm/openvim/database_utils/install-db-server.sh -U &amp;lt;db_admin_user&amp;gt; -P &amp;lt;db admin pass&amp;gt; -d mano_vim_db -u mano -p manopw &lt;br /&gt;
 service openmano start&lt;/div&gt;</summary>
		<author><name>Mirabal</name></author>
	</entry>
	<entry>
		<id>https://osm.etsi.org/wikipub/index.php?title=Talk:Logs_and_troubleshooting_(Release_ONE)&amp;diff=1316</id>
		<title>Talk:Logs and troubleshooting (Release ONE)</title>
		<link rel="alternate" type="text/html" href="https://osm.etsi.org/wikipub/index.php?title=Talk:Logs_and_troubleshooting_(Release_ONE)&amp;diff=1316"/>
		<updated>2017-04-07T09:56:23Z</updated>

		<summary type="html">&lt;p&gt;Mirabal: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Update with install script ? ==&lt;br /&gt;
&lt;br /&gt;
About the section [[Logs_and_troubleshooting_(Release_ONE)#Software_upgrade]]&lt;br /&gt;
&lt;br /&gt;
The script linked in [[OSM_Release_ONE#Install_from_source]] is supposed to handle updates, is it stable enough to be included in the wiki ?&lt;br /&gt;
&lt;br /&gt;
No, the option &amp;quot;--update&amp;quot; is not working yet. It is work in progress.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==RO upgrade==&lt;br /&gt;
(Propose of change once R TWO is launched)&lt;br /&gt;
&lt;br /&gt;
Execute at RO container (&amp;quot;lxc exec RO bash&amp;quot; to enter into the container, &amp;quot;exit&amp;quot; to exit)&lt;br /&gt;
&lt;br /&gt;
Until v1.1 execute:&lt;br /&gt;
&lt;br /&gt;
 service openmano stop&lt;br /&gt;
 #git -C /opt/openmano stash        #required if the original config file has changed&lt;br /&gt;
 git -C /opt/openmano pull --rebase&lt;br /&gt;
 git -C /opt/openmano checkout tags/v1.0.5&lt;br /&gt;
 #git -C /opt/openmano stash pop     #required if the original file has changed&lt;br /&gt;
 /opt/openmano/database_utils/migrate_mano_db.sh &lt;br /&gt;
 service openmano start&lt;br /&gt;
&lt;br /&gt;
Upgrade from v1.x to v2.x execute:&lt;br /&gt;
 #git -C /opt/openmano stash        #required if the original config file has changed&lt;br /&gt;
 git -C /opt/openmano pull --rebase&lt;br /&gt;
 git -C /opt/openmano checkout tags/v2.0&lt;br /&gt;
 #git -C /opt/openmano stash pop     #required if the original file has changed&lt;br /&gt;
 /opt/openmano/database_utils/migrate_mano_db.sh&lt;br /&gt;
 cd /opt&lt;br /&gt;
 git clone https://osm.etsi.org/gerrit/osm/openvim&lt;br /&gt;
 cd openvim/&lt;br /&gt;
 sudo make&lt;br /&gt;
 /usr/local/osm/openvim/database_utils/install-db-server.sh  -d mano_vim_db -u mano -p manopw  –quiet --db-user-exist&lt;br /&gt;
 service openmano start&lt;/div&gt;</summary>
		<author><name>Mirabal</name></author>
	</entry>
</feed>