From e4875d3d831de98ad92873fb4754f490c6f50f9f Mon Sep 17 00:00:00 2001 From: tierno Date: Mon, 1 Jun 2020 12:40:02 +0000 Subject: [PATCH] Feature OSM quotas Change-Id: Ie7e957e5ba7510395488a141256a98eab86de3d5 Signed-off-by: tierno --- Release8/OSM_Quotas.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Release8/OSM_Quotas.md diff --git a/Release8/OSM_Quotas.md b/Release8/OSM_Quotas.md new file mode 100644 index 0000000..ec9eb92 --- /dev/null +++ b/Release8/OSM_Quotas.md @@ -0,0 +1,35 @@ +# Support for OSM Quotas + +## Proposers + +- Alfonso Tierno (Telefonica) +- Gerardo Garcia (Telefonica) +- Francisco Javier Ramon (Telefonica) + +## Type + +Feature + +## Target MDG/TF + +NBI, osmclient, UI + +## Description + +This feature aims to provide quotas at OSM NBI level. A quota is a limit of packages, vims, repos, instances, etc. +that can be created in OSM for a concrete project. Each project will have each own set of individual quotas. +Quotas can be set for `nfpackages`, `nspackages`, `netslice-templates`, `netwok-services`, `netlice-instances`, +`vims`, `wims`, `sdn-controllers`, `pdus`, `k8s-clusters`, `k8s-repos`, `osm-repos`; and in general for any +other item inside the scope of an OSM project. + +Creation of `users`, `projects`, `roles`, etc. will not have quotas, as these are administrative tasks. + +Without this quota limit, OSM can be easily attacked, exhausting the database and volume used to store +packages, just by onboarding plenty of packages in a loop. + +A large quota number (e.g. 500) is applied by default when there is not quota established. + +## Demo or definition of done + +Create a new project. Set a low quota for e.g. nfpackages. Onboard vnfpkgs and test that it is denied when quota limit is reached. A clear error message from NBI should be obtained. Edit project increasing the quota and test that a new vnfpkg can be added. Test that the quota of one project does not affect other projects. + -- 2.25.1