sonata-nfv / tng-sdk-descriptorgen Goto Github PK
View Code? Open in Web Editor NEW5GTANGO descriptor generator
Home Page: https://sonata-nfv.github.io/tng-sdk-descriptorgen/
License: Apache License 2.0
5GTANGO descriptor generator
Home Page: https://sonata-nfv.github.io/tng-sdk-descriptorgen/
License: Apache License 2.0
Write documentation: Inline comments, Readme, (Wiki)
Nicer visuals. More responsive design.
For easier deployment.
Should happen automatically during the publication phase in Jenkins
Apparently only memory-mb --> update default descriptors. Also check for project
To avoid using web interface
For auto. validating generated descriptors
Ideally already mark input fields green or red depending on validity of input (compared to schemas)
Write tests that can be executed automatically to ensure correctness (also integration tests)
For demos (e.g., at the Y1 review), we'll use services like the ones from upb-emulator-mano-integration-demo or upb-containernet-emulator-summerschool-demo:
User --> Squid proxy --> Socat L4FW --> Apache webserver
For a demo, the descriptorgen should be able to generate descriptors for all VNFs and the complete NS place them in a project folder together with project.yaml
. The following steps are still needed:
Ensure the generator is ready for deployment. Eg. inside a docker?
As proposed by José, every component should have a /ping endpoint that simply responds with a status 200, signaling it's still alive.
The descriptorgen doesn't really implement a Rest API (e.g., with Python) but only runs a web server inside a container that serves index.html
. Going to the container's IP should show the descriptorgen GUI.
I just need a way that going to the container's IP/ping returns the status 200 message. Probably depends on nginx or Apache.
Currently the default descriptors are fetched from GitHub (either tng-schema or this repository). Hence, the current descriptorgen doesn't work without internet.
For the demo, we should be able to generate offline - to be safe. Approach: Run web server locally that serves the default descriptors and fetch them from there.
What's the delta between normal, default descriptors generated by the descriptorgen now and the required descriptors for the Y1 review: https://github.com/sonata-nfv/tng-y1-demo
If its small, can the descriptorgen be (adjusted &) used in the review to generate the Y1 review descriptors?
Support generating OSM descriptors
Overall goal: Online SDK editor running the different SDK tools, integrated via one web interface.
First step: Auto. create a folder structure and project.yml
, when generating descriptors. Put the generated descriptors in there and download the whole folder, which is then ready for validation/packaging.
Either refactor the GUI (eg, using Angular) so other tools can be integrated like validation and packaging.
Or integrate all tools, including the descriptor generator, into the new portal GUI. This is probably the better option.
For this, I need to
We should not use the exact same portal as for the VnV and the SP but a copy of it, showing some kind of "developer view/mode", which only shows the SDK tools, not the VnV and SP. This way we could still reuse and adjust the portal implementation, have a consistent look and feel, but have separate GUIs for developer and operator.
Allow to upload the descriptor of an existing VNF to include in a network service.
Adjust/update generated OSM descriptors
Comparing newly created, compatible descriptors with previously generated descriptors:
NSD:
vim-network-name: default
and type: ELAN
for all vldsdefault-vnf
to vnf
VNFD:
default-vnf
to vnf
Both in unit tests and for use in integration test with other SDK tools (eg, tng-sdk-project and package).
eg CPU-bound vs memory-bound => different default values
Support different kinds of VNFs (see reuse of own VNFs) and let the user decide in which order they are chained. Ideally, represent the order visually
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.