Enhancing the feature of 'osm vim-create'
Extending the feature of 'osm vim-create' command
Proposer
K Sai Kiran (saikiran.k@tataelxsi.co.in)
Type
Feature
Target MDG/TF
RO
Description
Current implementation of 'osm vim-create' command in RO module takes the VIM credentials along with few VIM specific configurations and makes an entry in RO-DB. Feature addition will extend this implementation by following actions:
- Validate the given VIM credentials by connecting to the VIM
- On successful step 1, VIM credentials are populated in the RO-DB
- On Unsuccesful step 1, raises an exception to return a error message back to LCM->NBI->cli/webui
Following are the outcome of this feature enhancement
- Will address the bug (BUG-636), in addition to the format check made in NBI
- Avoids DOS attacks, where in user can create millions of fake vim accounts which will just bloat up the RO-DB
Will be validated for OpenStack, by design it should work for other VIMs as well. Need support to validate for other VIMs.
Demo or definition of done
Describe or reference demo that leverages this, or alternatively, definition of done.
-
On Successful creation of vim-account, following status can be verified Operational status in webui indicates enabled Cli should exit without error
-
On Unsuccessful creation of vim-account, following status can be verified Operational status in webui indicates error Cli should exit with error