diff options
author | opensource-tnbt <sridhar.rao@spirent.com> | 2020-08-01 22:12:02 +0530 |
---|---|---|
committer | opensource-tnbt <sridhar.rao@spirent.com> | 2020-08-03 14:53:00 +0530 |
commit | 42af6fa2ef682d28d12952831aa0c74fd647daad (patch) | |
tree | 27f73a3410005b77be7b92352efe32fc1f05a662 /sdv/core/component_factory.py | |
parent | d5a010aa2e40cafabf012b096f508b144f9d3d8b (diff) |
SDV: Reorganize subprojects
This patch reorganizes the subprojects.
Pylint Fixes. Additional Configurations
Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com>
Change-Id: I021f33f035d7b2dcfded230ca40337afdac183e8
Diffstat (limited to 'sdv/core/component_factory.py')
-rw-r--r-- | sdv/core/component_factory.py | 33 |
1 files changed, 24 insertions, 9 deletions
diff --git a/sdv/core/component_factory.py b/sdv/core/component_factory.py index 396aa28..813c6f2 100644 --- a/sdv/core/component_factory.py +++ b/sdv/core/component_factory.py @@ -17,16 +17,31 @@ Create Components. """ -def create_swprevalidator(swprevalidator_class): - """ Create Pre-Validators""" - return swprevalidator_class() +def create_swpreurlsvalidator(swpreurlsvalidator_class): + """ Create Pre-Links Validators""" + return swpreurlsvalidator_class() -def create_swpostvalidator(swpostvalidator_class): - """ Create Post-Validators""" - return swpostvalidator_class() +def create_swpoststatevalidator(swpoststatevalidator_class): + """ Create Post-State Validators""" + return swpoststatevalidator_class() -def create_linkvalidator(linkprevalidator_class): - """ Create Link-Validators""" - return linkprevalidator_class() +def create_nwlinksvalidator(nwlinksvalidator_class): + """ Create NW Link-Validators""" + return nwlinksvalidator_class() + + +def create_swpreconfigvalidator(swpreconfigvalidator_class): + """ Create Pre-Config Validators""" + return swpreconfigvalidator_class() + + +def create_swpostsecurityvalidator(swpostsecurityvalidator_class): + """ Create Post-Security Validators""" + return swpostsecurityvalidator_class() + + +def create_resmodvalidator(resmodvalidator_class): + """ Create Resource-Model Validators""" + return resmodvalidator_class() |