X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=RO-plugin%2Fosm_ro_plugin%2Fvimconn.py;h=66fe1909fc9fe4c310f9656bf986eff09191b7e4;hb=b1aa422c943886f6b2e86e9fd575913c2d89dc63;hp=b251d5982e7e01d1fa39e7ec3a60bd333e96e2b9;hpb=98740c03567ff8c5a22f06fd3f049248a9e5f98d;p=osm%2FRO.git diff --git a/RO-plugin/osm_ro_plugin/vimconn.py b/RO-plugin/osm_ro_plugin/vimconn.py index b251d598..66fe1909 100644 --- a/RO-plugin/osm_ro_plugin/vimconn.py +++ b/RO-plugin/osm_ro_plugin/vimconn.py @@ -123,12 +123,19 @@ class VimConnNotSupportedException(VimConnException): class VimConnNotImplemented(VimConnException): - """The method is not implemented by the connected""" + """The method is not implemented by the connector""" def __init__(self, message, http_code=HTTP_Not_Implemented): VimConnException.__init__(self, message, http_code) +class VimConnInsufficientCredentials(VimConnException): + """The VIM account does not have efficient permissions to perform the requested operation.""" + + def __init__(self, message, http_code=HTTP_Unauthorized): + VimConnException.__init__(self, message, http_code) + + class VimConnector: """Abstract base class for all the VIM connector plugins These plugins must implement a VimConnector class derived from this