Fix ConfigWriter._DistributeConfig error handling
[ganeti-local] / lib / rapi / connector.py
index 2528c15..43c15c0 100644 (file)
@@ -92,8 +92,6 @@ class R_root(baserlib.R_Generic):
   """/ resource.
 
   """
-  DOC_URI = "/"
-
   def GET(self):
     """Show the list of mapped resources.
 
@@ -134,11 +132,9 @@ def _getResources(id):
 
 
 class R_2(baserlib.R_Generic):
-  """ /2 resourse.
+  """ /2 resource, the root of the version 2 API.
 
   """
-  DOC_URI = "/2"
-
   def GET(self):
     """Show the list of mapped resources.
 
@@ -157,6 +153,7 @@ CONNECTOR.update({
   "/2/jobs": rlib2.R_2_jobs,
   "/2/nodes": rlib2.R_2_nodes,
   re.compile(r'^/2/nodes/([\w\._-]+)$'): rlib2.R_2_nodes_name,
+  re.compile(r'^/2/nodes/([\w\._-]+)/tags$'): rlib2.R_2_nodes_name_tags,
   "/2/instances": rlib2.R_2_instances,
   re.compile(r'^/2/instances/([\w\._-]+)$'): rlib2.R_2_instances_name,
   re.compile(r'^/2/instances/([\w\._-]+)/tags$'): rlib2.R_2_instances_name_tags,