Skip to content

fsiamp/metacloud-vnf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

metaCLOUD - VNF Metadata Service API

metaCLOUD is a REST API that enables storing of metadata information regarding a VNF (virtual network function) deployed in Openstack/VMware.

The main URL for sending REST requests is:

http://metacloud.herokuapp.com/vnf_meta

Through metaCLOUD you are able to create new REST entries, update existing ones or even delete old items.

Examples of Usage:

1. Open a browser and check the following IP:

http://metacloud.herokuapp.com/vnf_meta

It contains all the stored entries so far.

Alternatively you can use cURL:

curl -X GET -H "Content-type: application/json" -H "Accept: application/json" http://metacloud.herokuapp.com/vnf_meta

[{"vnf_name":"metacloud","vnfd_id":"4.0","application_version":"4.0","vnf_package_name":"metacloud","vnf_description":"VNF with 4 instances","createdAt":"2017-07-08T09:11:11.815Z","updatedAt":"2017-07-08T09:11:11.815Z","id":1},{"vnf_name":"peroVNF","vnfd_id":"3.0","application_version":"3.0","vnf_package_name":"peroVNF","vnf_description":"VNF with 2 instances","createdAt":"2017-07-08T10:13:57.970Z","updatedAt":"2017-07-08T10:13:57.970Z","id":2}]

2. Add new metadata entries:

http://metacloud.herokuapp.com/vnf_meta/create?vnf_name=metacloud&vnfd_id=4.0&application_version=4.0&vnf_package_name=metacloud&vnf_description=VNF+with+4+instances

http://metacloud.herokuapp.com/vnf_meta/create?vnf_name=peroVNF&vnfd_id=3.0&application_version=3.0&vnf_package_name=peroVNF&vnf_description=VNF+with+2+instances

3. Update existing entries:

http://metacloud.herokuapp.com/vnf_meta/update/2?vnf_name=peroVNF

4. Delete metadata entry:

http://metacloud.herokuapp.com/vnf_meta/destroy/3

About

VNF Metadata Service API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published