)]}'
{"tempest/api_schema/compute/v2/hypervisors.py":[{"author":{"_account_id":5292,"name":"Christopher Yeoh","email":"cbkyeoh@gmail.com","username":"cyeoh-0"},"change_message_id":"bc59c5c4c96a33fcf88296b55590e5748c2cbc01","unresolved":false,"context_lines":[{"line_number":116,"context_line":"    }"},{"line_number":117,"context_line":"}"},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"hypervisors_servers \u003d {"},{"line_number":120,"context_line":"    \u0027status_code\u0027: [200],"},{"line_number":121,"context_line":"    \u0027response_body\u0027: {"},{"line_number":122,"context_line":"        \u0027type\u0027: \u0027object\u0027,"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAWH%2F%2BiiU%3D","line":119,"updated":"2014-03-26 03:13:47.000000000","message":"I think this is the same as list_hypervisors only with servers added?","commit_id":"14f276f68b069d044b24c871d4fba459490746a7"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"4987a9379170b664a30fe67e411ea5a72786f273","unresolved":false,"context_lines":[{"line_number":116,"context_line":"    }"},{"line_number":117,"context_line":"}"},{"line_number":118,"context_line":""},{"line_number":119,"context_line":"hypervisors_servers \u003d {"},{"line_number":120,"context_line":"    \u0027status_code\u0027: [200],"},{"line_number":121,"context_line":"    \u0027response_body\u0027: {"},{"line_number":122,"context_line":"        \u0027type\u0027: \u0027object\u0027,"}],"source_content_type":"text/x-python","patch_set":2,"id":"AAAAWH%2F%2BaJ0%3D","line":119,"in_reply_to":"AAAAWH%2F%2BiiU%3D","updated":"2014-03-27 00:43:47.000000000","message":"Yes, there is possibility of re-usability. I have placed the common code in base and reused that as much as possible.","commit_id":"14f276f68b069d044b24c871d4fba459490746a7"}],"tempest/api_schema/compute/v3/hypervisors.py":[{"author":{"_account_id":6167,"name":"Ken\u0027ichi Ohmichi","email":"ken1ohmichi@gmail.com","username":"oomichi"},"change_message_id":"97200c1a5e530770486c7266123e6f204df284a6","unresolved":false,"context_lines":[{"line_number":143,"context_line":"                        }"},{"line_number":144,"context_line":"                    }"},{"line_number":145,"context_line":"                },"},{"line_number":146,"context_line":"                \u0027required\u0027: [\u0027id\u0027, \u0027hypervisor_hostname\u0027, \u0027servers\u0027]"},{"line_number":147,"context_line":"            }"},{"line_number":148,"context_line":"        },"},{"line_number":149,"context_line":"        \u0027required\u0027: [\u0027hypervisor\u0027]"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAWH%2F%2B1BU%3D","line":146,"updated":"2014-03-23 23:39:44.000000000","message":"On v2 schema, servers is not required, the fact is different from v3?","commit_id":"430a3a65165f9cc12f8c4d904266b4c50f67216a"},{"author":{"_account_id":6167,"name":"Ken\u0027ichi Ohmichi","email":"ken1ohmichi@gmail.com","username":"oomichi"},"change_message_id":"721d595d1f0973f588286d37b23a708324a9db2d","unresolved":false,"context_lines":[{"line_number":143,"context_line":"                        }"},{"line_number":144,"context_line":"                    }"},{"line_number":145,"context_line":"                },"},{"line_number":146,"context_line":"                \u0027required\u0027: [\u0027id\u0027, \u0027hypervisor_hostname\u0027, \u0027servers\u0027]"},{"line_number":147,"context_line":"            }"},{"line_number":148,"context_line":"        },"},{"line_number":149,"context_line":"        \u0027required\u0027: [\u0027hypervisor\u0027]"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAWH%2F%2B0EA%3D","line":146,"in_reply_to":"AAAAWH%2F%2B0Mc%3D","updated":"2014-03-24 05:03:39.000000000","message":"Interesting, thanks for your explanation. I got it.\nThis patch is already good for me.","commit_id":"430a3a65165f9cc12f8c4d904266b4c50f67216a"},{"author":{"_account_id":8556,"name":"Ghanshyam Maan","display_name":"Ghanshyam Maan","email":"gmaan.os14@gmail.com","username":"ghanshyam"},"change_message_id":"29a4699cf7b048902678759360a884d3b1bd797e","unresolved":false,"context_lines":[{"line_number":143,"context_line":"                        }"},{"line_number":144,"context_line":"                    }"},{"line_number":145,"context_line":"                },"},{"line_number":146,"context_line":"                \u0027required\u0027: [\u0027id\u0027, \u0027hypervisor_hostname\u0027, \u0027servers\u0027]"},{"line_number":147,"context_line":"            }"},{"line_number":148,"context_line":"        },"},{"line_number":149,"context_line":"        \u0027required\u0027: [\u0027hypervisor\u0027]"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAWH%2F%2B0Mc%3D","line":146,"in_reply_to":"AAAAWH%2F%2B1BU%3D","updated":"2014-03-24 04:31:21.000000000","message":"In V3, even there is no VM present on that Hypervisor host, response body contain the empty array of \u0027servers\u0027. But that is not the case with V2. V2 response does not contain the attribute \u0027servers\u0027 if there is no VM.\n\nI have confirmed this behavior by running the API as well as from API sample file-\n\nV2 - https://github.com/openstack/nova/blob/master/nova/tests/integrated/api_samples/os-hypervisors/hypervisors-servers-resp.json.tpl\n\nV3- https://github.com/openstack/nova/blob/master/nova/tests/integrated/v3/api_samples/os-hypervisors/hypervisors-servers-resp.json.tpl#L5","commit_id":"430a3a65165f9cc12f8c4d904266b4c50f67216a"}]}
