aboutsummaryrefslogtreecommitdiffstats
path: root/sdv/SoftwarePreValid/swprevalidator.py
diff options
context:
space:
mode:
authoropensource-tnbt <sridhar.rao@spirent.com>2020-08-01 22:12:02 +0530
committeropensource-tnbt <sridhar.rao@spirent.com>2020-08-03 14:53:00 +0530
commit42af6fa2ef682d28d12952831aa0c74fd647daad (patch)
tree27f73a3410005b77be7b92352efe32fc1f05a662 /sdv/SoftwarePreValid/swprevalidator.py
parentd5a010aa2e40cafabf012b096f508b144f9d3d8b (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/SoftwarePreValid/swprevalidator.py')
-rw-r--r--sdv/SoftwarePreValid/swprevalidator.py42
1 files changed, 0 insertions, 42 deletions
diff --git a/sdv/SoftwarePreValid/swprevalidator.py b/sdv/SoftwarePreValid/swprevalidator.py
deleted file mode 100644
index bef141b..0000000
--- a/sdv/SoftwarePreValid/swprevalidator.py
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 2020 Spirent Communications.
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-"""
-Abstract class for Software Prevalidations.
-Implementors, please inherit from this class.
-"""
-
-
-class ISwPreValidator():
- """ Model for a Sw Validator """
- def __init__(self):
- """ Initialization of the Interface """
- self._default_swpre_validation = None
-
- @property
- def validation_swpre_defaults(self):
- """ Default Validation values """
- return True
-
- def validate_hyperlinks(self):
- """ Validate Hyperlinks"""
- raise NotImplementedError('Please call an implementation.')
-
- def validate_configuration_mandatory(self):
- """ Validate Mandatory Configurations """
- raise NotImplementedError('Please call an implementation.')
-
- def validate_configuration_optional(self):
- """ Validate Optional Configurations """
- raise NotImplementedError('Please call an implementation.')