)]}'
{"nova_powervm/virt/powervm/vif.py":[{"author":{"_account_id":8190,"name":"Drew Thorstensen (thorst)","email":"thorst@us.ibm.com","username":"thorst"},"change_message_id":"a3bbbdfb9eec012e1f6c8c5e21b42657b957bffe","unresolved":false,"context_lines":[{"line_number":693,"context_line":"        dev_name \u003d self.get_trunk_dev_name(vif)"},{"line_number":694,"context_line":""},{"line_number":695,"context_line":"        # Set MTU as per the network type"},{"line_number":696,"context_line":"        mtu \u003d vif[\u0027network\u0027][\u0027meta\u0027][\u0027mtu\u0027]"},{"line_number":697,"context_line":"        if mtu:"},{"line_number":698,"context_line":"            utils.execute(\u0027ip\u0027, \u0027link\u0027, \u0027set\u0027, dev_name,"},{"line_number":699,"context_line":"                          \u0027mtu\u0027, mtu, run_as_root\u003dTrue)"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a6eadb0_99dccd74","line":696,"range":{"start_line":696,"start_character":8,"end_line":696,"end_character":43},"updated":"2016-12-15 15:20:54.000000000","message":"Do we know if the MTU will sometimes not be returned?  Or will it always be there?\n\nIf there is a chance it won\u0027t be there...then this should be:\nvif[\u0027network\u0027][\u0027meta\u0027].get(\u0027mtu\u0027, None)\n\nIt looks like the libvirt driver just does this:\nmtu \u003d vif[\u0027network\u0027].get_meta(\u0027mtu\u0027)\n\nAnd then the create_ovs_vif_port takes in an option mtu parameter.  We can just pass into that direct rather than calling a utils.execute method instead.\n\n\nSo it could just be...\n    mtu \u003d vif[\u0027network\u0027].get_meta(\u0027mtu\u0027)\n    linux_net.create_ovs_vif_port(vif[\u0027network\u0027][\u0027bridge\u0027], dev_name, self.get_ovs_interfaceid(vif), vif[\u0027address\u0027], self.instance.uuid, mtu\u003dmtu)","commit_id":"9af60e8d667585929d02619f5ddb70e6e2451559"},{"author":{"_account_id":14581,"name":"ymadhavi@in.ibm.com","email":"ymadhavi@in.ibm.com","username":"ymadhavi"},"change_message_id":"daea210b1bfce978d285d40771306eda83dfeae4","unresolved":false,"context_lines":[{"line_number":693,"context_line":"        dev_name \u003d self.get_trunk_dev_name(vif)"},{"line_number":694,"context_line":""},{"line_number":695,"context_line":"        # Set MTU as per the network type"},{"line_number":696,"context_line":"        mtu \u003d vif[\u0027network\u0027][\u0027meta\u0027][\u0027mtu\u0027]"},{"line_number":697,"context_line":"        if mtu:"},{"line_number":698,"context_line":"            utils.execute(\u0027ip\u0027, \u0027link\u0027, \u0027set\u0027, dev_name,"},{"line_number":699,"context_line":"                          \u0027mtu\u0027, mtu, run_as_root\u003dTrue)"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a6eadb0_fbc1fee4","line":696,"range":{"start_line":696,"start_character":8,"end_line":696,"end_character":43},"in_reply_to":"1a6eadb0_99dccd74","updated":"2016-12-16 17:03:14.000000000","message":"Done","commit_id":"9af60e8d667585929d02619f5ddb70e6e2451559"}]}
