示例#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)
示例#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)
示例#3
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 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)
示例#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)
示例#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)
示例#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)
示例#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)
示例#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)
示例#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)
示例#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)
示例#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)
示例#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)
示例#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)
示例#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)
示例#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)
示例#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)