Example #1
0
# 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.
"""
This module contains process logic
"""


class Osis(object):
    """
    Osis class
    """
    def __init__(self):
        """
        Net should be a complete static class
        """
        raise RuntimeError('This class should not be instantiated.')

    getClient = None


from ovs.plugin.injection.injector import Injector
Osis = Injector.inject(Osis)
Example #2
0
#
#     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.

"""
This module contains remote logic
"""


class Remote(object):
    """
    Remote class
    """

    def __init__(self):
        """
        Remote should be a complete static class
        """
        raise RuntimeError('This class should not be instantiated.')

    cuisine = None
    fabric = None

from ovs.plugin.injection.injector import Injector
Remote = Injector.inject(Remote)
#
#     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.

"""
This module contains configuration logic
"""


class Configuration(object):
    """
    Configuration class
    """

    def __init__(self):
        """
        Configuration should be a complete static class
        """
        raise RuntimeError('This class should not be instantiated.')

    get = None
    getInt = None

from ovs.plugin.injection.injector import Injector
Configuration = Injector.inject(Configuration)
Example #4
0
# 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.
"""
This module contains service logic
"""


class Service(object):
    """
    Service class
    """
    def __init__(self):
        """
        Service should be a complete static class
        """
        raise RuntimeError('This class should not be instantiated.')

    add_service = None


from ovs.plugin.injection.injector import Injector

Service = Injector.inject(Service)
Example #5
0
# 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.

"""
This module contains process logic
"""


class Osis(object):
    """
    Osis class
    """

    def __init__(self):
        """
        Net should be a complete static class
        """
        raise RuntimeError('This class should not be instantiated.')

    getClient = None

from ovs.plugin.injection.injector import Injector
Osis = Injector.inject(Osis)
Example #6
0
# 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.
"""
This module contains logger logic
"""


class Logger(object):
    """
    Logger class
    """
    def __init__(self):
        """
        Logger should be a complete static class
        """
        raise RuntimeError('This class should not be instantiated.')

    log = None


from ovs.plugin.injection.injector import Injector
Logger = Injector.inject(Logger)
Example #7
0
# 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.
"""
This module contains process logic
"""


class Net(object):
    """
    Net class
    """
    def __init__(self):
        """
        Net should be a complete static class
        """
        raise RuntimeError('This class should not be instantiated.')

    getHostname = None


from ovs.plugin.injection.injector import Injector
Net = Injector.inject(Net)
Example #8
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.
"""
This module contains package logic
"""


class Package(object):
    """
    Package class
    """
    def __init__(self):
        """
        Package should be a complete static class
        """
        raise RuntimeError('This class should not be instantiated.')

    is_running = None
    start = None
    stop = None
    get_status = None
    get_versions = None


from ovs.plugin.injection.injector import Injector
Package = Injector.inject(Package)
Example #9
0
# 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.
"""
This module contains configuration logic
"""


class Configuration(object):
    """
    Configuration class
    """
    def __init__(self):
        """
        Configuration should be a complete static class
        """
        raise RuntimeError('This class should not be instantiated.')

    get = None
    getInt = None


from ovs.plugin.injection.injector import Injector
Configuration = Injector.inject(Configuration)
Example #10
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.

"""
This module contains package logic
"""


class Package(object):
    """
    Package class
    """

    def __init__(self):
        """
        Package should be a complete static class
        """
        raise RuntimeError('This class should not be instantiated.')

    is_running = None
    start = None
    stop = None
    get_status = None
    get_versions = None

from ovs.plugin.injection.injector import Injector
Package = Injector.inject(Package)
Example #11
0
# 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.
"""
This module contains remote logic
"""


class Remote(object):
    """
    Remote class
    """
    def __init__(self):
        """
        Remote should be a complete static class
        """
        raise RuntimeError('This class should not be instantiated.')

    cuisine = None
    fabric = None


from ovs.plugin.injection.injector import Injector
Remote = Injector.inject(Remote)
Example #12
0
# 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.
"""
This module contains process logic
"""


class Process(object):
    """
    Process class
    """
    def __init__(self):
        """
        Process should be a complete static class
        """
        raise RuntimeError('This class should not be instantiated.')

    checkProcess = None


from ovs.plugin.injection.injector import Injector
Process = Injector.inject(Process)
Example #13
0
# 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.

"""
This module contains logger logic
"""


class Logger(object):
    """
    Logger class
    """

    def __init__(self):
        """
        Logger should be a complete static class
        """
        raise RuntimeError('This class should not be instantiated.')

    log = None

from ovs.plugin.injection.injector import Injector
Logger = Injector.inject(Logger)
Example #14
0
# 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.

"""
This module contains process logic
"""


class Process(object):
    """
    Process class
    """

    def __init__(self):
        """
        Process should be a complete static class
        """
        raise RuntimeError('This class should not be instantiated.')

    checkProcess = None

from ovs.plugin.injection.injector import Injector
Process = Injector.inject(Process)
Example #15
0
# 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.

"""
This module contains service logic
"""


class Service(object):
    """
    Service class
    """

    def __init__(self):
        """
        Service should be a complete static class
        """
        raise RuntimeError('This class should not be instantiated.')

    add_service = None

from ovs.plugin.injection.injector import Injector
Service = Injector.inject(Service)
Example #16
0
# 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.

"""
This module contains process logic
"""


class Net(object):
    """
    Net class
    """

    def __init__(self):
        """
        Net should be a complete static class
        """
        raise RuntimeError('This class should not be instantiated.')

    getHostname = None

from ovs.plugin.injection.injector import Injector
Net = Injector.inject(Net)