示例#1
0
 def show(self, req, id):
     """Return data about the given zone id"""
     zone_id = int(id)
     zone = api.zone_get(req.environ['nova.context'], zone_id)
     return dict(zone=_scrub_zone(zone))
示例#2
0
 def show(self, req, id):
     """Return data about the given zone id"""
     zone_id = int(id)
     zone = api.zone_get(req.environ['nova.context'], zone_id)
     return dict(zone=_scrub_zone(zone))