Add new inherited methods for kubernetes_mgmt

2 new methods are added at last time merge of
Wallaby release in vnflcm_abstract_driver.py.
  * change_external_connectivity_start()
  * change_external_connectivity_end()
(tacker/vnfm/mgmt_drivers/vnflcm_abstract_driver.py#L88)

In kubernetes_mgmt.py,
(sample/mgmt_drivers/kubernetes_mgmt.py)
we inherited VnflcmAbstractDriver thus we also
needed to implements these 2 methods here.

Due to we don't have these interfaces here, I updated
empty methods for clear runtime error.

Change-Id: I9f918ceff9882da1bff4b1cc953602a3b84aec0c
This commit is contained in:
LiangLu 2021-04-05 16:32:00 +08:00
parent 6fc64560e2
commit 44bf8f595b

View File

@ -1934,3 +1934,15 @@ class KubernetesMgmtDriver(vnflcm_abstract_driver.VnflcmMgmtAbstractDriver):
master_username, master_password, vnf_package_path,
worker_resource_name, worker_username, worker_password,
cluster_resource_name, master_node, worker_node)
def change_external_connectivity_start(
self, context, vnf_instance,
change_ext_conn_request, grant,
grant_request, **kwargs):
pass
def change_external_connectivity_end(
self, context, vnf_instance,
change_ext_conn_request, grant,
grant_request, **kwargs):
pass