sonata-nfv / son-emu

Attention! Legacy! This repo will be replaced with https://github.com/containernet/vim-emu
https://github.com/containernet/vim-emu
Apache License 2.0
36 stars 32 forks source link

Create `dummygatekeeper` for 5GTANGO packages #284

Closed mpeuster closed 5 years ago

mpeuster commented 5 years ago

Copy SONATA DK and adopt it to support 5GTANGO example package.

Dev branch 5gtango/dev (https://github.com/mpeuster/son-emu/tree/5gtango/dev).

Rename it? Dummygatekeeper is a strange name. What about tango/llcm for 'lightweight lifecycle manager'?

ATTENTION: Do all changes within one commit (--amend to update) to be compatible to OSM's Gerrit-based code review.

git commit --amend
git push --force

Demo package tree:

/tmp/son-dummy-gk/catalog/services/5159e447-8834-45dc-8396-e292e445816a
├── Definitions
│   ├── tango_default-vnf0.yml
│   ├── tango_default-vnf1.yml
│   └── tango_emulator_example.yml
├── etsi_manifest.mf
└── TOSCA-Metadata
    ├── NAPD.yaml
    └── TOSCA.meta

On-board:

curl -i -X POST -F package=@misc/eu.5gtango.emulator-example-service.0.1.tgo http://127.0.0.1:5000/packages

Instantiate:

curl -X POST http://127.0.0.1:5000/instantiations -d "{}"