)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":13717,"name":"Inessa Vasilevskaya","email":"ivasilevskaya@mirantis.com","username":"ivasilevskaya"},"change_message_id":"2d96cce457b95c9e109866c78da294ea9d42891e","unresolved":false,"context_lines":[{"line_number":9,"context_line":"Currently, dns nameservers will be empty when creating subnets"},{"line_number":10,"context_line":"without option named \"dns_nameservers\"."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"But in many situations, users want to get default dns nameservers"},{"line_number":13,"context_line":"and not specify any dns nameservers."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"This patch provides default dns nameservers when creating subnets"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"1aa78d24_6c43a942","line":12,"range":{"start_line":12,"start_character":0,"end_line":12,"end_character":22},"updated":"2016-07-13 13:35:57.000000000","message":"Usually a launchpad bug is filed and referenced here with Closes-Bug directive.","commit_id":"0be48a91556cf3e8988aaf76073400559893be04"}],"neutron/db/db_base_plugin_v2.py":[{"author":{"_account_id":13717,"name":"Inessa Vasilevskaya","email":"ivasilevskaya@mirantis.com","username":"ivasilevskaya"},"change_message_id":"2d96cce457b95c9e109866c78da294ea9d42891e","unresolved":false,"context_lines":[{"line_number":537,"context_line":"            for dns in cfg.CONF.default_dns_nameservers:"},{"line_number":538,"context_line":"                s[\u0027dns_nameservers\u0027] \u003d cfg.CONF.default_dns_nameservers"},{"line_number":539,"context_line":""},{"line_number":540,"context_line":"        if attributes.is_attr_set(s.get(\u0027dns_nameservers\u0027)):"},{"line_number":541,"context_line":"            self._validate_subnet_dns_nameservers(s, ip_ver)"},{"line_number":542,"context_line":""},{"line_number":543,"context_line":"        if validators.is_attr_set(s.get(\u0027host_routes\u0027)):"}],"source_content_type":"text/x-python","patch_set":1,"id":"1aa78d24_6960bb01","line":540,"range":{"start_line":540,"start_character":8,"end_line":540,"end_character":60},"updated":"2016-07-13 13:35:57.000000000","message":"Else, not if here? Now if there are no dns_nameservers and default ones are used, _validate_subnet_dns_nameservers is called twice: first on L536 and then on L540 (when dns_nameservers are already populated).","commit_id":"0be48a91556cf3e8988aaf76073400559893be04"}]}
