:return: True if successful
"""
+ @abc.abstractmethod
+ async def synchronize_repos(
+ self,
+ cluster_uuid: str,
+ name: str
+ ):
+ """
+ Synchronizes the list of repositories created in the cluster with
+ the repositories added by the NBI
+
+ :param cluster_uuid: the cluster
+ :return: List of repositories deleted from the cluster and dictionary with repos added
+ """
+
@abc.abstractmethod
async def reset(
self,
atomic: bool = True,
timeout: float = 300,
params: dict = None,
- db_dict: dict = None
+ db_dict: dict = None,
+ kdu_name: str = None
):
"""
Deploys of a new KDU instance. It would implicitly rely on the `install` call to deploy the Chart/Bundle
:param dict db_dict: where to write into database when the status changes.
It contains a dict with {collection: <str>, filter: {}, path: <str>},
e.g. {collection: "nsrs", filter: {_id: <nsd-id>, path: "_admin.deployed.K8S.3"}
+ :param kdu_name: Name of the KDU instance to be installed
:return: True if successful
"""