blob: c3e91e93a4c9a3f4c2bf1e76f4704682fb9de5d7 [file] [log] [blame]
Moshe0bb532c2018-02-26 13:39:57 +02001##############################################################################
2# Copyright 2018 EuropeanSoftwareMarketingLtd.
3# ===================================================================
4# Licensed under the ApacheLicense, Version2.0 (the"License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# software distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and limitations under
12# the License
13##############################################################################
14
15import logging
Moshe30497ac2018-03-14 14:22:13 +020016
17from vnftest.contexts.base import Context
Moshe0bb532c2018-02-26 13:39:57 +020018
19LOG = logging.getLogger(__name__)
20
21
22class CSARContext(Context):
23 """Class that handle sdc info"""
24
25 __context_type__ = "CSAR"
26
27 def __init__(self):
Moshe0bb532c2018-02-26 13:39:57 +020028 super(CSARContext, self).__init__()
29
30 def init(self, attrs):
Moshe05acf082018-03-20 10:51:42 +020031 super(CSARContext, self).init(attrs)
Moshe0bb532c2018-02-26 13:39:57 +020032
33 def deploy(self):
34 """no need to deploy"""
35 pass
36
37 def undeploy(self):
38 """no need to undeploy"""
39 super(CSARContext, self).undeploy()