NFV SpecFest Wiki
From ETSI Forge
Contribute a OAS spec at ETSI Forge!
Create the OAS spec for SOL 002 in a collaborative way.
Contents
Set up
- Log in at forge.etsi.org
- Go to https://forge.etsi.org/index.php/users/login and insert your EOL credentials
- Navigate to the example specification and download them
- nfv-specfest repo
- Open the given spreadsheet and tag one operation with your name
- The operation will then be assigned to you to be edited
Editing
With offline editor
- Install a Rich Editor locally (e.g. VS Code)
- Navigate to https://code.visualstudio.com/ and download it for your platform
- Install the Swagger Viewer Plugin
With online editor
- Navigate to SOL002 OAS template. (Google Chrome recommended)
- After editing, click File and then “Download YAML”
Writing the definition
Edit the OpenApi specification:
- Look up the resource you have been assigned in NFV SOL 002
- Create the definition into the nfv002_main_template.yaml and check correctness with VS Code
- Cut&paste what you created into a proper resource in /paths/index.yaml and create the corresponding file
- E.g. create the Vnf_instance data type into a Vnf_instance.yaml files
- Configure the files so that the CI/CD validates the result
Online via Gerrit (Beginners)
- Upload the contribution via Gerrit ‘Create Change’ button
- Edit the ‘patch set’
- Paste the created files
With Git (Advanced)
- Log in on forge.etsi.org, set up gerrit configuration
- Install a GIT client, set it up correctly
- Upload the contribution
Verify
- Check Jenkins result on Gerrit and on Jenkins Job
- If there is no feedback from Jenkins contact CTI
- Wait for CTI to merge your contribution
Iterate!
All accomplished? Then it may be time to select a new part of the specification and create the OpenAPI version again!