X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FNBI.git;a=blobdiff_plain;f=osm_nbi%2Fauthconn.py;h=0df8911c70f08b1b56ba180e1c1603cd98a484bb;hp=df5c700ab2f67d7e58d0a4e6aa873bbb577cf6e4;hb=4015b4734a923c29c04bf9b30f5a06604dd2f0a4;hpb=ee270727d8a9ae41924dfce4a6789af1b5045602 diff --git a/osm_nbi/authconn.py b/osm_nbi/authconn.py index df5c700..0df8911 100644 --- a/osm_nbi/authconn.py +++ b/osm_nbi/authconn.py @@ -223,6 +223,7 @@ class Authconn: Create a project. :param project: project name. + :return: the internal id of the created project :raises AuthconnOperationException: if project creation failed. """ raise AuthconnNotImplementedException("Should have implemented this") @@ -245,6 +246,15 @@ class Authconn: """ raise AuthconnNotImplementedException("Should have implemented this") + def update_project(self, project_id, new_name): + """ + Change the name of a project + :param project_id: project to be changed + :param new_name: new name + :return: None + """ + raise AuthconnNotImplementedException("Should have implemented this") + def assign_role_to_user(self, user, project, role): """ Assigning a role to a user in a project.