(obsolete) Virtual lab
The attached document describes the approach for creating a virtual (cloud hosted) ONAP lab
Comments
In general the lab does not necessarily have to be open to the "general public" and can have the same access control as physical labs. Therefore the VNF licenses used in physical labs should be applicable to the virtual lab as well. I updated the document and added slide #7 to address this explicitly
I wonder if we can describe this more as requirements from a developer perspective.
Let me outline what I mean:
Compute/Lab support for ONAP
——————————————
Lab type 1:
An environment developers use to actually write the code and perform unit testing. I would generally assume that those labs are installed and maintained by the organization the developers works for. To make this work we have to provide a “standard” configuration for these environments. If we don’t we will get an endless number of emails like “foobar does not built on my ….” as we are already seeing on the mailing list now. Dependencies of ONAP are complex and it won’t just build everywhere… .
Lab type 2:
On a daily basis each developer should be able to test his component in an integrated setting. Let’s assume we have 11 or so components in ONAP. That means the developer of component X needs to be able to spin up ONAP with the 10 other components configured in a way which allows for some “simple” integration use cases to execute. I know some people see this kind of lab as a luxury. I see it as a must if you are serious about CI/CD. Now what do we need to make this happen:
- we need a space to spin this up
- we need a standard integration configuration of all 11 components.
- we need to do this very flexibly (e.g. a developer shouldn’t have to wait for a particular time zone to wake up or get a slot in a lab”
This all calls for a virtual lab. A virtual lab would allow a developer to spin up a new ONAP instance in isolation without impacting anybody else. Run the simple integration tests, debug them and shut them down again.
We would have to provide to the developers the standard configuration and an easy way to spin one up (at the push of a button). In terms of providing the actual environment there are multiple options. LF pays. Developer org pays. Partner donates. I don’t really care which one it is as long as it doesn’t restrict the developer as the developer is by far the most expensive resource here.
Lab type 3:
Performs complex integration tests with PNFs and E2E service use cases.
Those labs do require hardware for the PNFs. Now the interesting part here is that we can separate the PNF/VNFs from the actual ONAP instance. As discussed yesterday ONAP itself can really run anywhere. The cloud and physical environment constrains come in on the PNFs / VNFs. So we could e.g. run ONAP in the virtual environment above (to minimize the number of configuration we support) and have them control PNFs and VNFs in a remote lab. There is really no requirement for co-location and in fact we are running the ECOMP control plane entirely separate from the VNFs/PNFs in our network today for security and resiliency reasons alone. So this mode of operations is actually preferred in practice.
This also means that we could use any lab we want for the PNF/VNF setup and control them from any virtual ONAP instance. All we would have to do is to agree on a standard tunneling technique to ensure connectivity between ONAP and the cloud layer/VNF/PNFs in that lab.
Lab type X:
deals with none development related things like certification, demos etc.. . I am less worried about this right now as we have more time to work this out.
I would structure our labs in those categories and focus on providing the artifacts to make them happen ASAP.
This makes a lot of sense. It also makes the task of creating a standard "blueprint" and "package" highly important. A few clarifications:
Where is the official CI/CD of ONAP executed? I am assuming that is not necessarily done in any lab type described above but rather in a dedicated lab as described here: (obsolete)Open Lab
The "packages" for lab types 1&2 - Will those have to be frequently updated to include the "trunk" build of ONAP? Will they automatically pull the latest build? Will they use a "stable" build instead?
Local Maven/Jenkins/Nexus is required to reduce the traffic with the LF CI/CD foundation then each Lab1, 2, 3, X can benefit from this CD local infrastructure.
This makes sense we need to separate the environments that spin up , do tests and spin down for developers to get immediate feedback on their work/code/bug fixes and separate environments for things that require hard assets (PNFs) and/or long term testing (stability and scale for instance)
Thanks for the proposal. Is there any licensing requirements for remote participation of VNF vendors or third-party devices/physical labs?