This repository includes the Intent Engine developed through in the 5G-CLARITY Project and extended to support NFVIaaS deployment into the UC1 Narrative 1 and Narrative 2 to be run on Bristol.
Computational Requirements for this deployment two Virtual Machines with 8 Gb RAN (Ideally) 40 Gb Hard Disk running the Ubuntu 18 or 20 Linux.
- VM1 - Intent Engine
- VM2 - NFVO MANO
- Clone the Intent Engine.
git clone https://github.com/Charlemagne2017/Intent-NFVIaaS.git
- Create a new directory called in /intentengine/matching/app/data/.
- Download the required data file from the FastText resources page (simple English binary). This is required as the data file exceeds the file size limit on GitHub.
- Extract the contents of the file to ..../intentengine/matching/app/data/.
- To build and run the Intent Engine change directory to ... /intentengine and use docker-compose
docker-compose up --build
- Ensure that the VM is in the same network or has connectivity to the VM1.
- Install the OSM MANO following the following instructions https://osm.etsi.org/docs/user-guide/latest/03-installing-osm.html
- Configure the usernames and account and the access of the VIM to be able to deploy VNF. https://osm.etsi.org/docs/user-guide/latest/04-vim-setup.html
- Test the installation of OSM-MANO following the documentation.
The Intent engine can now recieve intents at this URL: (IP or localhost):5001/intent-input.
- Ensure the VM is accesible by REST.
- If you already have Postman account jump to the step 4
- Download postman app and create your account, https://www.postman.com/
- Open your postman app and create a POST request to train the Intent Engine in order. The POST request called "Initialisation_Event" mas sent at the URL (IP or localhost):23324/apex/RestServerConsumer/EventIn.
- Sent the POST request.
- After train the Intent Engine, we can test the training by an Intent for NS instatiation, create a POST request to submit the Intent http://10.68.110.53:5001/intent-input
{
"intent": {
"request": "Create new VNF package resource",
"parameters" : {}
}
}
- Verify that the Intent Engine delivered the request to OSM and the VNF Packet is Created (empty).