CN-UPB / demo-multi-platform-nfv-sdk

A multi-platform NFV SDK demo
2 stars 1 forks source link

Code: tng-prj status #6

Closed stefanbschneider closed 6 years ago

stefanbschneider commented 6 years ago

Show the currently included files (+ file path) of a project. Similar to git status. Basically, just printing a simplified version of the project.yaml.

stefanbschneider commented 6 years ago

Impelemented here: https://github.com/sonata-nfv/tng-sdk-project/pull/21

$ tng-prj -p demo-service-cdn --status
2018-06-14 16:58:56 nb-stschn tngsdk.project.project[640] INFO Loading Project c                                                                                                                                                                                               onfiguration 'demo-service-cdn\project.yml'
Project: generated-project
Vendor: de.upb
Version: 0.1
Demo network scenario with three VNFs
+-------------------------------+------------+
| MIME type                     |   Quantity |
+===============================+============+
| application/vnd.5gtango.nsd   |          1 |
+-------------------------------+------------+
| application/vnd.5gtango.vnfd  |          3 |
+-------------------------------+------------+
| application/vnd.etsi.osm.nsd  |          1 |
+-------------------------------+------------+
| application/vnd.etsi.osm.vnfd |          3 |
+-------------------------------+------------+