Fix bug 732

Change-Id: I4d50aaf644849df989963052bd94a61c64b84db5
Signed-off-by: Eduardo Sousa <eduardo.sousa@canonical.com>
diff --git a/osm_nbi/nbi.py b/osm_nbi/nbi.py
index a43336d..20e0520 100644
--- a/osm_nbi/nbi.py
+++ b/osm_nbi/nbi.py
@@ -221,7 +221,7 @@
                                  "<ID>": {"METHODS": ("GET", "DELETE", "PUT")}
                                  },
                     "roles": {"METHODS": ("GET", "POST"),
-                              "<ID>": {"METHODS": ("GET", "POST", "DELETE")}
+                              "<ID>": {"METHODS": ("GET", "POST", "DELETE", "PUT")}
                               },
                     "vims": {"METHODS": ("GET", "POST"),
                              "<ID>": {"METHODS": ("GET", "DELETE", "PATCH", "PUT")}
diff --git a/osm_nbi/resources_to_operations.yml b/osm_nbi/resources_to_operations.yml
index 3a94de2..4b35d27 100644
--- a/osm_nbi/resources_to_operations.yml
+++ b/osm_nbi/resources_to_operations.yml
@@ -276,6 +276,8 @@
 
   "DELETE /admin/v1/roles/<id>": "roles:id:delete"
 
+  "PUT /admin/v1/roles/<id>": "roles:id:put"
+
 ################################################################################
 ##################################### PDUDs ####################################
 ################################################################################