aboutsummaryrefslogtreecommitdiffstats
path: root/moonv4/moon_orchestrator/moon_orchestrator/api/generic.py
blob: cadd98d37fae48e893e3d762d060ef6dcc9a14c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Copyright 2015 Open Platform for NFV Project, Inc. and its contributors
# This software is distributed under the terms and conditions of the 'Apache-2.0'
# license which can be found in the file 'LICENSE' in this package distribution
# or at 'http://www.apache.org/licenses/LICENSE-2.0'.


class Status(object):
    """
    Retrieve the current status of all components.
    """

    __version__ = "0.1.0"

    def get_status(self, ctx, args):
        """Retrieve the current status of all components."""
        return {"status": "Running"}


class Logs(object):
    """
    Retrieve the current status of all components.
    """

    __version__ = "0.1.0"

    def get_logs(self, ctx, args):
        return {"error": "NotImplemented", "ctx": ctx, "args": args}