)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":25625,"name":"Tetsuro Nakamura","email":"tetsuro.nakamura.bc@hco.ntt.co.jp","username":"tetsuro0907"},"change_message_id":"86567db4e3df7240b51398d2d29e15718cfbbf50","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Pursuant to discussions at [1], this commit adds a pair of gabbi tests"},{"line_number":10,"context_line":"demonstrating that same_subtree\u003dA,B\u0026same_subtree\u003dB,C does not"},{"line_number":11,"context_line":"necessarily act the same as same_subtree\u003dA,B,C."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Foundation of the tests shamelessly purloined from [1]."},{"line_number":14,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"7faddb67_bde1b72d","line":11,"updated":"2019-08-16 07:58:15.000000000","message":"Right, and the latter condition includes the former.\n\nCondition1:\n\n    same_subtree\u003dA,B\u0026same_subtree\u003dB,C\n  \u003d (A is B’s ancestor or B is A’s ancestor) and\n    (B is C’s ancestor or C is B’s ancestor)\n  \u003d (A is B’s ancestor and B is C’s ancestor) or\n    (B is A’s ancestor and B is C’s ancestor) or\n    (A is B’s ancestor and C is B’s ancestor) or\n    (B is A’s ancestor and C is B’s ancestor)\n  \u003d (A,B,C are in the same path in this order) or\n    (B is an ancestor of both A and C) or\n    (B is a descendant of both A and C) or  \u003c- Note that this can be split into 2 cases if multiple parenting is not allowed\n    (C,B,A are in the same path in this order)\n  \u003d (A,B,C are in the same path in this order) or\n    (B is an ancestor of both A and C) or\n    (C,A,B are in the same path in this order) or  \u003c- these two...\n    (A,C,B are in the same path in this order) or  \u003c-     ...are split ones\n    (C,B,A are in the same path in this order)\n  \u003d (A,B,C are in the same path in this order) or  \u003c- these two...\n    (A,C,B are in the same path in this order) or         ...can be combined into one\n    (C,B,A are in the same path in this order) or  \u003c- so do...\n    (C,A,B are in the same path in this order) or         ...these two\n    (B is an ancestor of both A and C)\n  \u003d (A,B,C are in the same path and the top is A) or ... 1-1\n    (A,B,C are in the same path and the top is C) or ... 1-2\n    (B is an ancestor of both A and C)               ... 1-3\n\nCondition2:\n\n    same_subtree\u003dA,B,C\n  \u003d (A is an ancestor of both B and C) or  ... 2-1\n    (B is an ancestor of both C and A) or  ... 2-2\n    (C is an ancestor of both A and B)     ... 2-3\n\nSince (1-1 \u003c 2-1) and (1-2 \u003c 2-3) and (1-3 \u003d 2-2), \"Condition 2\" includes \"Condition 1\".\n\nThe difference is:\n\n    ((2-1) - (1-1)) + ((2-3) - (1-2))\n  \u003d (A is an ancestor of B and C, but B and C are not in the same path) or\n    (C is an ancestor of A and B, but A and B are not in the same path)","commit_id":"a1b2b3c6cedf0cf8f432b4186b22ddcf2d88e21a"}],"placement/tests/functional/gabbits/granular-same-subtree.yaml":[{"author":{"_account_id":25625,"name":"Tetsuro Nakamura","email":"tetsuro.nakamura.bc@hco.ntt.co.jp","username":"tetsuro0907"},"change_message_id":"86567db4e3df7240b51398d2d29e15718cfbbf50","unresolved":false,"context_lines":[{"line_number":483,"context_line":"      required_NIC: CUSTOM_HW_NIC_ROOT"},{"line_number":484,"context_line":"      resources_PORT1: CUSTOM_VF:2"},{"line_number":485,"context_line":"      required_PORT1: CUSTOM_PHYSNET1"},{"line_number":486,"context_line":"      # In this test we a single same_subtree that is the union of the two in"},{"line_number":487,"context_line":"      # the test above. This allows permutations where one NIC satisfies"},{"line_number":488,"context_line":"      # CUSTOM_HW_NIC_ROOT, but a PF under a *different* NIC satisfies the VFs."},{"line_number":489,"context_line":"      # This is because _COMPUTE acts as the common ancestor, since it is part"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"7faddb67_5a83e9cb","line":486,"range":{"start_line":486,"start_character":20,"end_line":486,"end_character":45},"updated":"2019-08-16 07:58:15.000000000","message":"we use a single same_subtree","commit_id":"a1b2b3c6cedf0cf8f432b4186b22ddcf2d88e21a"},{"author":{"_account_id":25625,"name":"Tetsuro Nakamura","email":"tetsuro.nakamura.bc@hco.ntt.co.jp","username":"tetsuro0907"},"change_message_id":"575fa73b86af7908e6d8dd9f3603ba3ce7ff7df9","unresolved":false,"context_lines":[{"line_number":483,"context_line":"      required_NIC: CUSTOM_HW_NIC_ROOT"},{"line_number":484,"context_line":"      resources_PORT1: CUSTOM_VF:2"},{"line_number":485,"context_line":"      required_PORT1: CUSTOM_PHYSNET1"},{"line_number":486,"context_line":"      # In this test we a single same_subtree that is the union of the two in"},{"line_number":487,"context_line":"      # the test above. This allows permutations where one NIC satisfies"},{"line_number":488,"context_line":"      # CUSTOM_HW_NIC_ROOT, but a PF under a *different* NIC satisfies the VFs."},{"line_number":489,"context_line":"      # This is because _COMPUTE acts as the common ancestor, since it is part"}],"source_content_type":"text/x-yaml","patch_set":1,"id":"7faddb67_fdf72fd3","line":486,"range":{"start_line":486,"start_character":20,"end_line":486,"end_character":45},"in_reply_to":"7faddb67_5a83e9cb","updated":"2019-08-16 08:03:57.000000000","message":"Done","commit_id":"a1b2b3c6cedf0cf8f432b4186b22ddcf2d88e21a"}]}
