X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FN2VC.git;a=blobdiff_plain;f=n2vc%2Fn2vc_conn.py;h=68e8c14834da5ed8c5761ff1141a3c148abe6dae;hp=6b0df891e822aac41be67abf2382beaf5917a12b;hb=8070c3c8260010f052ee9fe546c85bed4aa6b2eb;hpb=7faf4eca072c56c5d179207013a436593a14aa9b diff --git a/n2vc/n2vc_conn.py b/n2vc/n2vc_conn.py index 6b0df89..68e8c14 100644 --- a/n2vc/n2vc_conn.py +++ b/n2vc/n2vc_conn.py @@ -331,6 +331,28 @@ class N2VCConnector(abc.ABC, Loggable): :param float total_timeout: """ + @abc.abstractmethod + async def upgrade_charm( + self, + ee_id: str = None, + path: str = None, + charm_id: str = None, + charm_type: str = None, + timeout: float = None, + ) -> str: + """This method upgrade charms in VNFs + + Args: + ee_id: Execution environment id + path: Local path to the charm + charm_id: charm-id + charm_type: Charm type can be lxc-proxy-charm, native-charm or k8s-proxy-charm + timeout: (Float) Timeout for the ns update operation + + Returns: + The output of the update operation if status equals to "completed" + """ + @abc.abstractmethod async def exec_primitive( self,