def on_get(self, req, resp, subnet_id):
        client = req.env['sl_client']
        tenant_id = req.env['auth']['tenant_id']
        try:
            subnet_id = int(subnet_id)
        except Exception:
            return error_handling.bad_request(resp,
                                              message="Malformed request body")

        subnet = client['Network_Subnet'].getObject(id=subnet_id,
                                                    mask=SUBNET_MASK)
        resp.body = {'subnet': format_subnetwork(subnet, tenant_id)}
        resp.status = 200
Shows information for a specified subnet. (subnet-show)
dataset/ETHPy150Open softlayer/jumpgate/jumpgate/network/drivers/sl/subnets.py/SubnetV2.on_get