@@ -12,8 +12,6 @@ This sections enumerates the steps to make an OpenStack accessible for its use f
#### 2. Create a management network, with DHCP enabled, reachable from OSM
(particularly, it should be reachable from VCA container)
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:
```bash
@@ -342,7 +340,7 @@ The above data can be learned through the Azure portal or the Azure CLI. For ins
#### 2. Create Microsoft Azure Virtual Network
The virtual networks created for the Azure VIM will all be created as subnets from a base virtual network. This base virtual network should be created before adding the VIM target and will also be provided as a configuration parameter.
The virtual networks created for the Azure VIM will all be created as subnets from a base virtual network`vnet_name`. This base virtual network should be created before adding the VIM target and will also be provided as a configuration parameter.
It is also recommended to create a management subnet in that virtual network for the VIM network services, and both vnet and subnet can be created in a single step. For example, this command creates in `osmRG` resource group (must exist) the `osm_vnet` virtual network and the `internal` management subnet which uses `10.0.0.0/24` address prefix:
**NOTE for VNF Onboarding:** You need to make sure that your VNF packages include a reference to an appropriate alternative image in Microsoft Azure's image repository. In case you are creating a VNF Package from scratch, please note you should use the full Azure image name: `publisher:offer:sku:version` (e.g. `Canonical:UbuntuServer:18.04-LTS:18.04.201809110`).
## Google Cloud Platform (GCP)
### Preparation for using GCP in OSM
#### 1. Obtain GCP credentials and project from Google GCP
In order to use a VIM target based on Google Cloud, the following information needs to be gathered:
- Access credentials file (`creds`): the JSON file corresponding to a GCP service account. This file is obtained from the portal in the moment the service account is created.
- The `project`, the name of the Google Cloud project to be used to deploy IaaS resources (VM, nets, etc.).
- The `region`to be used to deploy IaaS resources (VM, nets, etc.).
The `project` and `region` can be obtained through the GCP portal or the GCP CLI. For instance, the command `gcloud config list` returns all properties of the active configuration, including the `account` used to authorize access to the GCP, the `project` and the `region`.
#### 2. Create Google GCP Virtual Network
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, these commands creates the `osm_vnet` virtual network and the `internal` management subnet which uses `10.10.0.0/24` address prefix:
-`credentials_json_file`: Service account JSON file.
-`use_floatinp_ip` is set to True in order to allow automatic public IP addresses in all the interfaces connected to the management network of a NS.
**NOTE for VNF Onboarding:** You need to make sure that your VNF packages include a reference to an appropriate alternative image in Google Cloud's image repository. In Google Cloud there are a set of public preconfigured images grouped in image projects. In case you are creating a VNF Package from scratch, please note you should use the following naming conventions to get the Google Cloud image:
-`<image_project>:image-family:<family>`: to get the latest version of the images of the family `<family>` in the project `<image_project>` (e.g. `ubuntu-os-cloud:image-family:ubuntu-1804-lts`)
-`<image_project>:image:<image>`: to get a specific image `<image>` in the project `<image_project>` (e.g. `ubuntu-os-cloud:image:ubuntu-1804-bionic-v20210928`)
-`<image_project>:<image>`: equivalent to `<image_project>:image:<image>` (e.g. `ubuntu-os-cloud:ubuntu-1804-bionic-v20210928`)
## Eclipse fog05
Eclipse fog05 (can be read as _fog-O-five_ or _fog-O-S_) is a different kind of VIM, designed to manage a fog/edge environment, thus it is completely distributed (no controller/master node) and pluggable, and available as FOSS from Eclipse: <https://github.com/eclipse-fog05>