Initial commit
[ta/config-manager.git] / cmframework / src / cmframework / apis / cmstate.py
1 # Copyright 2019 Nokia
2
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #     http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14 from cmframework.apis import cmerror
15
16
17 class CMState(object):
18     # pylint: disable=no-self-use, unused-argument
19     def get(self, domain, name):
20         raise cmerror.CMError('No implemented')
21
22     # pylint: disable=no-self-use, unused-argument
23     def get_domain(self, domain):
24         raise cmerror.CMError('Not implemented')
25
26     # pylint: disable=no-self-use, unused-argument
27     def set(self, domain, name, value):
28         raise cmerror.CMError('Not implemented')
29
30     # pylint: disable=no-self-use, unused-argument
31     def get_domains(self):
32         raise cmerror.CMError('Not implemented')
33
34     # pylint: disable=no-self-use, unused-argument
35     def delete(self, domain, name):
36         raise cmerror.CMError('Not implemented')
37
38     # pylint: disable=no-self-use, unused-argument
39     def delete_domain(self, domain):
40         raise cmerror.CMError('Not implemented')
41
42 if __name__ == '__main__':
43     pass