<?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=Baldoni</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=Baldoni"/>
	<link rel="alternate" type="text/html" href="https://osm.etsi.org/wikipub/index.php/Special:Contributions/Baldoni"/>
	<updated>2026-05-07T03:55:54Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.1</generator>
	<entry>
		<id>https://osm.etsi.org/wikipub/index.php?title=Eclipse_fog05&amp;diff=4675</id>
		<title>Eclipse fog05</title>
		<link rel="alternate" type="text/html" href="https://osm.etsi.org/wikipub/index.php?title=Eclipse_fog05&amp;diff=4675"/>
		<updated>2019-08-05T07:35:58Z</updated>

		<summary type="html">&lt;p&gt;Baldoni: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Eclipse fog05 (can be read as fog-O-five or fog-O-S) is a different kind of VIM, it is designed to manage a fog/edge environment, thus it is completely distributed (no controller/master node) and pluggable.&lt;br /&gt;
&lt;br /&gt;
Available as FOSS from Eclipse: https://github.com/eclipse/fog05&lt;br /&gt;
&lt;br /&gt;
It stores information in a distributed K,V store that then is able to provide location transparency to the user, and all the state information are stored in it.&lt;br /&gt;
&lt;br /&gt;
= Configure fog05 for OSM =&lt;br /&gt;
&lt;br /&gt;
In order to make OSM able to contact fog05, you need to configure the REST proxy on one node that has access to the whole fog05 deployment, this node will act as a proxy and thus allow OSM to interact with fog05.&lt;br /&gt;
This requires python3-flask, fog05 pyhton api to be installed in the node.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 $ cd fog05/src/utils/python/rest_proxy&lt;br /&gt;
 $ sudo make install&lt;br /&gt;
&lt;br /&gt;
The installation will install also a systemd service, then you have to configure this service by editing the JSON configuaration file under /etc/fos/rest/service.json following your fog05 installation.&lt;br /&gt;
&lt;br /&gt;
 {&lt;br /&gt;
    &amp;quot;host&amp;quot;: &amp;quot;&amp;lt;ip address you node where you want the service to listen&amp;gt;&amp;quot;,&lt;br /&gt;
    &amp;quot;port&amp;quot;: 8080,&lt;br /&gt;
    &amp;quot;debug&amp;quot;: false,&lt;br /&gt;
    &amp;quot;yaks&amp;quot;: &amp;quot;&amp;lt;ip address of one of the yaks server in the fog05 system&amp;gt;&amp;quot;,&lt;br /&gt;
    &amp;quot;sysid&amp;quot;: &amp;quot;0&amp;quot;,&lt;br /&gt;
    &amp;quot;tenantid&amp;quot;: &amp;quot;0&amp;quot;,&lt;br /&gt;
    &amp;quot;image_path&amp;quot;: &amp;quot;imgs&amp;quot;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Then you can simply start the service using systemd&lt;br /&gt;
&lt;br /&gt;
 $ sudo systemd start fosrest&lt;br /&gt;
&lt;br /&gt;
== Upload Images  ==&lt;br /&gt;
You can use the REST proxy also as image service, image upload can be done by using the python rest API.&lt;br /&gt;
First generate the descriptor of your image:&lt;br /&gt;
 {&lt;br /&gt;
    &amp;quot;name&amp;quot;: &amp;quot;&amp;lt;image name&amp;gt;&amp;quot;,&lt;br /&gt;
    &amp;quot;uri&amp;quot;: &amp;quot;&amp;quot;,&lt;br /&gt;
    &amp;quot;checksum&amp;quot;: &amp;quot;&amp;lt;sha256sum of image file&amp;quot;,&lt;br /&gt;
    &amp;quot;format&amp;quot;: &amp;quot;&amp;lt;image format eg. qcow2, iso, tar.gz&amp;gt;&amp;quot;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
the using the python api the upload of the image can be done:&lt;br /&gt;
 &amp;gt;&amp;gt;&amp;gt;api.image.add(img_descriptor, img_file_path)&lt;br /&gt;
 {&#039;result&#039;: &#039;92274e2e-129f-40a3-be7e-a35ea596d439&#039;}&lt;br /&gt;
 where the value of result is the uuid of the image&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Add Eclipse fog05 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. This paremeter can be used when creating the datacenter using the OSM client or when adding the datacenter directly to the RO (both at datacenter creation and datacenter attachment to openmano tenant -the latter prevails-).&lt;br /&gt;
&lt;br /&gt;
The following configuration can be added:&lt;br /&gt;
* &#039;&#039;&#039;arch&#039;&#039;&#039;: cpu architecture used when creating the VDUs for this VIM account eg. x86_64, aarch64, default is x86_64.&lt;br /&gt;
* &#039;&#039;&#039;hypervisor&#039;&#039;&#039;: hypervisor supported by this VIM account, can be one of: LXD, KVM, BARE, DOCKER, XEN, at least one node of the system as to be able to manage the selected hypervisor, default is LXD.&lt;br /&gt;
* &#039;&#039;&#039;nodes&#039;&#039;&#039;: if you want this VIM  account to be able to manage only a subset of the nodes in the system you can pass a list of node uuids, by default is an empty list that means all nodes.&lt;br /&gt;
&lt;br /&gt;
=== Adding vimaccount using OSM client ===&lt;br /&gt;
&lt;br /&gt;
 osm vim-create --name fos --auth_url &amp;lt;rest proxy ip&amp;gt;:8080 --account_type fos --tenant osm --user dummy --password dummy --config &#039;{hypervisor: LXD}&#039;&lt;br /&gt;
&lt;br /&gt;
== VLAN configuration (optional) ==&lt;br /&gt;
&lt;br /&gt;
If you want your fog05 installation to be able to use VLANs for virtual networks instead of overlay VxLANs you need to change the configuration on all nodes. You need to update the configuration file /etc/fos/plugins/linuxbridge/linuxbridge_plugin.json &lt;br /&gt;
&lt;br /&gt;
 {&lt;br /&gt;
  &amp;quot;name&amp;quot;: &amp;quot;linuxbridge&amp;quot;,&lt;br /&gt;
  &amp;quot;version&amp;quot;: 1,&lt;br /&gt;
  &amp;quot;uuid&amp;quot;: &amp;quot;d42b4163-af35-423a-acb4-a228290cf0be&amp;quot;,&lt;br /&gt;
  &amp;quot;type&amp;quot;: &amp;quot;network&amp;quot;,&lt;br /&gt;
  &amp;quot;requirements&amp;quot;: [&lt;br /&gt;
    &amp;quot;jinja2&amp;quot;&lt;br /&gt;
  ],&lt;br /&gt;
  &amp;quot;description&amp;quot;: &amp;quot;linux Bridge network plugin&amp;quot;,&lt;br /&gt;
  &amp;quot;configuration&amp;quot;: {&lt;br /&gt;
    &amp;quot;ylocator&amp;quot;: &amp;quot;tcp/&amp;lt;your yaks ip&amp;gt;:7887&amp;quot;,&lt;br /&gt;
    &amp;quot;nodeid&amp;quot;: &amp;quot;&amp;lt;your node id&amp;gt;&amp;quot;,&lt;br /&gt;
    &amp;quot;dataplane_interface&amp;quot;: &amp;quot;&amp;lt;interface for overlay networks&amp;gt;&amp;quot;,&lt;br /&gt;
    &amp;quot;use_vlan&amp;quot;: true,&lt;br /&gt;
    &amp;quot;vlan_interface&amp;quot;: &amp;quot;&amp;lt;interface for vlans&amp;gt;&amp;quot;,&lt;br /&gt;
    &amp;quot;vlan_range&amp;quot;: [&lt;br /&gt;
      &amp;lt;start vlan id&amp;gt;,&lt;br /&gt;
      &amp;lt;end vlan id&amp;gt;&lt;br /&gt;
    ]&lt;br /&gt;
  }&lt;br /&gt;
 }&lt;br /&gt;
After that you have to restart the fog05 network and runtime plugins in the nodes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Example NS ==&lt;br /&gt;
Here you can find and example of network service that can be instantiated to the Eclipse fog05 VIM using OSM.&lt;br /&gt;
The network service is composed by a single VNF based on an Alpine Linux LXD image.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;alpinevnfd.yaml&#039;&#039;&#039; &lt;br /&gt;
vnfd:vnfd-catalog:&lt;br /&gt;
    vnfd:&lt;br /&gt;
    -   id: alpine_vnfd&lt;br /&gt;
        name: alpine_vnf&lt;br /&gt;
        short-name: alpine_vnf&lt;br /&gt;
        description: Simple VNF example with a Alpine&lt;br /&gt;
        vendor: OSM&lt;br /&gt;
        version: &#039;1.0&#039;&lt;br /&gt;
        logo: alpine.jpg&lt;br /&gt;
        connection-point:&lt;br /&gt;
            -   name: eth0&lt;br /&gt;
                type: VPORT&lt;br /&gt;
        vdu:&lt;br /&gt;
        -   id: alpine_vnfd-LXD&lt;br /&gt;
            name: alpine_vnfd-LXD&lt;br /&gt;
            description: alpine_vnfd-LXD&lt;br /&gt;
            count: 1&lt;br /&gt;
            vm-flavor:&lt;br /&gt;
                vcpu-count: 1&lt;br /&gt;
                memory-mb: 256&lt;br /&gt;
                storage-gb: 1&lt;br /&gt;
            image: 2db8b83a-62ea-4543-83c7-1818f403f6f4&lt;br /&gt;
            interface:&lt;br /&gt;
            -   name: eth0&lt;br /&gt;
                type: EXTERNAL&lt;br /&gt;
                virtual-interface:&lt;br /&gt;
                    type: VIRTIO&lt;br /&gt;
                    bandwidth: &#039;0&#039;&lt;br /&gt;
                    vpci: 0000:00:0a.0&lt;br /&gt;
                external-connection-point-ref: eth0&lt;br /&gt;
        mgmt-interface:&lt;br /&gt;
            cp: eth0&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;alpinens.yaml&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
    nsd:nsd-catalog:&lt;br /&gt;
    nsd:&lt;br /&gt;
    -   id: alpine_nsd&lt;br /&gt;
        name: alpine_ns&lt;br /&gt;
        short-name: alpine_ns&lt;br /&gt;
        description: Generated by OSM pacakage generator&lt;br /&gt;
        vendor: OSM&lt;br /&gt;
        version: &#039;1.0&#039;&lt;br /&gt;
        constituent-vnfd:&lt;br /&gt;
        -   member-vnf-index: 1&lt;br /&gt;
            vnfd-id-ref: alpine_vnfd&lt;br /&gt;
        vld:&lt;br /&gt;
        # Networks for the VNFs&lt;br /&gt;
            -   id: alpine_nsd_vld1&lt;br /&gt;
                name: alpine_nsd_vld1&lt;br /&gt;
                short-name: alpine_nsd_vld1&lt;br /&gt;
                type: ELAN&lt;br /&gt;
                mgmt-network: &#039;true&#039;&lt;br /&gt;
                vnfd-connection-point-ref:&lt;br /&gt;
                -   member-vnf-index-ref: 1&lt;br /&gt;
                    vnfd-id-ref: alpine_vnfd&lt;br /&gt;
                    vnfd-connection-point-ref: eth0&lt;/div&gt;</summary>
		<author><name>Baldoni</name></author>
	</entry>
	<entry>
		<id>https://osm.etsi.org/wikipub/index.php?title=OSM_Release_SIX&amp;diff=4674</id>
		<title>OSM Release SIX</title>
		<link rel="alternate" type="text/html" href="https://osm.etsi.org/wikipub/index.php?title=OSM_Release_SIX&amp;diff=4674"/>
		<updated>2019-08-05T07:29:45Z</updated>

		<summary type="html">&lt;p&gt;Baldoni: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:7th_OSM_Hack.png|350px|right|top|link=https://osm.etsi.org/wikipub/index.php/7th_OSM_Hackfest]]  &lt;br /&gt;
&lt;br /&gt;
Open Source MANO (OSM) is an ETSI-hosted open source community delivering a production-quality MANO stack for NFV, capable of consuming openly published information models, available to everyone, suitable for all VNFs, operationally significant and VIM-independent. OSM is aligned to NFV ISG information models while providing first-hand feedback based on its implementation experience.&lt;br /&gt;
&lt;br /&gt;
Release SIX brings a number of improvements over previous releases. For the full list of new features, please refer to the Rel SIX White Paper or the [[OSM Release SIX Documentation]]. For a comprehensive overview of OSM functionalities, you can also refer to the [https://osm.etsi.org/images/OSM_EUAG_White_Paper_OSM_Scope_and_Functionality.pdf OSM Scope and Functionality White Paper] or to the release notes of previous OSM releases ([https://osm.etsi.org/images/OSM-Whitepaper-TechContent-ReleaseONE-FINAL.pdf ONE], [https://osm.etsi.org/images/OSM-Whitepaper-TechContent-ReleaseTWO-FINAL.pdf TWO], [https://osm.etsi.org/images/OSM-Whitepaper-TechContent-ReleaseTHREE-FINAL.pdf THREE],&lt;br /&gt;
[https://osm.etsi.org/images/OSM-Whitepaper-TechContent-ReleaseFOUR-FINAL.pdf FOUR], [https://osm.etsi.org/images/OSM-Whitepaper-TechContent-ReleaseFIVE-FINAL.pdf FIVE]).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;OSM in Practice&#039;&#039;&#039;&lt;br /&gt;
{{#evu:https://www.youtube.com/watch?v=kCFxPV67Adw&lt;br /&gt;
|alignment=left&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
__TOC__&lt;br /&gt;
&lt;br /&gt;
=Assumptions about interaction with VIMs and VNFs=&lt;br /&gt;
The following figure illustrates OSM interaction with VIMs and VNFs:&lt;br /&gt;
* OSM talks to the VIM for the deployment of VNFs and VLs connecting them&lt;br /&gt;
* OSM talks to the VNFs deployed in a VIM to run day-0, day-1 and day-2 configuration primitives.&lt;br /&gt;
&lt;br /&gt;
[[File:Osmtopology.png|600px|OSM Release SIX]]&lt;br /&gt;
&lt;br /&gt;
In order for OSM to work, it is assumed that:&lt;br /&gt;
* Each VIM has an API endpoint reachable from OSM&lt;br /&gt;
* Each VIM has a so called management network which provides IP address to VNFs&lt;br /&gt;
* That management network is reachable from OSM&lt;br /&gt;
&lt;br /&gt;
=Install OSM Release SIX=&lt;br /&gt;
&lt;br /&gt;
This release expands the cloud-native, &#039;&#039;dockerized&#039;&#039; OSM installation with the kafka bus for asynchronous communications, a lighter orchestrator with Network Services and Slicing capabilities, performance/fault/policy management features, a SOL005-aligned NBI, an enhanced GUI with a service composer, and OSM client leveraging the unified and improved REST API that the NBI exposes.&lt;br /&gt;
&lt;br /&gt;
== Default installation procedure ==&lt;br /&gt;
&lt;br /&gt;
All you need to run OSM Release SIX is a single server or VM with the following requirements:&lt;br /&gt;
* MINIMUM: 2 CPUs, 4 GB RAM, 20GB disk and a single interface with Internet access&lt;br /&gt;
* RECOMMENDED: 2 CPUs, 8 GB RAM, 40GB disk and a single interface with Internet access&lt;br /&gt;
* Base image:&lt;br /&gt;
** Ubuntu18.04 (64-bit variant required) (http://releases.ubuntu.com/18.04/), or&lt;br /&gt;
** Ubuntu16.04 (64-bit variant required) (http://releases.ubuntu.com/16.04/)&lt;br /&gt;
&lt;br /&gt;
Once you have prepared the host with the previous requirements, all you need to do is:&lt;br /&gt;
 wget https://osm-download.etsi.org/ftp/osm-6.0-six/install_osm.sh&lt;br /&gt;
 chmod +x install_osm.sh&lt;br /&gt;
 ./install_osm.sh&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;TIP:&#039;&#039;&#039; In order to facilitate potential trobleshooting later, it is recommended to save the full log of your installation process:&lt;br /&gt;
 wget https://osm-download.etsi.org/ftp/osm-6.0-six/install_osm.sh&lt;br /&gt;
 chmod +x install_osm.sh&lt;br /&gt;
 ./install_osm.sh 2&amp;gt;&amp;amp;1 | tee osm_install_log.txt&lt;br /&gt;
&lt;br /&gt;
You will be asked if you want to proceed with the installation and configuration of LXD, juju, docker CE and the initialization of a local docker swarm, as pre-requirements. Please answer &amp;quot;y&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Then, some dialog messages related to LXD configuration will be shown. This is what you have to answer:&lt;br /&gt;
* Do you want to configure the LXD bridge? &#039;&#039;&#039;Yes&#039;&#039;&#039;&lt;br /&gt;
* Do you want to setup an IPv4 subnet? &#039;&#039;&#039;Yes&#039;&#039;&#039;&lt;br /&gt;
* &#039;&#039;&amp;lt;&amp;lt; &#039;&#039;&#039;Default values&#039;&#039;&#039; apply for next questions &amp;gt;&amp;gt;&#039;&#039;&lt;br /&gt;
* Do you want to setup an IPv6 subnet? &#039;&#039;&#039;No&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
If you want to run docker commands, you will also need to either reload the shell or run the following command to add your user to the &#039;docker&#039; group:&lt;br /&gt;
 newgrp docker&lt;br /&gt;
&lt;br /&gt;
===Installation including optional components===&lt;br /&gt;
&lt;br /&gt;
You can include optional components in your installation by adding the following flags:&lt;br /&gt;
* &#039;&#039;&#039;VIM Emulator:&#039;&#039;&#039; --vimemu (more information [[VIM emulator|here]])&lt;br /&gt;
* &#039;&#039;&#039;Performance Management additional stack (Grafana only):&#039;&#039;&#039; --pm_stack (more information [[OSM Performance Management|here]])&lt;br /&gt;
* &#039;&#039;&#039;Fault Management features with ELK:&#039;&#039;&#039; --elk_stack (more information [[OSM Fault Management|here]])&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
 ./install_osm.sh --elk_stack --pm_stack --vimemu&lt;br /&gt;
&lt;br /&gt;
===Other installation options===&lt;br /&gt;
* You can also run OSM using a pre-built [https://app.vagrantup.com/osm/boxes/releasesix vagrant] image: [[How_to_run_OSM_on_Vagrant]]&lt;br /&gt;
* For other special installation options, please refer to the [[OSM_Release_SIX_Documentation#Alternative_installation_methods | release documentation]].&lt;br /&gt;
&lt;br /&gt;
==Checking your installation==&lt;br /&gt;
&lt;br /&gt;
After some time, you will get a fresh OSM Release SIX installation with its latest, pre-built docker images which are built daily. You can access to the UI in the following URL (user:admin, password: admin):  http://1.2.3.4, replacing 1.2.3.4 with the IP address of your host. &lt;br /&gt;
&lt;br /&gt;
[[File:Osm_lwb_ui_login.png|600px|OSM home]]&lt;br /&gt;
&lt;br /&gt;
[[File:Osm_lwb_ui.png|600px|OSM Release SIX installation result]]&lt;br /&gt;
&lt;br /&gt;
As a result of the installation, thirteen docker containers are created in the host (without considering optional stacks).  You can check they are running by issuing the following commands:&lt;br /&gt;
 docker stack ps osm |grep -i running&lt;br /&gt;
 docker service ls&lt;br /&gt;
&lt;br /&gt;
[[File:Osm_containers_rel5.png|600px|OSM Docker containers]]&lt;br /&gt;
&lt;br /&gt;
At any time, you can quickly relaunch your deployment by using the pre-built docker images, like this:&lt;br /&gt;
 docker stack rm osm &amp;amp;&amp;amp; sleep 60 # The sleep is for making sure the stack removal finishes before redeploying&lt;br /&gt;
 docker stack deploy -c /etc/osm/docker/docker-compose.yaml osm&lt;br /&gt;
&lt;br /&gt;
To check the logs of any container:&lt;br /&gt;
 docker service logs osm_lcm     # shows the logs of all containers (included dead containers) associated with LCM component.&lt;br /&gt;
 docker logs $(docker ps -aqf &amp;quot;name=osm_lcm&amp;quot; -n 1)  # shows the logs of the last existant LCM container&lt;br /&gt;
&lt;br /&gt;
OSM client, a python-based CLI for OSM, will be available as well in the host machine.&lt;br /&gt;
Via the OSM client, you can manage descriptors, NS and VIM complete lifecycle.&lt;br /&gt;
&lt;br /&gt;
=Adding VIM accounts=&lt;br /&gt;
Before proceeding, make sure that you have a site with a VIM configured to run with OSM. Different kinds of VIMs are currently supported by OSM:&lt;br /&gt;
*&#039;&#039;&#039;OpenVIM.&#039;&#039;&#039; Check the following link to know how to install and use openvim for OSM: [[OpenVIM installation | OpenVIM installation]]. Openvim must run in &#039;normal&#039; mode (not test or fake) to have real virtual machines reachable from OSM.&lt;br /&gt;
*&#039;&#039;&#039;OpenStack.&#039;&#039;&#039; Check the following link to learn how to configure OpenStack to be used by OSM: [[Openstack_configuration | Openstack configuration]]&lt;br /&gt;
*&#039;&#039;&#039;VMware vCloud Director.&#039;&#039;&#039; Check the following link to learn how to configure VMware VCD to be used by OSM: [[Configuring_VMware_vCloud_Director | Configuring VMware vCloud Director]]&lt;br /&gt;
*&#039;&#039;&#039;Amazon Web Services (AWS).&#039;&#039;&#039; Check the following link to learn how to configure AWS (EC2 and Virtual Private Cloud) to be used by OSM: [[Configuring_AWS | Configuring AWS for OSM]]&lt;br /&gt;
*&#039;&#039;&#039;Eclipse fog05 &#039;&#039;&#039; Check the following link to learn how to configure Eclipse fog05 to be used by OSM: [[Eclipse_fog05 | Configuring Eclipse fog05 for OSM]]&lt;br /&gt;
&lt;br /&gt;
OSM can manage external SDN controllers to perform the dataplane underlay network connectivity on behalf of the VIM. See [[EPA and SDN assist]]&lt;br /&gt;
&lt;br /&gt;
==Adding VIMs through OSM client==&lt;br /&gt;
===OpenVIM site===&lt;br /&gt;
Execute the following command, using the appropriate parameters (e.g. site name: &amp;quot;openvim-site&amp;quot;, IP address: 10.10.10.10, VIM tenant: &amp;quot;osm&amp;quot;)&lt;br /&gt;
 osm vim-create --name openvim-site --auth_url http://10.10.10.10:9080/openvim --account_type openvim \&lt;br /&gt;
    --description &amp;quot;Openvim site&amp;quot; --tenant osm --user dummy --password dummy&lt;br /&gt;
&lt;br /&gt;
===Openstack site===&lt;br /&gt;
Execute the following command, using the appropriate parameters (e.g. site name: &amp;quot;openstack-site&amp;quot;, IP address: 10.10.10.11, VIM tenant: &amp;quot;admin&amp;quot;, user: &amp;quot;admin&amp;quot;, password: &amp;quot;userpwd&amp;quot;)&lt;br /&gt;
 osm vim-create --name openstack-site --user admin --password userpwd \&lt;br /&gt;
     --auth_url http://10.10.10.11:5000/v2.0 --tenant admin --account_type openstack&lt;br /&gt;
&lt;br /&gt;
For advanced options, please refer to the [[Openstack_configuration#Add_openstack_to_OSM | OpenStack Setup Guide]].&lt;br /&gt;
&lt;br /&gt;
===VMware vCloud Director site===&lt;br /&gt;
*Execute the following command, using the appropriate parameters (e.g. site name: &amp;quot;vmware-site&amp;quot;, IP address: 10.10.10.12, VIM tenant: &amp;quot;vmware-tenant&amp;quot;, user: &amp;quot;osm&amp;quot;, password: &amp;quot;osm4u&amp;quot;, admin user: &amp;quot;admin&amp;quot;, admin password: &amp;quot;adminpwd&amp;quot;, organization: &amp;quot;orgVDC&amp;quot;)&lt;br /&gt;
 osm vim-create --name vmware-site --user osm --password osm4u --auth_url https://10.10.10.12 \&lt;br /&gt;
     --tenant vmware-tenant  --account_type vmware \&lt;br /&gt;
     --config &#039;{admin_username: user, admin_password: passwd, orgname: organization, nsx_manager: &amp;quot;http://10.10.10.12&amp;quot;,&lt;br /&gt;
     nsx_user: user, nsx_password: userpwd,&amp;quot;vcenter_port&amp;quot;: port, &amp;quot;vcenter_user&amp;quot;:user, &amp;quot;vcenter_password&amp;quot;:password,&lt;br /&gt;
     &amp;quot;vcenter_ip&amp;quot;: 10.10.10.14}&#039;&lt;br /&gt;
&lt;br /&gt;
For advanced options, please refer to the [[Configuring_VMware_vCloud_Director#Add_vCloud_using_OSM_Client | vCloud Director Setup Guide]].&lt;br /&gt;
&lt;br /&gt;
===VMware Integrated Openstack (VIO) site===&lt;br /&gt;
Execute the following command, using the appropriate parameters (e.g. site name: &amp;quot;openstack-site-vio4&amp;quot;, IP address: 10.10.10.12, VIM tenant: &amp;quot;admin&amp;quot;, user: &amp;quot;admin&amp;quot;, password: &amp;quot;passwd&amp;quot;)&lt;br /&gt;
 osm vim-create --name VIO --user admin --password passwd --auth_url https://10.10.10.12:5000/v3 --tenant admin \&lt;br /&gt;
     --account_type openstack --config &#039;{use_floating_ip: True, insecure: true, vim_type: VIO, APIversion: v3.3,&lt;br /&gt;
     dataplane_physical_net: dvs-46, &amp;quot;use_internal_endpoint&amp;quot;:true,&amp;quot;dataplane_net_vlan_range&amp;quot;:[&amp;quot;31-35&amp;quot;,&amp;quot;37-39&amp;quot;]}&#039;&lt;br /&gt;
&lt;br /&gt;
With respect to Openstack, the additional configuration for VIO is the following:&lt;br /&gt;
* &#039;&#039;&#039;vim_type&#039;&#039;&#039;: Set to &amp;quot;VIO&amp;quot; to use VMware Integrated openstack as VIM &lt;br /&gt;
* &#039;&#039;&#039;use_internal_endpoint&#039;&#039;&#039;: When true it allows use of private API endpoints&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. In case of VMware Integrated Openstack (VIO) provide moref ID of distributed virtual switch, e.g &#039;dvs-46&#039; in above configuration.&lt;br /&gt;
* &#039;&#039;&#039;dataplane_net_vlan_range&#039;&#039;&#039;: In case of VMware Integrated Openstack (VIO) provide vlan ranges for the SRIOV (binding direct) networks in format [&#039;start_ID - end_ID&#039;]&lt;br /&gt;
&lt;br /&gt;
For common options, you may refer to the general [[Openstack_configuration#Add_openstack_to_OSM | OpenStack Setup Guide]].&lt;br /&gt;
&lt;br /&gt;
===Amazon Web Services (AWS) site===&lt;br /&gt;
*Execute the following command, using the appropriate parameters (e.g. site name: &amp;quot;aws-site&amp;quot;, VIM tenant: &amp;quot;admin&amp;quot;, user: &amp;quot;XXX&amp;quot;, password: &amp;quot;YYY&amp;quot;)&lt;br /&gt;
 osm vim-create --name aws-site --user XXX --password YYY --auth_url https://aws.amazon.com --tenant admin \&lt;br /&gt;
     --account_type aws --config &#039;{region_name: eu-central-1, flavor_info: {t2.nano: {cpus: 1, disk: 100, ram: 512},&lt;br /&gt;
     t2.micro: {cpus: 1, disk: 100, ram: 1024}, t2.small: {cpus: 1, disk: 100, ram: 2048},&lt;br /&gt;
     m1.small: {cpus: 1, disk: 160, ram: 1741}}}&#039;&lt;br /&gt;
For advanced options, please refer to the [[Configuring_AWS#Add_AWS_to_OSM | AWS Setup Guide]].&lt;br /&gt;
&lt;br /&gt;
=== Eclipse fog05 site===&lt;br /&gt;
*Execute the following command, using the appropriate parameters (e.g. runtime supported: &amp;quot;hypervisor&amp;quot;, cpu architecture: &amp;quot;arch&amp;quot;, user: &amp;quot;XXX&amp;quot;, password: &amp;quot;YYY&amp;quot;)&lt;br /&gt;
    osm vim-create --name fos --auth_url &amp;lt;rest proxy ip&amp;gt;:8080 --account_type fos --tenant osm --user dummy --password dummy --config &#039;{hypervisor: LXD}&#039;&lt;br /&gt;
&lt;br /&gt;
For advanced options, please refer to the [[Eclipse_fog05#Add_Eclipse_fog05_to_OSM | Eclipse fog05 setup guide]].&lt;br /&gt;
&lt;br /&gt;
==Adding VIMs through GUI==&lt;br /&gt;
Just access the &#039;&#039;VIM Accounts&#039;&#039; tab, click the &#039;&#039;New VIM&#039;&#039; button and fill the parameters accordingly.&lt;br /&gt;
&lt;br /&gt;
[[File:Osmvim.png|600px|AddingVIMUI]]&lt;br /&gt;
&lt;br /&gt;
=Deploying your first Network Service=&lt;br /&gt;
In this example we will deploy the following Network Service, consisting of two simple VNFs based on CirrOS connected by a simple VLD.&lt;br /&gt;
&lt;br /&gt;
[[File:cirros_2vnf_ns.png|500px|NS with 2 CirrOS VNF]]&lt;br /&gt;
&lt;br /&gt;
Before going on, download the required VNF and NS packages from this URL: https://osm-download.etsi.org/ftp/osm-3.0-three/examples/cirros_2vnf_ns/&lt;br /&gt;
&lt;br /&gt;
==Onboarding a VNF==&lt;br /&gt;
&lt;br /&gt;
The onboarding of a VNF in OSM involves adding the corresponding VNF package to the system. This process also assumes, as a pre-condition, that the corresponding VM images are available in the VIM(s) where it will be instantiated.&lt;br /&gt;
&lt;br /&gt;
===Uploading VM image(s) to the VIM(s)===&lt;br /&gt;
In this example, only a vanilla CirrOS 0.3.4 image is need. It can be obtained from the following link: http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img&lt;br /&gt;
&lt;br /&gt;
If not available, it would be required to upload the image into the VIM. Instructions differ from one VIM to another:&lt;br /&gt;
*In Openstack:&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 cirros034&lt;br /&gt;
*In OpenVIM:&lt;br /&gt;
 #copy your image to the NFS shared folder (e.g. /mnt/openvim-nfs)&lt;br /&gt;
 cp ./cirros-0.3.4-x86_64-disk.img /mnt/openvim-nfs/&lt;br /&gt;
 openvim image-create --name cirros034 --path /mnt/openvim-nfs/cirros-0.3.4-x86_64-disk.img&lt;br /&gt;
&lt;br /&gt;
===VNF package onboarding===&lt;br /&gt;
&lt;br /&gt;
*From the UI:&lt;br /&gt;
**Go to Projects --&amp;gt; Admin --&amp;gt; VNF Packages (&#039;&#039;Open List&#039;&#039;)&lt;br /&gt;
**Click on the Onboard VNFD button&lt;br /&gt;
**Drag and drop the VNF package file cirros_vnf.tar.gz in the importing area.&lt;br /&gt;
[[File:vnfd_onboard_r4.png|600px|Onboarding a VNF]]&lt;br /&gt;
*From OSM client:&lt;br /&gt;
 osm vnfd-create cirros_vnf.tar.gz&lt;br /&gt;
 osm vnfd-list&lt;br /&gt;
&lt;br /&gt;
==Onboarding a NS==&lt;br /&gt;
*From the UI:&lt;br /&gt;
**Go to Projects --&amp;gt; Admin --&amp;gt; NS Packages (&#039;&#039;Open List&#039;&#039;)&lt;br /&gt;
**Click on the Onboard NSD button&lt;br /&gt;
**Drag and drop the NS package file cirros_2vnf_ns.tar.gz in the importing area.&lt;br /&gt;
[[File:nsd_onboard_r4.png|600px|Onboarding a NS]]&lt;br /&gt;
*From OSM client:&lt;br /&gt;
 osm nsd-create cirros_2vnf_ns.tar.gz&lt;br /&gt;
 osm nsd-list&lt;br /&gt;
&lt;br /&gt;
==Instantiating the NS==&lt;br /&gt;
*From the UI:&lt;br /&gt;
**Go to Projects --&amp;gt; Admin --&amp;gt; NS Packages (&#039;&#039;Open List&#039;&#039;)&lt;br /&gt;
**Next the NS descriptor to be instantiated, click on Launch&lt;br /&gt;
[[File:nsd_list.png|600px|Instantiating a NS (step 1)]] &lt;br /&gt;
**Fill the form, adding at least a name and selecting the VIM&lt;br /&gt;
[[File:new_ns.png|600px|Instantiating a NS (step 2)]] &lt;br /&gt;
* From OSM client:&lt;br /&gt;
 osm ns-create --nsd_name cirros_2vnf_ns --ns_name &amp;lt;ns-instance-name&amp;gt; --vim_account &amp;lt;data-center-name&amp;gt;&lt;br /&gt;
 osm ns-list&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Instantiation parameters can be specified using both CLI and UI. There are some examples collected in this wiki page: [[OSM instantiation parameters]].&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Using old descriptors from Release TWO==&lt;br /&gt;
&lt;br /&gt;
Beware that old Release TWO descriptors cannot be directly used by OSM Release SIX.&lt;br /&gt;
&lt;br /&gt;
You should use this &#039;&#039;&#039;[[Creating your own VNF package#Migrating old descriptors to release SIX|conversion tool]]&#039;&#039;&#039; to convert them to Release SIX format and &#039;&#039;&#039;[[Creating your own VNF package|create the corresponding package]]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
=What&#039;s next?=&lt;br /&gt;
&lt;br /&gt;
If you want to learn more, you can refer to the rest of &#039;&#039;&#039;[[OSM_Release_SIX_Documentation | OSM documentation]]&#039;&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
{{Feedback}}&lt;/div&gt;</summary>
		<author><name>Baldoni</name></author>
	</entry>
	<entry>
		<id>https://osm.etsi.org/wikipub/index.php?title=Eclipse_fog05&amp;diff=4540</id>
		<title>Eclipse fog05</title>
		<link rel="alternate" type="text/html" href="https://osm.etsi.org/wikipub/index.php?title=Eclipse_fog05&amp;diff=4540"/>
		<updated>2019-05-17T12:33:01Z</updated>

		<summary type="html">&lt;p&gt;Baldoni: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Eclipse fog05 (can be read as fog-O-five or fog-O-S) is a different kind of VIM, it is designed to manage a fog/edge environment, thus it is completely distributed (no controller/master node) and pluggable.&lt;br /&gt;
&lt;br /&gt;
Available as FOSS from Eclipse: https://github.com/eclipse/fog05&lt;br /&gt;
&lt;br /&gt;
It stores information in a distributed K,V store that then is able to provide location transparency to the user, and all the state information are stored in it.&lt;br /&gt;
&lt;br /&gt;
= Configure fog05 for OSM =&lt;br /&gt;
&lt;br /&gt;
In order to make OSM able to contact fog05, you need to configure the REST proxy on one node that has access to the whole fog05 deployment, this node will act as a proxy and thus allow OSM to interact with fog05.&lt;br /&gt;
This requires python3-flask, fog05 pyhton api to be installed in the node.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 $ cd fog05/src/utils/python/rest_proxy&lt;br /&gt;
 $ sudo make install&lt;br /&gt;
&lt;br /&gt;
The installation will install also a systemd service, then you have to configure this service by editing the JSON configuaration file under /etc/fos/rest/service.json following your fog05 installation.&lt;br /&gt;
&lt;br /&gt;
 {&lt;br /&gt;
    &amp;quot;host&amp;quot;: &amp;quot;&amp;lt;ip address you node where you want the service to listen&amp;gt;&amp;quot;,&lt;br /&gt;
    &amp;quot;port&amp;quot;: 8080,&lt;br /&gt;
    &amp;quot;debug&amp;quot;: false,&lt;br /&gt;
    &amp;quot;yaks&amp;quot;: &amp;quot;&amp;lt;ip address of one of the yaks server in the fog05 system&amp;gt;&amp;quot;,&lt;br /&gt;
    &amp;quot;sysid&amp;quot;: &amp;quot;0&amp;quot;,&lt;br /&gt;
    &amp;quot;tenantid&amp;quot;: &amp;quot;0&amp;quot;,&lt;br /&gt;
    &amp;quot;image_path&amp;quot;: &amp;quot;imgs&amp;quot;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Then you can simply start the service using systemd&lt;br /&gt;
&lt;br /&gt;
 $ sudo systemd start fosrest&lt;br /&gt;
&lt;br /&gt;
== Upload Images  ==&lt;br /&gt;
You can use the REST proxy also as image service, image upload can be done by using the python rest API.&lt;br /&gt;
First generate the descriptor of your image:&lt;br /&gt;
 {&lt;br /&gt;
    &amp;quot;name&amp;quot;: &amp;quot;&amp;lt;image name&amp;gt;&amp;quot;,&lt;br /&gt;
    &amp;quot;uri&amp;quot;: &amp;quot;&amp;quot;,&lt;br /&gt;
    &amp;quot;checksum&amp;quot;: &amp;quot;&amp;lt;sha256sum of image file&amp;quot;,&lt;br /&gt;
    &amp;quot;format&amp;quot;: &amp;quot;&amp;lt;image format eg. qcow2, iso, tar.gz&amp;gt;&amp;quot;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
the using the python api the upload of the image can be done:&lt;br /&gt;
 &amp;gt;&amp;gt;&amp;gt;api.image.add(img_descriptor, img_file_path)&lt;br /&gt;
 {&#039;result&#039;: &#039;92274e2e-129f-40a3-be7e-a35ea596d439&#039;}&lt;br /&gt;
 where the value of result is the uuid of the image&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Add Eclipse fog05 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. This paremeter can be used when creating the datacenter using the OSM client or when adding the datacenter directly to the RO (both at datacenter creation and datacenter attachment to openmano tenant -the latter prevails-).&lt;br /&gt;
&lt;br /&gt;
The following configuration can be added:&lt;br /&gt;
* &#039;&#039;&#039;arch&#039;&#039;&#039;: cpu architecture used when creating the VDUs for this VIM account eg. x86_64, aarch64, default is x86_64.&lt;br /&gt;
* &#039;&#039;&#039;hypervisor&#039;&#039;&#039;: hypervisor supported by this VIM account, can be one of: LXD, KVM, BARE, DOCKER, XEN, at least one node of the system as to be able to manage the selected hypervisor, default is LXD.&lt;br /&gt;
* &#039;&#039;&#039;nodes&#039;&#039;&#039;: if you want this VIM  account to be able to manage only a subset of the nodes in the system you can pass a list of node uuids, by default is an empty list that means all nodes.&lt;br /&gt;
&lt;br /&gt;
=== Adding vimaccount using OSM client ===&lt;br /&gt;
&lt;br /&gt;
 osm vim-create --name fos --auth_url &amp;lt;rest proxy ip&amp;gt;:8080 --account_type fos --tenant osm --user dummy --password dummy --config &#039;{hypervisor: LXD}&#039;&lt;br /&gt;
&lt;br /&gt;
== VLAN configuration (optional) ==&lt;br /&gt;
&lt;br /&gt;
If you want your fog05 installation to be able to use VLANs for virtual networks instead of overlay VxLANs you need to change the configuration on all nodes. You need to update the configuration file /etc/fos/plugins/linuxbridge/linuxbridge_plugin.json &lt;br /&gt;
&lt;br /&gt;
 {&lt;br /&gt;
  &amp;quot;name&amp;quot;: &amp;quot;linuxbridge&amp;quot;,&lt;br /&gt;
  &amp;quot;version&amp;quot;: 1,&lt;br /&gt;
  &amp;quot;uuid&amp;quot;: &amp;quot;d42b4163-af35-423a-acb4-a228290cf0be&amp;quot;,&lt;br /&gt;
  &amp;quot;type&amp;quot;: &amp;quot;network&amp;quot;,&lt;br /&gt;
  &amp;quot;requirements&amp;quot;: [&lt;br /&gt;
    &amp;quot;jinja2&amp;quot;&lt;br /&gt;
  ],&lt;br /&gt;
  &amp;quot;description&amp;quot;: &amp;quot;linux Bridge network plugin&amp;quot;,&lt;br /&gt;
  &amp;quot;configuration&amp;quot;: {&lt;br /&gt;
    &amp;quot;ylocator&amp;quot;: &amp;quot;tcp/&amp;lt;your yaks ip&amp;gt;:7887&amp;quot;,&lt;br /&gt;
    &amp;quot;nodeid&amp;quot;: &amp;quot;&amp;lt;your node id&amp;gt;&amp;quot;,&lt;br /&gt;
    &amp;quot;dataplane_interface&amp;quot;: &amp;quot;&amp;lt;interface for overlay networks&amp;gt;&amp;quot;,&lt;br /&gt;
    &amp;quot;use_vlan&amp;quot;: true,&lt;br /&gt;
    &amp;quot;vlan_interface&amp;quot;: &amp;quot;&amp;lt;interface for vlans&amp;gt;&amp;quot;,&lt;br /&gt;
    &amp;quot;vlan_range&amp;quot;: [&lt;br /&gt;
      &amp;lt;start vlan id&amp;gt;,&lt;br /&gt;
      &amp;lt;end vlan id&amp;gt;&lt;br /&gt;
    ]&lt;br /&gt;
  }&lt;br /&gt;
 }&lt;br /&gt;
After that you have to restart the fog05 network and runtime plugins in the nodes.&lt;/div&gt;</summary>
		<author><name>Baldoni</name></author>
	</entry>
	<entry>
		<id>https://osm.etsi.org/wikipub/index.php?title=Eclipse_fog05&amp;diff=4539</id>
		<title>Eclipse fog05</title>
		<link rel="alternate" type="text/html" href="https://osm.etsi.org/wikipub/index.php?title=Eclipse_fog05&amp;diff=4539"/>
		<updated>2019-05-17T08:58:03Z</updated>

		<summary type="html">&lt;p&gt;Baldoni: Created page with &amp;quot;Eclipse fog05 (can be read as fog-O-five or fog-O-S) is a different kind of VIM, it is designed to manage a fog/edge environment, thus it is completely distributed (no control...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Eclipse fog05 (can be read as fog-O-five or fog-O-S) is a different kind of VIM, it is designed to manage a fog/edge environment, thus it is completely distributed (no controller/master node) and pluggable.&lt;br /&gt;
&lt;br /&gt;
Available as FOSS from Eclipse: https://github.com/eclipse/fog05&lt;br /&gt;
&lt;br /&gt;
It stores information in a distributed K,V store that then is able to provide location transparency to the user, and all the state information are stored in it.&lt;br /&gt;
&lt;br /&gt;
= Configure fog05 for OSM =&lt;br /&gt;
&lt;br /&gt;
In order to make OSM able to contact fog05, you need to configure the REST proxy on one node that has access to the whole fog05 deployment, this node will act as a proxy and thus allow OSM to interact with fog05.&lt;br /&gt;
This requires python3-flask, fog05 pyhton api to be installed in the node.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 $ cd fog05/src/utils/python/rest_proxy&lt;br /&gt;
 $ sudo make install&lt;br /&gt;
&lt;br /&gt;
The installation will install also a systemd service, then you have to configure this service by editing the JSON configuaration file under /etc/fos/rest/service.json following your fog05 installation.&lt;br /&gt;
&lt;br /&gt;
 {&lt;br /&gt;
    &amp;quot;host&amp;quot;: &amp;quot;&amp;lt;ip address you node where you want the service to listen&amp;gt;&amp;quot;,&lt;br /&gt;
    &amp;quot;port&amp;quot;: 8080,&lt;br /&gt;
    &amp;quot;debug&amp;quot;: false,&lt;br /&gt;
    &amp;quot;yaks&amp;quot;: &amp;quot;&amp;lt;ip address of one of the yaks server in the fog05 system&amp;gt;&amp;quot;,&lt;br /&gt;
    &amp;quot;sysid&amp;quot;: &amp;quot;0&amp;quot;,&lt;br /&gt;
    &amp;quot;tenantid&amp;quot;: &amp;quot;0&amp;quot;,&lt;br /&gt;
    &amp;quot;image_path&amp;quot;: &amp;quot;imgs&amp;quot;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
Then you can simply start the service using systemd&lt;br /&gt;
&lt;br /&gt;
 $ sudo systemd start fosrest&lt;br /&gt;
&lt;br /&gt;
== Upload Images  ==&lt;br /&gt;
You can use the REST proxy also as image service, image upload can be done by using the python rest API.&lt;br /&gt;
First generate the descriptor of your image:&lt;br /&gt;
 {&lt;br /&gt;
    &amp;quot;uuid&amp;quot;: &amp;quot;&amp;lt;image uuid&amp;gt;&amp;quot;,&lt;br /&gt;
    &amp;quot;name&amp;quot;: &amp;quot;&amp;lt;image name&amp;gt;&amp;quot;,&lt;br /&gt;
    &amp;quot;uri&amp;quot;: &amp;quot;&amp;quot;,&lt;br /&gt;
    &amp;quot;checksum&amp;quot;: &amp;quot;&amp;lt;sha256sum of image file&amp;quot;,&lt;br /&gt;
    &amp;quot;format&amp;quot;: &amp;quot;&amp;lt;image format eg. qcow2, iso, tar.gz&amp;gt;&amp;quot;&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
the using the python api the upload of the image can be done:&lt;br /&gt;
 &amp;gt;&amp;gt;&amp;gt;api.image.add(img_descriptor, img_file_path)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Add Eclipse fog05 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. This paremeter can be used when creating the datacenter using the OSM client or when adding the datacenter directly to the RO (both at datacenter creation and datacenter attachment to openmano tenant -the latter prevails-).&lt;br /&gt;
&lt;br /&gt;
The following configuration can be added:&lt;br /&gt;
* &#039;&#039;&#039;arch&#039;&#039;&#039;: cpu architecture used when creating the VDUs for this VIM account eg. x86_64, aarch64, default is x86_64.&lt;br /&gt;
* &#039;&#039;&#039;hypervisor&#039;&#039;&#039;: hypervisor supported by this VIM account, can be one of: LXD, KVM, BARE, DOCKER, XEN, at least one node of the system as to be able to manage the selected hypervisor, default is LXD.&lt;br /&gt;
* &#039;&#039;&#039;nodes&#039;&#039;&#039;: if you want this VIM  account to be able to manage only a subset of the nodes in the system you can pass a list of node uuids, by default is an empty list that means all nodes.&lt;br /&gt;
&lt;br /&gt;
=== Adding vimaccount using OSM client ===&lt;br /&gt;
&lt;br /&gt;
 osm vim-create --name fos --auth_url &amp;lt;rest proxy ip&amp;gt;:8080 --account_type fos --tenant osm --user dummy --password dummy --config &#039;{hypervisor: LXD}&#039;&lt;br /&gt;
&lt;br /&gt;
== VLAN configuration (optional) ==&lt;br /&gt;
&lt;br /&gt;
If you want your fog05 installation to be able to use VLANs for virtual networks instead of overlay VxLANs you need to change the configuration on all nodes. You need to update the configuration file /etc/fos/plugins/linuxbridge/linuxbridge_plugin.json &lt;br /&gt;
&lt;br /&gt;
 {&lt;br /&gt;
  &amp;quot;name&amp;quot;: &amp;quot;linuxbridge&amp;quot;,&lt;br /&gt;
  &amp;quot;version&amp;quot;: 1,&lt;br /&gt;
  &amp;quot;uuid&amp;quot;: &amp;quot;d42b4163-af35-423a-acb4-a228290cf0be&amp;quot;,&lt;br /&gt;
  &amp;quot;type&amp;quot;: &amp;quot;network&amp;quot;,&lt;br /&gt;
  &amp;quot;requirements&amp;quot;: [&lt;br /&gt;
    &amp;quot;jinja2&amp;quot;&lt;br /&gt;
  ],&lt;br /&gt;
  &amp;quot;description&amp;quot;: &amp;quot;linux Bridge network plugin&amp;quot;,&lt;br /&gt;
  &amp;quot;configuration&amp;quot;: {&lt;br /&gt;
    &amp;quot;ylocator&amp;quot;: &amp;quot;tcp/&amp;lt;your yaks ip&amp;gt;:7887&amp;quot;,&lt;br /&gt;
    &amp;quot;nodeid&amp;quot;: &amp;quot;&amp;lt;your node id&amp;gt;&amp;quot;,&lt;br /&gt;
    &amp;quot;dataplane_interface&amp;quot;: &amp;quot;&amp;lt;interface for overlay networks&amp;gt;&amp;quot;,&lt;br /&gt;
    &amp;quot;use_vlan&amp;quot;: true,&lt;br /&gt;
    &amp;quot;vlan_interface&amp;quot;: &amp;quot;&amp;lt;interface for vlans&amp;gt;&amp;quot;,&lt;br /&gt;
    &amp;quot;vlan_range&amp;quot;: [&lt;br /&gt;
      &amp;lt;start vlan id&amp;gt;,&lt;br /&gt;
      &amp;lt;end vlan id&amp;gt;&lt;br /&gt;
    ]&lt;br /&gt;
  }&lt;br /&gt;
 }&lt;br /&gt;
After that you have to restart the fog05 network and runtime plugins in the nodes.&lt;/div&gt;</summary>
		<author><name>Baldoni</name></author>
	</entry>
</feed>