29 lines
920 B
Python
Executable File
29 lines
920 B
Python
Executable File
#
|
|
# Copyright (c) 2016 Wind River Systems, Inc.
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
from nfv_common import debug
|
|
from nfv_common import tasks
|
|
|
|
from nfv_vim.nfvi._nfvi_plugin import NFVIPlugin
|
|
|
|
DLOG = debug.debug_get_logger('nfv_vim.nfvi.nfvi_sw_mgmt_plugin')
|
|
|
|
|
|
class NFVISwMgmtPlugin(NFVIPlugin):
|
|
"""
|
|
NFVI Software Management Plugin
|
|
"""
|
|
_version = '1.0.0'
|
|
_signature = '22b3dbf6-e4ba-441b-8797-fb8a51210a43'
|
|
_plugin_type = 'sw_mgmt_plugin'
|
|
|
|
def __init__(self, namespace, pool):
|
|
scheduler = tasks.TaskScheduler('sw-mgmt-plugin', pool)
|
|
super(NFVISwMgmtPlugin, self).__init__(namespace,
|
|
NFVISwMgmtPlugin._version,
|
|
NFVISwMgmtPlugin._signature,
|
|
NFVISwMgmtPlugin._plugin_type,
|
|
scheduler)
|