)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"5caf14c25309cca92424c0364a30b8308b22f638","unresolved":false,"context_lines":[{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Conflicts:"},{"line_number":16,"context_line":"\tneutron/db/migration/alembic_migrations/versions/HEAD"},{"line_number":17,"context_line":"\tneutron/plugins/openvswitch/common/config.py"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"Change-Id: I2bb7ddecec18ab3b04adca3dbd54038448eb4583"},{"line_number":20,"context_line":"Implements: blueprint vdp-network-overlay"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"baada198_a3890171","line":17,"updated":"2014-07-18 13:41:15.000000000","message":"please remove these conflicts line and duplicated change-id etc.","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"8177fa00220d0212e758187d6cf048eda7095304","unresolved":false,"context_lines":[{"line_number":15,"context_line":"Conflicts:"},{"line_number":16,"context_line":"\tneutron/db/migration/alembic_migrations/versions/HEAD"},{"line_number":17,"context_line":"\tneutron/plugins/openvswitch/common/config.py"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"Change-Id: I2bb7ddecec18ab3b04adca3dbd54038448eb4583"},{"line_number":20,"context_line":"Implements: blueprint vdp-network-overlay"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"baada198_77dfaa66","line":18,"updated":"2014-07-24 16:27:48.000000000","message":"DocImpact flag should be added here.","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"8af3790f2dfeef50a75f48f2f42eb8b4e08f83e7","unresolved":false,"context_lines":[{"line_number":12,"context_line":"Change-Id: I2bb7ddecec18ab3b04adca3dbd54038448eb4583"},{"line_number":13,"context_line":"Implements: blueprint vdp-network-overlay"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Conflicts:"},{"line_number":16,"context_line":"\tneutron/db/migration/alembic_migrations/versions/HEAD"},{"line_number":17,"context_line":"\tneutron/plugins/openvswitch/common/config.py"},{"line_number":18,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":7,"id":"baada198_aea2e53c","line":15,"updated":"2014-07-31 13:22:44.000000000","message":"Remove information about conflicts from commit message.","commit_id":"8cb3470070c6f8e97050536910caa718f92fc43a"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"60a0041942e282331116fb09063289c8192e735c","unresolved":false,"context_lines":[{"line_number":12,"context_line":"Change-Id: I2bb7ddecec18ab3b04adca3dbd54038448eb4583"},{"line_number":13,"context_line":"Implements: blueprint vdp-network-overlay"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Conflicts:"},{"line_number":16,"context_line":"\tneutron/db/migration/alembic_migrations/versions/HEAD"},{"line_number":17,"context_line":"\tneutron/plugins/openvswitch/common/config.py"},{"line_number":18,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":7,"id":"baada198_e4f1dc96","line":15,"in_reply_to":"baada198_aea2e53c","updated":"2014-08-04 23:46:35.000000000","message":"Done","commit_id":"8cb3470070c6f8e97050536910caa718f92fc43a"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"1d8c1f8e7a11c266106f1b46159e9050cf379255","unresolved":false,"context_lines":[{"line_number":27,"context_line":"This patch adds unit test cases and addresses the comments given on patch-set 6."},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"Change-Id: I2bb7ddecec18ab3b04adca3dbd54038448eb4583"},{"line_number":30,"context_line":"Implements: blueprint vdp-network-overlay"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":7,"id":"baada198_1c4b1987","line":30,"updated":"2014-07-31 04:33:55.000000000","message":"can you clean up the commit message?","commit_id":"8cb3470070c6f8e97050536910caa718f92fc43a"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"60a0041942e282331116fb09063289c8192e735c","unresolved":false,"context_lines":[{"line_number":27,"context_line":"This patch adds unit test cases and addresses the comments given on patch-set 6."},{"line_number":28,"context_line":""},{"line_number":29,"context_line":"Change-Id: I2bb7ddecec18ab3b04adca3dbd54038448eb4583"},{"line_number":30,"context_line":"Implements: blueprint vdp-network-overlay"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":7,"id":"baada198_24e834a6","line":30,"in_reply_to":"baada198_1c4b1987","updated":"2014-08-04 23:46:35.000000000","message":"Done","commit_id":"8cb3470070c6f8e97050536910caa718f92fc43a"},{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"fface79218a7d583303dfb6646da0ffacad4b896","unresolved":false,"context_lines":[{"line_number":10,"context_line":"for VDP. Pls refer the spec for more details."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Patch set 7 adds unit test cases and addresses the comments given on patch-set 6."},{"line_number":13,"context_line":"Patch set 8 adds an additional test case on test_ovs_neutron_agent.py and also addresses comments on patch set 7."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Patch set 9 has the following changes."},{"line_number":16,"context_line":"1. Type driver network_overlay is now renamed cisco_dfa (vendor specific)"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":13,"id":"1abeadc6_ce8c7038","line":13,"updated":"2014-08-20 11:21:50.000000000","message":"This line is too long. https://wiki.openstack.org/wiki/GitCommitMessages","commit_id":"a8239706fec0e052cc3d7526cd551bf0028b6139"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"5455e655fb3cbc1a0a3e26dc3f4d41f75e123bf4","unresolved":false,"context_lines":[{"line_number":10,"context_line":"for VDP. Pls refer the spec for more details."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Patch set 7 adds unit test cases and addresses the comments given on patch-set 6."},{"line_number":13,"context_line":"Patch set 8 adds an additional test case on test_ovs_neutron_agent.py and also addresses comments on patch set 7."},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Patch set 9 has the following changes."},{"line_number":16,"context_line":"1. Type driver network_overlay is now renamed cisco_dfa (vendor specific)"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":13,"id":"1abeadc6_88285e9b","line":13,"in_reply_to":"1abeadc6_ce8c7038","updated":"2014-08-22 07:45:27.000000000","message":"Done","commit_id":"a8239706fec0e052cc3d7526cd551bf0028b6139"},{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"fface79218a7d583303dfb6646da0ffacad4b896","unresolved":false,"context_lines":[{"line_number":33,"context_line":"driver related patches and OVS neutron agent patches are removed. This"},{"line_number":34,"context_line":"contains only the Lldpad class and its associated files."},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"Patch 13 has the modified commit message. This sub-patch contains the"},{"line_number":37,"context_line":"Lldpad class and its associated files."},{"line_number":38,"context_line":"Sub-Patch set 2: https://review.openstack.org/#/c/115442/"},{"line_number":39,"context_line":"Sub-Patch set 3: https://review.openstack.org/#/c/115452/"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":13,"id":"1abeadc6_2ecb2454","line":36,"updated":"2014-08-20 11:21:50.000000000","message":"There is no need to add information in commit message about what was done in each patch set. Commit message should contain information about change in common.","commit_id":"a8239706fec0e052cc3d7526cd551bf0028b6139"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"5455e655fb3cbc1a0a3e26dc3f4d41f75e123bf4","unresolved":false,"context_lines":[{"line_number":33,"context_line":"driver related patches and OVS neutron agent patches are removed. This"},{"line_number":34,"context_line":"contains only the Lldpad class and its associated files."},{"line_number":35,"context_line":""},{"line_number":36,"context_line":"Patch 13 has the modified commit message. This sub-patch contains the"},{"line_number":37,"context_line":"Lldpad class and its associated files."},{"line_number":38,"context_line":"Sub-Patch set 2: https://review.openstack.org/#/c/115442/"},{"line_number":39,"context_line":"Sub-Patch set 3: https://review.openstack.org/#/c/115452/"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":13,"id":"1abeadc6_a8235abb","line":36,"in_reply_to":"1abeadc6_2ecb2454","updated":"2014-08-22 07:45:27.000000000","message":"Done","commit_id":"a8239706fec0e052cc3d7526cd551bf0028b6139"},{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"fface79218a7d583303dfb6646da0ffacad4b896","unresolved":false,"context_lines":[{"line_number":36,"context_line":"Patch 13 has the modified commit message. This sub-patch contains the"},{"line_number":37,"context_line":"Lldpad class and its associated files."},{"line_number":38,"context_line":"Sub-Patch set 2: https://review.openstack.org/#/c/115442/"},{"line_number":39,"context_line":"Sub-Patch set 3: https://review.openstack.org/#/c/115452/"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Change-Id: I2bb7ddecec18ab3b04adca3dbd54038448eb4583"},{"line_number":42,"context_line":"Partially Implements: blueprint vdp-network-overlay"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":13,"id":"1abeadc6_aede540f","line":39,"updated":"2014-08-20 11:21:50.000000000","message":"Related change requests could be found in Dependencies, there is no need to mentioned them here.","commit_id":"a8239706fec0e052cc3d7526cd551bf0028b6139"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"5455e655fb3cbc1a0a3e26dc3f4d41f75e123bf4","unresolved":false,"context_lines":[{"line_number":36,"context_line":"Patch 13 has the modified commit message. This sub-patch contains the"},{"line_number":37,"context_line":"Lldpad class and its associated files."},{"line_number":38,"context_line":"Sub-Patch set 2: https://review.openstack.org/#/c/115442/"},{"line_number":39,"context_line":"Sub-Patch set 3: https://review.openstack.org/#/c/115452/"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"Change-Id: I2bb7ddecec18ab3b04adca3dbd54038448eb4583"},{"line_number":42,"context_line":"Partially Implements: blueprint vdp-network-overlay"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":13,"id":"1abeadc6_e829d29b","line":39,"in_reply_to":"1abeadc6_aede540f","updated":"2014-08-22 07:45:27.000000000","message":"Done","commit_id":"a8239706fec0e052cc3d7526cd551bf0028b6139"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"16c8d5d21857114428b61c427689a285da9137fa","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Paddu Krishnan \u003ckprad1@yahoo.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2014-08-26 16:46:20 -0700"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Support for VDP and DFA Overlay Type Driver"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This commits partially implements a new type driver for Cisco\u0027s Dynamic"},{"line_number":10,"context_line":"Fabric Automation (DFA) and support for VDP in OVS Neutron agent. Pls"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":19,"id":"1abeadc6_cb1554e6","line":7,"updated":"2014-08-27 07:53:46.000000000","message":"The summary line should be more specific to describe what is done in this commit. In this case it should mention to add LLDP/VDP library.\n\nAt least *this commit* does not add a new type driver.","commit_id":"bb87336edc202040ae9d2eb2afef4b64ba8f84b3"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"1fb605d7ebca6e92d1fb310af9a724874d1fa07b","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Paddu Krishnan \u003ckprad1@yahoo.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2014-08-26 16:46:20 -0700"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Support for VDP and DFA Overlay Type Driver"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"This commits partially implements a new type driver for Cisco\u0027s Dynamic"},{"line_number":10,"context_line":"Fabric Automation (DFA) and support for VDP in OVS Neutron agent. Pls"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":19,"id":"1abeadc6_e6079a7f","line":7,"in_reply_to":"1abeadc6_cb1554e6","updated":"2014-08-27 13:57:48.000000000","message":"This was the original description when there was a single patch. The patches that depends on this adds a new TD, which is a part of the same BP. I wasn\u0027t sure if modifying this line from original would cause any commit issues, which is why i didn\u0027t modify it. Can do it next.","commit_id":"bb87336edc202040ae9d2eb2afef4b64ba8f84b3"}],"etc/neutron/plugins/ml2/ml2_conf.ini":[{"author":{"_account_id":5892,"name":"pritesh","email":"pritesh@romana.io","username":"pritkoth"},"change_message_id":"6cf4b461f08eb1c14f20fb8618fb35f14312c6db","unresolved":false,"context_lines":[{"line_number":72,"context_line":""},{"line_number":73,"context_line":"[agent]"},{"line_number":74,"context_line":"# Controls if the overlay used is Host or Network based overlay."},{"line_number":75,"context_line":"# Host based overlays are the defaults in Openstack where the tunneling "},{"line_number":76,"context_line":"# starts from the vswitch."},{"line_number":77,"context_line":"# Network based overlays are when tunneling starts from the network of fabric."},{"line_number":78,"context_line":"# host_overlay \u003d True"}],"source_content_type":"text/x-properties","patch_set":1,"id":"baada198_f12415b1","line":75,"updated":"2014-07-08 20:57:39.000000000","message":"extra space at end.","commit_id":"fb6f0b44256e664ee118683556dfb06feb338112"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"a20e3505d4cdc86a530299e1c7e657c8986b8ea1","unresolved":false,"context_lines":[{"line_number":72,"context_line":""},{"line_number":73,"context_line":"[agent]"},{"line_number":74,"context_line":"# Controls if the overlay used is Host or Network based overlay."},{"line_number":75,"context_line":"# Host based overlays are the defaults in Openstack where the tunneling "},{"line_number":76,"context_line":"# starts from the vswitch."},{"line_number":77,"context_line":"# Network based overlays are when tunneling starts from the network of fabric."},{"line_number":78,"context_line":"# host_overlay \u003d True"}],"source_content_type":"text/x-properties","patch_set":1,"id":"baada198_93f09dfe","line":75,"in_reply_to":"baada198_f12415b1","updated":"2014-07-14 05:41:05.000000000","message":"Done","commit_id":"fb6f0b44256e664ee118683556dfb06feb338112"},{"author":{"_account_id":5892,"name":"pritesh","email":"pritesh@romana.io","username":"pritkoth"},"change_message_id":"6cf4b461f08eb1c14f20fb8618fb35f14312c6db","unresolved":false,"context_lines":[{"line_number":89,"context_line":"# mgrid2 \u003d 0"},{"line_number":90,"context_line":"# Identifies a VSI Type"},{"line_number":91,"context_line":"# typeid \u003d 0"},{"line_number":92,"context_line":"# Identifies the version of the VSI Type. Allows the VSI Manager DB "},{"line_number":93,"context_line":"# (Provider DB) to contain multiple versions of a given VSI type."},{"line_number":94,"context_line":"# typeidver \u003d 0"},{"line_number":95,"context_line":"# Defines the format of the VSI ID."}],"source_content_type":"text/x-properties","patch_set":1,"id":"baada198_31368de8","line":92,"updated":"2014-07-08 20:57:39.000000000","message":"extra space at end.","commit_id":"fb6f0b44256e664ee118683556dfb06feb338112"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"a20e3505d4cdc86a530299e1c7e657c8986b8ea1","unresolved":false,"context_lines":[{"line_number":89,"context_line":"# mgrid2 \u003d 0"},{"line_number":90,"context_line":"# Identifies a VSI Type"},{"line_number":91,"context_line":"# typeid \u003d 0"},{"line_number":92,"context_line":"# Identifies the version of the VSI Type. Allows the VSI Manager DB "},{"line_number":93,"context_line":"# (Provider DB) to contain multiple versions of a given VSI type."},{"line_number":94,"context_line":"# typeidver \u003d 0"},{"line_number":95,"context_line":"# Defines the format of the VSI ID."}],"source_content_type":"text/x-properties","patch_set":1,"id":"baada198_b3f5a1ee","line":92,"in_reply_to":"baada198_31368de8","updated":"2014-07-14 05:41:05.000000000","message":"Done","commit_id":"fb6f0b44256e664ee118683556dfb06feb338112"},{"author":{"_account_id":5892,"name":"pritesh","email":"pritesh@romana.io","username":"pritkoth"},"change_message_id":"6cf4b461f08eb1c14f20fb8618fb35f14312c6db","unresolved":false,"context_lines":[{"line_number":111,"context_line":"# Currently only supports GID/MAC/VID."},{"line_number":112,"context_line":"# filter \u003d 4"},{"line_number":113,"context_line":"# Periodic refresh handler timeout in seconds, to keep Openstack, VDP daemon"},{"line_number":114,"context_line":"# and physical network in sync. Needed during error cases like physical "},{"line_number":115,"context_line":"# switch reboot."},{"line_number":116,"context_line":"# vdp_sync_timeout \u003d 30"}],"source_content_type":"text/x-properties","patch_set":1,"id":"baada198_713005e9","line":114,"updated":"2014-07-08 20:57:39.000000000","message":"extra space at end.","commit_id":"fb6f0b44256e664ee118683556dfb06feb338112"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"a20e3505d4cdc86a530299e1c7e657c8986b8ea1","unresolved":false,"context_lines":[{"line_number":111,"context_line":"# Currently only supports GID/MAC/VID."},{"line_number":112,"context_line":"# filter \u003d 4"},{"line_number":113,"context_line":"# Periodic refresh handler timeout in seconds, to keep Openstack, VDP daemon"},{"line_number":114,"context_line":"# and physical network in sync. Needed during error cases like physical "},{"line_number":115,"context_line":"# switch reboot."},{"line_number":116,"context_line":"# vdp_sync_timeout \u003d 30"}],"source_content_type":"text/x-properties","patch_set":1,"id":"baada198_d3ddb571","line":114,"in_reply_to":"baada198_713005e9","updated":"2014-07-14 05:41:05.000000000","message":"Done","commit_id":"fb6f0b44256e664ee118683556dfb06feb338112"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"8177fa00220d0212e758187d6cf048eda7095304","unresolved":false,"context_lines":[{"line_number":70,"context_line":"# It should be false when you use nova security group."},{"line_number":71,"context_line":"# enable_security_group \u003d True"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"[agent]"},{"line_number":74,"context_line":"# Controls if the overlay used is Host or Network based overlay."},{"line_number":75,"context_line":"# Host based overlays are the defaults in Openstack where the tunneling"},{"line_number":76,"context_line":"# starts from the vswitch."}],"source_content_type":"text/x-properties","patch_set":6,"id":"baada198_e2ccda36","line":73,"updated":"2014-07-24 16:27:48.000000000","message":"These config variables are only related to OVS agent. Why not in OVS agent config? I think it is not related to Ml2 plugin directly.","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"73002d2ff411b2f2900f70ccdb09e774e059231d","unresolved":false,"context_lines":[{"line_number":70,"context_line":"# It should be false when you use nova security group."},{"line_number":71,"context_line":"# enable_security_group \u003d True"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"[agent]"},{"line_number":74,"context_line":"# Controls if the overlay used is Host or Network based overlay."},{"line_number":75,"context_line":"# Host based overlays are the defaults in Openstack where the tunneling"},{"line_number":76,"context_line":"# starts from the vswitch."}],"source_content_type":"text/x-properties","patch_set":6,"id":"baada198_efd97e57","line":73,"in_reply_to":"baada198_e2ccda36","updated":"2014-07-30 21:05:42.000000000","message":"Hmm..agree. There were some issues with devstack installation which is why we had to include it here.\nBut, these configs are common for every L2 agent, even though only OVS agent supports it. That\u0027s why we didn\u0027t want to put it in OVS agent ini.\nBut, since i have been asked this multiple times, i have moved it to OVS agent ini to avoid confusion!","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"8177fa00220d0212e758187d6cf048eda7095304","unresolved":false,"context_lines":[{"line_number":75,"context_line":"# Host based overlays are the defaults in Openstack where the tunneling"},{"line_number":76,"context_line":"# starts from the vswitch."},{"line_number":77,"context_line":"# Network based overlays are when tunneling starts from the network of fabric."},{"line_number":78,"context_line":"# host_overlay \u003d True"},{"line_number":79,"context_line":"# Controls if vNIC events need to be reported to VDP protocol, which is a"},{"line_number":80,"context_line":"# part of IEEE 802.1QBG. Currently, it\u0027s applicable for Network based"},{"line_number":81,"context_line":"# overlays."}],"source_content_type":"text/x-properties","patch_set":6,"id":"baada198_82dddedf","line":78,"updated":"2014-07-24 16:27:48.000000000","message":"A blank line is needed here.","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"73002d2ff411b2f2900f70ccdb09e774e059231d","unresolved":false,"context_lines":[{"line_number":75,"context_line":"# Host based overlays are the defaults in Openstack where the tunneling"},{"line_number":76,"context_line":"# starts from the vswitch."},{"line_number":77,"context_line":"# Network based overlays are when tunneling starts from the network of fabric."},{"line_number":78,"context_line":"# host_overlay \u003d True"},{"line_number":79,"context_line":"# Controls if vNIC events need to be reported to VDP protocol, which is a"},{"line_number":80,"context_line":"# part of IEEE 802.1QBG. Currently, it\u0027s applicable for Network based"},{"line_number":81,"context_line":"# overlays."}],"source_content_type":"text/x-properties","patch_set":6,"id":"baada198_0f2232a3","line":78,"in_reply_to":"baada198_82dddedf","updated":"2014-07-30 21:05:42.000000000","message":"Done","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"8177fa00220d0212e758187d6cf048eda7095304","unresolved":false,"context_lines":[{"line_number":81,"context_line":"# overlays."},{"line_number":82,"context_line":"# vdp_802_1_qbg \u003d False"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"[VDP]"},{"line_number":85,"context_line":"# Controls the parameters of the VDP protocol. Please check with the vendor"},{"line_number":86,"context_line":"# supporting the protocol at the network/bridge side. For more information"},{"line_number":87,"context_line":"# on these parameters, visit http://www.ieee802.org/1/pages/802.1bg.html"}],"source_content_type":"text/x-properties","patch_set":6,"id":"baada198_22017239","line":84,"updated":"2014-07-24 16:27:48.000000000","message":"VDP configurations also seem to be related to OVS agent. It is not directly related to ML2 plugin (mech or type driver).","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"73002d2ff411b2f2900f70ccdb09e774e059231d","unresolved":false,"context_lines":[{"line_number":81,"context_line":"# overlays."},{"line_number":82,"context_line":"# vdp_802_1_qbg \u003d False"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"[VDP]"},{"line_number":85,"context_line":"# Controls the parameters of the VDP protocol. Please check with the vendor"},{"line_number":86,"context_line":"# supporting the protocol at the network/bridge side. For more information"},{"line_number":87,"context_line":"# on these parameters, visit http://www.ieee802.org/1/pages/802.1bg.html"}],"source_content_type":"text/x-properties","patch_set":6,"id":"baada198_ef789e80","line":84,"in_reply_to":"baada198_22017239","updated":"2014-07-30 21:05:42.000000000","message":"Done.\n\nwhy it wasn\u0027t done previously:\n----------------------------------------------\nStrictly, i wanted to have a separate config file for this since this is common for every L2 agent even though only OVS supports it. But, i heard about not introducing too many config files, which made sense as well! So, i put it here since the vendor specific MD (e.g DFA) may make use of some VDP parameters tomorrow.","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"fab9891819066ce977489737a6e13aebbfc61d0d","unresolved":false,"context_lines":[{"line_number":63,"context_line":"# physical_network available for allocation as tenant networks."},{"line_number":64,"context_line":"#"},{"line_number":65,"context_line":"# cisco_dfa_segment_ranges \u003d"},{"line_number":66,"context_line":"# Example: cisco_dfa_segment_ranges \u003d physnet1:12000:25000,physnet2"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"[securitygroup]"},{"line_number":69,"context_line":"# Controls if neutron security group is enabled or not."}],"source_content_type":"text/x-properties","patch_set":10,"id":"1abeadc6_217485fc","line":66,"updated":"2014-08-18 07:46:18.000000000","message":"All existing vendor mech drivers have their own sample config and IMO it is reasonable to apply this policy to vendor type drivers. Thought?","commit_id":"d1a9fa867bc0384b85f7460a80f07ad82c9ccac4"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"d2b7d0607c78066ece12e0c39e2a5ec4a50a4bca","unresolved":false,"context_lines":[{"line_number":63,"context_line":"# physical_network available for allocation as tenant networks."},{"line_number":64,"context_line":"#"},{"line_number":65,"context_line":"# cisco_dfa_segment_ranges \u003d"},{"line_number":66,"context_line":"# Example: cisco_dfa_segment_ranges \u003d physnet1:12000:25000,physnet2"},{"line_number":67,"context_line":""},{"line_number":68,"context_line":"[securitygroup]"},{"line_number":69,"context_line":"# Controls if neutron security group is enabled or not."}],"source_content_type":"text/x-properties","patch_set":10,"id":"1abeadc6_89b0ff8c","line":66,"in_reply_to":"1abeadc6_217485fc","updated":"2014-08-19 00:54:28.000000000","message":"Agree. The next patch will have this change.","commit_id":"d1a9fa867bc0384b85f7460a80f07ad82c9ccac4"}],"etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini":[{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"726d8c5b6c8759723504de82ba94725516a74047","unresolved":false,"context_lines":[{"line_number":84,"context_line":"# Example: bridge_mappings \u003d physnet1:br-eth1"},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"# (ListOpt) Comma-separated list of \u003cuplink_port\u003e:\u003cphysical_network\u003e tuples"},{"line_number":87,"context_line":"# mapping physical network names to the agent\u0027s node-specific "},{"line_number":88,"context_line":"# uplink ports to be used for Network Overlay using VDP. The bridge"},{"line_number":89,"context_line":"# mappings should have been configured above. The physical network should"},{"line_number":90,"context_line":"# match with that configured above for bridge_mappings."}],"source_content_type":"text/x-properties","patch_set":4,"id":"baada198_5a520d36","line":87,"updated":"2014-07-17 03:40:19.000000000","message":"trailing whitespace","commit_id":"4cce08134184db81bbc8dddb3496ee175dfa5e8b"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"a94e1b5bbddd8a58ffd7d1e627d94bf4c4475c39","unresolved":false,"context_lines":[{"line_number":84,"context_line":"# Example: bridge_mappings \u003d physnet1:br-eth1"},{"line_number":85,"context_line":""},{"line_number":86,"context_line":"# (ListOpt) Comma-separated list of \u003cuplink_port\u003e:\u003cphysical_network\u003e tuples"},{"line_number":87,"context_line":"# mapping physical network names to the agent\u0027s node-specific "},{"line_number":88,"context_line":"# uplink ports to be used for Network Overlay using VDP. The bridge"},{"line_number":89,"context_line":"# mappings should have been configured above. The physical network should"},{"line_number":90,"context_line":"# match with that configured above for bridge_mappings."}],"source_content_type":"text/x-properties","patch_set":4,"id":"baada198_7976dc40","line":87,"in_reply_to":"baada198_5a520d36","updated":"2014-07-18 00:56:45.000000000","message":"Done","commit_id":"4cce08134184db81bbc8dddb3496ee175dfa5e8b"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"8177fa00220d0212e758187d6cf048eda7095304","unresolved":false,"context_lines":[{"line_number":87,"context_line":"# mapping physical network names to the agent\u0027s node-specific"},{"line_number":88,"context_line":"# uplink ports to be used for Network Overlay using VDP. The bridge"},{"line_number":89,"context_line":"# mappings should have been configured above. The physical network should"},{"line_number":90,"context_line":"# match with that configured above for bridge_mappings."},{"line_number":91,"context_line":"#"},{"line_number":92,"context_line":"# uplink_mappings \u003d"},{"line_number":93,"context_line":"# Example: uplink_mappings \u003d eth3:physnet1"}],"source_content_type":"text/x-properties","patch_set":6,"id":"baada198_5718e675","line":90,"updated":"2014-07-24 16:27:48.000000000","message":"Why does a physical network of uplink_mappings match a physical network of bridge_mappings? Could you elaborate it more?","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"73002d2ff411b2f2900f70ccdb09e774e059231d","unresolved":false,"context_lines":[{"line_number":87,"context_line":"# mapping physical network names to the agent\u0027s node-specific"},{"line_number":88,"context_line":"# uplink ports to be used for Network Overlay using VDP. The bridge"},{"line_number":89,"context_line":"# mappings should have been configured above. The physical network should"},{"line_number":90,"context_line":"# match with that configured above for bridge_mappings."},{"line_number":91,"context_line":"#"},{"line_number":92,"context_line":"# uplink_mappings \u003d"},{"line_number":93,"context_line":"# Example: uplink_mappings \u003d eth3:physnet1"}],"source_content_type":"text/x-properties","patch_set":6,"id":"baada198_b1d1ab58","line":90,"in_reply_to":"baada198_5718e675","updated":"2014-07-30 21:05:42.000000000","message":"Done","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"8177fa00220d0212e758187d6cf048eda7095304","unresolved":false,"context_lines":[{"line_number":90,"context_line":"# match with that configured above for bridge_mappings."},{"line_number":91,"context_line":"#"},{"line_number":92,"context_line":"# uplink_mappings \u003d"},{"line_number":93,"context_line":"# Example: uplink_mappings \u003d eth3:physnet1"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"# (BoolOpt) Use veths instead of patch ports to interconnect the integration"},{"line_number":96,"context_line":"# bridge to physical networks. Support kernel without ovs patch port support"}],"source_content_type":"text/x-properties","patch_set":6,"id":"baada198_5c2acd91","line":93,"updated":"2014-07-24 16:27:48.000000000","message":"Other mapping configurations have a format of \"\u003cphysnet\u003e:\u003cdevice\u003e\". It is better to follow the same format to avoid unnecessary confusion.","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"73002d2ff411b2f2900f70ccdb09e774e059231d","unresolved":false,"context_lines":[{"line_number":90,"context_line":"# match with that configured above for bridge_mappings."},{"line_number":91,"context_line":"#"},{"line_number":92,"context_line":"# uplink_mappings \u003d"},{"line_number":93,"context_line":"# Example: uplink_mappings \u003d eth3:physnet1"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"# (BoolOpt) Use veths instead of patch ports to interconnect the integration"},{"line_number":96,"context_line":"# bridge to physical networks. Support kernel without ovs patch port support"}],"source_content_type":"text/x-properties","patch_set":6,"id":"baada198_d1c61f9c","line":93,"in_reply_to":"baada198_5c2acd91","updated":"2014-07-30 21:05:42.000000000","message":"Done","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"}],"neutron/agent/linux/README.lldpad":[{"author":{"_account_id":8645,"name":"Trinath Somanchi","email":"trinath.somanchi@freescale.com","username":"trinaths"},"change_message_id":"b166e69be02c4627719d402e16fc588fc87a31c8","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright 2014 Cisco Systems."},{"line_number":2,"context_line":"# All Rights Reserved."},{"line_number":3,"context_line":"#"},{"line_number":4,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":5,"context_line":"#    not use this file except in compliance with the License. You may obtain"}],"source_content_type":"application/octet-stream","patch_set":17,"id":"1abeadc6_bd5411cb","line":2,"updated":"2014-08-26 06:11:32.000000000","message":"Move all readme to wiki, and a pointer for the page here. This way the README will be more manageable for the changes.\n\nDid you run tox -epep8 on this, I feel some pep8 errors there.","commit_id":"84fb8f7aa3549ba13dcb6e1871c7b3b540b098bb"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"eb609c78f80b58752132dd83db755ad04fc25676","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright 2014 Cisco Systems."},{"line_number":2,"context_line":"# All Rights Reserved."},{"line_number":3,"context_line":"#"},{"line_number":4,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":5,"context_line":"#    not use this file except in compliance with the License. You may obtain"}],"source_content_type":"application/octet-stream","patch_set":17,"id":"1abeadc6_4335e044","line":2,"in_reply_to":"1abeadc6_bd5411cb","updated":"2014-08-26 07:46:20.000000000","message":"It was suggested by other reviewers to put a README in the code. You can see lot of other README\u0027s in the code as well. But, at the same time, i am also planning to put a reference in the wiki as you suggest. I saw the extra white space after i submitted. tox -e pep8 didn\u0027t catch this, probably because it doesn\u0027t have a .py extension? Anyways, will fix this when i submit my next patch.","commit_id":"84fb8f7aa3549ba13dcb6e1871c7b3b540b098bb"}],"neutron/agent/linux/lldpad.py":[{"author":{"_account_id":5892,"name":"pritesh","email":"pritesh@romana.io","username":"pritkoth"},"change_message_id":"6cf4b461f08eb1c14f20fb8618fb35f14312c6db","unresolved":false,"context_lines":[{"line_number":13,"context_line":"#    License for the specific language governing permissions and limitations"},{"line_number":14,"context_line":"#    under the License."},{"line_number":15,"context_line":"#"},{"line_number":16,"context_line":"# @author: Padmanabhan Krishnan, Cisco Systems Inc."},{"line_number":17,"context_line":"#"},{"line_number":18,"context_line":"\"\"\"This file contains the implementation of Openstack component of VDP."},{"line_number":19,"context_line":"VDP is a part of LLDP Agent Daemon (lldpad). For more information on VDP,"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_b151bd10","line":16,"updated":"2014-07-08 20:57:39.000000000","message":"author not needed, taken care of by git.","commit_id":"fb6f0b44256e664ee118683556dfb06feb338112"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"a20e3505d4cdc86a530299e1c7e657c8986b8ea1","unresolved":false,"context_lines":[{"line_number":13,"context_line":"#    License for the specific language governing permissions and limitations"},{"line_number":14,"context_line":"#    under the License."},{"line_number":15,"context_line":"#"},{"line_number":16,"context_line":"# @author: Padmanabhan Krishnan, Cisco Systems Inc."},{"line_number":17,"context_line":"#"},{"line_number":18,"context_line":"\"\"\"This file contains the implementation of Openstack component of VDP."},{"line_number":19,"context_line":"VDP is a part of LLDP Agent Daemon (lldpad). For more information on VDP,"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_73d6a950","line":16,"in_reply_to":"baada198_b151bd10","updated":"2014-07-14 05:41:05.000000000","message":"Hmmm...I followed some examples of new files. Either way is fine, if this is specified somewhere, i can just remove it.","commit_id":"fb6f0b44256e664ee118683556dfb06feb338112"},{"author":{"_account_id":5892,"name":"pritesh","email":"pritesh@romana.io","username":"pritkoth"},"change_message_id":"6cf4b461f08eb1c14f20fb8618fb35f14312c6db","unresolved":false,"context_lines":[{"line_number":278,"context_line":"        try:"},{"line_number":279,"context_line":"            del self.oui_vif_map[uuid]"},{"line_number":280,"context_line":"        except Exception:"},{"line_number":281,"context_line":"            LOG.debug(_(\"OUI does not exist\"))"},{"line_number":282,"context_line":""},{"line_number":283,"context_line":"    def clear_vdp_vsi(self, uuid):"},{"line_number":284,"context_line":"        \u0027\u0027\u0027Stores the vNIC specific info for VDP Refresh"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_11aee9e7","line":281,"updated":"2014-07-08 20:57:39.000000000","message":"no debug translations, check bug/1317851","commit_id":"fb6f0b44256e664ee118683556dfb06feb338112"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"a20e3505d4cdc86a530299e1c7e657c8986b8ea1","unresolved":false,"context_lines":[{"line_number":278,"context_line":"        try:"},{"line_number":279,"context_line":"            del self.oui_vif_map[uuid]"},{"line_number":280,"context_line":"        except Exception:"},{"line_number":281,"context_line":"            LOG.debug(_(\"OUI does not exist\"))"},{"line_number":282,"context_line":""},{"line_number":283,"context_line":"    def clear_vdp_vsi(self, uuid):"},{"line_number":284,"context_line":"        \u0027\u0027\u0027Stores the vNIC specific info for VDP Refresh"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_93c7bd97","line":281,"in_reply_to":"baada198_11aee9e7","updated":"2014-07-14 05:41:05.000000000","message":"Done","commit_id":"fb6f0b44256e664ee118683556dfb06feb338112"},{"author":{"_account_id":5892,"name":"pritesh","email":"pritesh@romana.io","username":"pritkoth"},"change_message_id":"6cf4b461f08eb1c14f20fb8618fb35f14312c6db","unresolved":false,"context_lines":[{"line_number":288,"context_line":"        try:"},{"line_number":289,"context_line":"            del self.vdp_vif_map[uuid]"},{"line_number":290,"context_line":"        except Exception:"},{"line_number":291,"context_line":"            LOG.debug(_(\"VSI does not exist\"))"},{"line_number":292,"context_line":"        self.clear_oui(uuid)"},{"line_number":293,"context_line":""},{"line_number":294,"context_line":"    def send_vdp_msg(self, mode, mgrid, typeid, typeid_ver, vsiid_frmt,"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_31abedd7","line":291,"updated":"2014-07-08 20:57:39.000000000","message":"same and else where in file","commit_id":"fb6f0b44256e664ee118683556dfb06feb338112"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"a20e3505d4cdc86a530299e1c7e657c8986b8ea1","unresolved":false,"context_lines":[{"line_number":288,"context_line":"        try:"},{"line_number":289,"context_line":"            del self.vdp_vif_map[uuid]"},{"line_number":290,"context_line":"        except Exception:"},{"line_number":291,"context_line":"            LOG.debug(_(\"VSI does not exist\"))"},{"line_number":292,"context_line":"        self.clear_oui(uuid)"},{"line_number":293,"context_line":""},{"line_number":294,"context_line":"    def send_vdp_msg(self, mode, mgrid, typeid, typeid_ver, vsiid_frmt,"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_b3ccc1bc","line":291,"in_reply_to":"baada198_31abedd7","updated":"2014-07-14 05:41:05.000000000","message":"Done","commit_id":"fb6f0b44256e664ee118683556dfb06feb338112"},{"author":{"_account_id":5892,"name":"pritesh","email":"pritesh@romana.io","username":"pritkoth"},"change_message_id":"6cf4b461f08eb1c14f20fb8618fb35f14312c6db","unresolved":false,"context_lines":[{"line_number":351,"context_line":"            mode_str \u003d \"mode\u003d\" + mode"},{"line_number":352,"context_line":"            if sw_resp:"},{"line_number":353,"context_line":"                #if vlan \u003d\u003d 0 and int(filter_frmt) !\u003d vdp_const.VDP_FILTER_VID:"},{"line_number":354,"context_line":"                    #Query for the TLV, if found VDP will return the VLAN"},{"line_number":355,"context_line":"                    #TODO(padkrish)"},{"line_number":356,"context_line":"                    #reply \u003d self.run_vdptool([\"-t\", \"-i\", self.port_name,"},{"line_number":357,"context_line":"                    #                          \"-W\", \"-V\", mode, \"-c\","}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_913679b3","line":354,"updated":"2014-07-08 20:57:39.000000000","message":"will fail pep, check E265 in openstack hacking rules","commit_id":"fb6f0b44256e664ee118683556dfb06feb338112"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"a20e3505d4cdc86a530299e1c7e657c8986b8ea1","unresolved":false,"context_lines":[{"line_number":351,"context_line":"            mode_str \u003d \"mode\u003d\" + mode"},{"line_number":352,"context_line":"            if sw_resp:"},{"line_number":353,"context_line":"                #if vlan \u003d\u003d 0 and int(filter_frmt) !\u003d vdp_const.VDP_FILTER_VID:"},{"line_number":354,"context_line":"                    #Query for the TLV, if found VDP will return the VLAN"},{"line_number":355,"context_line":"                    #TODO(padkrish)"},{"line_number":356,"context_line":"                    #reply \u003d self.run_vdptool([\"-t\", \"-i\", self.port_name,"},{"line_number":357,"context_line":"                    #                          \"-W\", \"-V\", mode, \"-c\","}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_13bbad0f","line":354,"in_reply_to":"baada198_913679b3","updated":"2014-07-14 05:41:05.000000000","message":"Done","commit_id":"fb6f0b44256e664ee118683556dfb06feb338112"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"b53ef34d2e2abbeab378fea42f656395c24f23c3","unresolved":false,"context_lines":[{"line_number":26,"context_line":""},{"line_number":27,"context_line":"from neutron.agent.linux import lldpad_constants as vdp_const"},{"line_number":28,"context_line":"from neutron.agent.linux import utils"},{"line_number":29,"context_line":"from neutron.common import utils as q_utils"},{"line_number":30,"context_line":"from neutron.openstack.common import log as logging"},{"line_number":31,"context_line":"from neutron.openstack.common import loopingcall"},{"line_number":32,"context_line":"import re"}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_c296bd93","line":29,"range":{"start_line":29,"start_character":36,"end_line":29,"end_character":43},"updated":"2014-07-14 09:37:16.000000000","message":"n_utils is better for new code like this.","commit_id":"94a969996e4b0a8812652df42f793e6eec49c1dd"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"923bff01b60c54634f229f683427a8aa1238dc2c","unresolved":false,"context_lines":[{"line_number":26,"context_line":""},{"line_number":27,"context_line":"from neutron.agent.linux import lldpad_constants as vdp_const"},{"line_number":28,"context_line":"from neutron.agent.linux import utils"},{"line_number":29,"context_line":"from neutron.common import utils as q_utils"},{"line_number":30,"context_line":"from neutron.openstack.common import log as logging"},{"line_number":31,"context_line":"from neutron.openstack.common import loopingcall"},{"line_number":32,"context_line":"import re"}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_c214e1a1","line":29,"in_reply_to":"baada198_c296bd93","updated":"2014-07-15 19:17:18.000000000","message":"Took care of it in the latest patch","commit_id":"94a969996e4b0a8812652df42f793e6eec49c1dd"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"b53ef34d2e2abbeab378fea42f656395c24f23c3","unresolved":false,"context_lines":[{"line_number":34,"context_line":"OPTS \u003d ["},{"line_number":35,"context_line":"    cfg.IntOpt(\u0027lldptool\u0027,"},{"line_number":36,"context_line":"               default\u003d\u00270\u0027,"},{"line_number":37,"context_line":"               help\u003d_(\u0027Timeout in seconds for lldptool commands\u0027)),"},{"line_number":38,"context_line":"]"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"LOG \u003d logging.getLogger(__name__)"}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_429c6dc0","line":37,"updated":"2014-07-14 09:37:16.000000000","message":"where this option is used?\nthe combination of the name and help seem awkward to me.","commit_id":"94a969996e4b0a8812652df42f793e6eec49c1dd"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"923bff01b60c54634f229f683427a8aa1238dc2c","unresolved":false,"context_lines":[{"line_number":34,"context_line":"OPTS \u003d ["},{"line_number":35,"context_line":"    cfg.IntOpt(\u0027lldptool\u0027,"},{"line_number":36,"context_line":"               default\u003d\u00270\u0027,"},{"line_number":37,"context_line":"               help\u003d_(\u0027Timeout in seconds for lldptool commands\u0027)),"},{"line_number":38,"context_line":"]"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"LOG \u003d logging.getLogger(__name__)"}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_821e69b9","line":37,"in_reply_to":"baada198_429c6dc0","updated":"2014-07-15 19:17:18.000000000","message":"Good catch. It\u0027s currently not used, it\u0027s a timeout for VDP commands. Modified this and added a comment for the same.","commit_id":"94a969996e4b0a8812652df42f793e6eec49c1dd"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"b53ef34d2e2abbeab378fea42f656395c24f23c3","unresolved":false,"context_lines":[{"line_number":116,"context_line":"            msg \u003d (_(\u0027unable to determined version for VDP2.2. To use VDP\u0027"},{"line_number":117,"context_line":"                     \u0027ensure atleast %s version is installed\u0027) %"},{"line_number":118,"context_line":"                   self.min_req_version)"},{"line_number":119,"context_line":"            raise SystemError(msg)"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"    def enable_lldp(self):"},{"line_number":122,"context_line":"        \u0027\u0027\u0027Function to enable LLDP on the interface."}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_6205f10f","line":119,"updated":"2014-07-14 09:37:16.000000000","message":"neutron-sanity-check is a better place for this kind of checks these days","commit_id":"94a969996e4b0a8812652df42f793e6eec49c1dd"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"923bff01b60c54634f229f683427a8aa1238dc2c","unresolved":false,"context_lines":[{"line_number":116,"context_line":"            msg \u003d (_(\u0027unable to determined version for VDP2.2. To use VDP\u0027"},{"line_number":117,"context_line":"                     \u0027ensure atleast %s version is installed\u0027) %"},{"line_number":118,"context_line":"                   self.min_req_version)"},{"line_number":119,"context_line":"            raise SystemError(msg)"},{"line_number":120,"context_line":""},{"line_number":121,"context_line":"    def enable_lldp(self):"},{"line_number":122,"context_line":"        \u0027\u0027\u0027Function to enable LLDP on the interface."}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_1f728411","line":119,"in_reply_to":"baada198_6205f10f","updated":"2014-07-15 19:17:18.000000000","message":"Makes sense. Did the change in latest.","commit_id":"94a969996e4b0a8812652df42f793e6eec49c1dd"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"726d8c5b6c8759723504de82ba94725516a74047","unresolved":false,"context_lines":[{"line_number":31,"context_line":"import re"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"# When timeout support becomes available in lldpad, this config will be"},{"line_number":34,"context_line":"# enabled TODO(padkrish)"},{"line_number":35,"context_line":"OPTS \u003d ["},{"line_number":36,"context_line":"    cfg.IntOpt(\u0027lldp_timeout\u0027,"},{"line_number":37,"context_line":"               default\u003d\u00270\u0027,"}],"source_content_type":"text/x-python","patch_set":4,"id":"baada198_75fe0207","line":34,"updated":"2014-07-17 03:40:19.000000000","message":"providing unsupported options is confusing.  can you note it in help at least?","commit_id":"4cce08134184db81bbc8dddb3496ee175dfa5e8b"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"a94e1b5bbddd8a58ffd7d1e627d94bf4c4475c39","unresolved":false,"context_lines":[{"line_number":31,"context_line":"import re"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"# When timeout support becomes available in lldpad, this config will be"},{"line_number":34,"context_line":"# enabled TODO(padkrish)"},{"line_number":35,"context_line":"OPTS \u003d ["},{"line_number":36,"context_line":"    cfg.IntOpt(\u0027lldp_timeout\u0027,"},{"line_number":37,"context_line":"               default\u003d\u00270\u0027,"}],"source_content_type":"text/x-python","patch_set":4,"id":"baada198_99a9f026","line":34,"in_reply_to":"baada198_75fe0207","updated":"2014-07-18 00:56:45.000000000","message":"I am tracking this in lldpad and this will become available soon which is why i was hesitant to remove it all-together. Now, i have commented this OPTS as well as the register with a TODO.","commit_id":"4cce08134184db81bbc8dddb3496ee175dfa5e8b"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"726d8c5b6c8759723504de82ba94725516a74047","unresolved":false,"context_lines":[{"line_number":41,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"vdp_opts \u003d ["},{"line_number":44,"context_line":"    cfg.StrOpt(\u0027mgrid2\u0027, default\u003dvdp_const.VDP_MGRID, help\u003d_(\u0027Manager ID\u0027)),"},{"line_number":45,"context_line":"    cfg.StrOpt(\u0027typeid\u0027, default\u003dvdp_const.VDP_TYPEID, help\u003d_(\u0027Resoure ID\u0027)),"},{"line_number":46,"context_line":"    cfg.StrOpt(\u0027typeidver\u0027, default\u003dvdp_const.VDP_TYPEID_VER,"},{"line_number":47,"context_line":"               help\u003d_(\u0027Type ID version\u0027)),"}],"source_content_type":"text/x-python","patch_set":4,"id":"baada198_757362b4","line":44,"range":{"start_line":44,"start_character":16,"end_line":44,"end_character":22},"updated":"2014-07-17 03:40:19.000000000","message":"why 2?","commit_id":"4cce08134184db81bbc8dddb3496ee175dfa5e8b"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"a94e1b5bbddd8a58ffd7d1e627d94bf4c4475c39","unresolved":false,"context_lines":[{"line_number":41,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"vdp_opts \u003d ["},{"line_number":44,"context_line":"    cfg.StrOpt(\u0027mgrid2\u0027, default\u003dvdp_const.VDP_MGRID, help\u003d_(\u0027Manager ID\u0027)),"},{"line_number":45,"context_line":"    cfg.StrOpt(\u0027typeid\u0027, default\u003dvdp_const.VDP_TYPEID, help\u003d_(\u0027Resoure ID\u0027)),"},{"line_number":46,"context_line":"    cfg.StrOpt(\u0027typeidver\u0027, default\u003dvdp_const.VDP_TYPEID_VER,"},{"line_number":47,"context_line":"               help\u003d_(\u0027Type ID version\u0027)),"}],"source_content_type":"text/x-python","patch_set":4,"id":"baada198_d930c809","line":44,"in_reply_to":"baada198_757362b4","updated":"2014-07-18 00:56:45.000000000","message":"That\u0027s the option keyword supported by lldpad. They use it to differentiate it from lldpad version 0.2. This probably signifies VDP2.2.","commit_id":"4cce08134184db81bbc8dddb3496ee175dfa5e8b"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"726d8c5b6c8759723504de82ba94725516a74047","unresolved":false,"context_lines":[{"line_number":47,"context_line":"               help\u003d_(\u0027Type ID version\u0027)),"},{"line_number":48,"context_line":"    cfg.StrOpt(\u0027vsiidfrmt\u0027, default\u003dvdp_const.VDP_VSIFRMT_UUID,"},{"line_number":49,"context_line":"               help\u003d_(\u0027VSI ID format\u0027)),"},{"line_number":50,"context_line":"    cfg.StrOpt(\u0027hints\u0027, default\u003d\u0027none\u0027, help\u003d_(\u0027VM is migrating.\u0027)),"},{"line_number":51,"context_line":"    cfg.StrOpt(\u0027filter\u0027, default\u003dvdp_const.VDP_FILTER_GIDMACVID,"},{"line_number":52,"context_line":"               help\u003d_(\u0027Filter\u0027)),"},{"line_number":53,"context_line":"    cfg.StrOpt(\u0027vdp_sync_timeout\u0027, default\u003dvdp_const.VDP_SYNC_TIMEOUT,"}],"source_content_type":"text/x-python","patch_set":4,"id":"baada198_d5dfce38","line":50,"updated":"2014-07-17 03:40:19.000000000","message":"is this used?","commit_id":"4cce08134184db81bbc8dddb3496ee175dfa5e8b"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"fc70047dd5f22ba152ff574bf6aa6fa6962b7bde","unresolved":false,"context_lines":[{"line_number":47,"context_line":"               help\u003d_(\u0027Type ID version\u0027)),"},{"line_number":48,"context_line":"    cfg.StrOpt(\u0027vsiidfrmt\u0027, default\u003dvdp_const.VDP_VSIFRMT_UUID,"},{"line_number":49,"context_line":"               help\u003d_(\u0027VSI ID format\u0027)),"},{"line_number":50,"context_line":"    cfg.StrOpt(\u0027hints\u0027, default\u003d\u0027none\u0027, help\u003d_(\u0027VM is migrating.\u0027)),"},{"line_number":51,"context_line":"    cfg.StrOpt(\u0027filter\u0027, default\u003dvdp_const.VDP_FILTER_GIDMACVID,"},{"line_number":52,"context_line":"               help\u003d_(\u0027Filter\u0027)),"},{"line_number":53,"context_line":"    cfg.StrOpt(\u0027vdp_sync_timeout\u0027, default\u003dvdp_const.VDP_SYNC_TIMEOUT,"}],"source_content_type":"text/x-python","patch_set":4,"id":"baada198_de632aaf","line":50,"in_reply_to":"baada198_99057016","updated":"2014-07-18 13:43:31.000000000","message":"i couldn\u0027t find where it\u0027s used.\nsend_vdp_msg() is hardcoded to use hints\u003dnone.\nthe help message (\u0027VM is migrating.\u0027) is mysterious.","commit_id":"4cce08134184db81bbc8dddb3496ee175dfa5e8b"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"a94e1b5bbddd8a58ffd7d1e627d94bf4c4475c39","unresolved":false,"context_lines":[{"line_number":47,"context_line":"               help\u003d_(\u0027Type ID version\u0027)),"},{"line_number":48,"context_line":"    cfg.StrOpt(\u0027vsiidfrmt\u0027, default\u003dvdp_const.VDP_VSIFRMT_UUID,"},{"line_number":49,"context_line":"               help\u003d_(\u0027VSI ID format\u0027)),"},{"line_number":50,"context_line":"    cfg.StrOpt(\u0027hints\u0027, default\u003d\u0027none\u0027, help\u003d_(\u0027VM is migrating.\u0027)),"},{"line_number":51,"context_line":"    cfg.StrOpt(\u0027filter\u0027, default\u003dvdp_const.VDP_FILTER_GIDMACVID,"},{"line_number":52,"context_line":"               help\u003d_(\u0027Filter\u0027)),"},{"line_number":53,"context_line":"    cfg.StrOpt(\u0027vdp_sync_timeout\u0027, default\u003dvdp_const.VDP_SYNC_TIMEOUT,"}],"source_content_type":"text/x-python","patch_set":4,"id":"baada198_99057016","line":50,"in_reply_to":"baada198_d5dfce38","updated":"2014-07-18 00:56:45.000000000","message":"Yes, lldpad supports this option.","commit_id":"4cce08134184db81bbc8dddb3496ee175dfa5e8b"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"8177fa00220d0212e758187d6cf048eda7095304","unresolved":false,"context_lines":[{"line_number":92,"context_line":"    def get_installed_vdp22_version(self):"},{"line_number":93,"context_line":"        \u0027\u0027\u0027Function to get the version of VDP"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"        \u0027\u0027\u0027"},{"line_number":96,"context_line":"        try:"},{"line_number":97,"context_line":"            reply \u003d self.run_vdptool([\"-v\"])"},{"line_number":98,"context_line":"            ver \u003d re.findall(\"\\d+\\.\\d+.\\d+\", reply)[0]"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_f7b01ade","line":95,"updated":"2014-07-24 16:27:48.000000000","message":"One docstring should be one-line. See PEP257(?) docstring convention for more detail. This comment applies to all docstring in this module.","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"73002d2ff411b2f2900f70ccdb09e774e059231d","unresolved":false,"context_lines":[{"line_number":92,"context_line":"    def get_installed_vdp22_version(self):"},{"line_number":93,"context_line":"        \u0027\u0027\u0027Function to get the version of VDP"},{"line_number":94,"context_line":""},{"line_number":95,"context_line":"        \u0027\u0027\u0027"},{"line_number":96,"context_line":"        try:"},{"line_number":97,"context_line":"            reply \u003d self.run_vdptool([\"-v\"])"},{"line_number":98,"context_line":"            ver \u003d re.findall(\"\\d+\\.\\d+.\\d+\", reply)[0]"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_a8894771","line":95,"in_reply_to":"baada198_f7b01ade","updated":"2014-07-30 21:05:42.000000000","message":"Done","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"8177fa00220d0212e758187d6cf048eda7095304","unresolved":false,"context_lines":[{"line_number":96,"context_line":"        try:"},{"line_number":97,"context_line":"            reply \u003d self.run_vdptool([\"-v\"])"},{"line_number":98,"context_line":"            ver \u003d re.findall(\"\\d+\\.\\d+.\\d+\", reply)[0]"},{"line_number":99,"context_line":"            return ver"},{"line_number":100,"context_line":"        except Exception:"},{"line_number":101,"context_line":"            LOG.error(_(\"Unable to retrieve version\"))"},{"line_number":102,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_77d32a01","line":99,"updated":"2014-07-24 16:27:48.000000000","message":"return re.finall(...)","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"73002d2ff411b2f2900f70ccdb09e774e059231d","unresolved":false,"context_lines":[{"line_number":96,"context_line":"        try:"},{"line_number":97,"context_line":"            reply \u003d self.run_vdptool([\"-v\"])"},{"line_number":98,"context_line":"            ver \u003d re.findall(\"\\d+\\.\\d+.\\d+\", reply)[0]"},{"line_number":99,"context_line":"            return ver"},{"line_number":100,"context_line":"        except Exception:"},{"line_number":101,"context_line":"            LOG.error(_(\"Unable to retrieve version\"))"},{"line_number":102,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_07b7a022","line":99,"in_reply_to":"baada198_77d32a01","updated":"2014-07-30 21:05:42.000000000","message":"Done","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"8177fa00220d0212e758187d6cf048eda7095304","unresolved":false,"context_lines":[{"line_number":225,"context_line":"        :param gid: Group ID the vNIC belongs to"},{"line_number":226,"context_line":"        :param mac: MAC Address of the vNIC"},{"line_number":227,"context_line":"        :param vlan: VLAN of the vNIC"},{"line_number":228,"context_line":"        :param new_nwk: Is this the first vNIC of this network"},{"line_number":229,"context_line":"        :param reply: Response from the switch"},{"line_number":230,"context_line":"        :param oui_id: OUI Type"},{"line_number":231,"context_line":"        :param oui_data: OUI Data"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_423666e8","line":228,"updated":"2014-07-24 16:27:48.000000000","message":"\"nwk\" should be \"network\". \"nwk\" is not used in other places in neutron code base.","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"73002d2ff411b2f2900f70ccdb09e774e059231d","unresolved":false,"context_lines":[{"line_number":225,"context_line":"        :param gid: Group ID the vNIC belongs to"},{"line_number":226,"context_line":"        :param mac: MAC Address of the vNIC"},{"line_number":227,"context_line":"        :param vlan: VLAN of the vNIC"},{"line_number":228,"context_line":"        :param new_nwk: Is this the first vNIC of this network"},{"line_number":229,"context_line":"        :param reply: Response from the switch"},{"line_number":230,"context_line":"        :param oui_id: OUI Type"},{"line_number":231,"context_line":"        :param oui_data: OUI Data"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_2733c4c5","line":228,"in_reply_to":"baada198_423666e8","updated":"2014-07-30 21:05:42.000000000","message":"Done","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"8177fa00220d0212e758187d6cf048eda7095304","unresolved":false,"context_lines":[{"line_number":261,"context_line":"        try:"},{"line_number":262,"context_line":"            del self.oui_vif_map[uuid]"},{"line_number":263,"context_line":"        except Exception:"},{"line_number":264,"context_line":"            LOG.debug(\"OUI does not exist\")"},{"line_number":265,"context_line":""},{"line_number":266,"context_line":"    def clear_vdp_vsi(self, uuid):"},{"line_number":267,"context_line":"        \u0027\u0027\u0027Stores the vNIC specific info for VDP Refresh"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_17882ec5","line":264,"updated":"2014-07-24 16:27:48.000000000","message":"Is it \"debug\" message? warning or error?","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"73002d2ff411b2f2900f70ccdb09e774e059231d","unresolved":false,"context_lines":[{"line_number":261,"context_line":"        try:"},{"line_number":262,"context_line":"            del self.oui_vif_map[uuid]"},{"line_number":263,"context_line":"        except Exception:"},{"line_number":264,"context_line":"            LOG.debug(\"OUI does not exist\")"},{"line_number":265,"context_line":""},{"line_number":266,"context_line":"    def clear_vdp_vsi(self, uuid):"},{"line_number":267,"context_line":"        \u0027\u0027\u0027Stores the vNIC specific info for VDP Refresh"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_673dbc8e","line":264,"in_reply_to":"baada198_17882ec5","updated":"2014-07-30 21:05:42.000000000","message":"Debug/","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"8177fa00220d0212e758187d6cf048eda7095304","unresolved":false,"context_lines":[{"line_number":271,"context_line":"        try:"},{"line_number":272,"context_line":"            del self.vdp_vif_map[uuid]"},{"line_number":273,"context_line":"        except Exception:"},{"line_number":274,"context_line":"            LOG.debug(\"VSI does not exist\")"},{"line_number":275,"context_line":"        self.clear_oui(uuid)"},{"line_number":276,"context_line":""},{"line_number":277,"context_line":"    def send_vdp_msg(self, mode, mgrid, typeid, typeid_ver, vsiid_frmt,"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_97943ee9","line":274,"updated":"2014-07-24 16:27:48.000000000","message":"Is it \"debug\"?","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"73002d2ff411b2f2900f70ccdb09e774e059231d","unresolved":false,"context_lines":[{"line_number":271,"context_line":"        try:"},{"line_number":272,"context_line":"            del self.vdp_vif_map[uuid]"},{"line_number":273,"context_line":"        except Exception:"},{"line_number":274,"context_line":"            LOG.debug(\"VSI does not exist\")"},{"line_number":275,"context_line":"        self.clear_oui(uuid)"},{"line_number":276,"context_line":""},{"line_number":277,"context_line":"    def send_vdp_msg(self, mode, mgrid, typeid, typeid_ver, vsiid_frmt,"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_c743e80f","line":274,"in_reply_to":"baada198_97943ee9","updated":"2014-07-30 21:05:42.000000000","message":"Error. Made the change.","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"8177fa00220d0212e758187d6cf048eda7095304","unresolved":false,"context_lines":[{"line_number":295,"context_line":"        :param oui_data: OUI Data"},{"line_number":296,"context_line":"        :param sw_resp: Flag indicating if response is required from the daemon"},{"line_number":297,"context_line":"        \u0027\u0027\u0027"},{"line_number":298,"context_line":"        if self.is_ncb:"},{"line_number":299,"context_line":"            if mgrid is None:"},{"line_number":300,"context_line":"                mgrid \u003d cfg.CONF.VDP.mgrid2"},{"line_number":301,"context_line":"            mgrid_str \u003d \"mgrid2\u003d%s\" % mgrid"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_37d7f2c0","line":298,"updated":"2014-07-24 16:27:48.000000000","message":"if-clause is very long and else-clause is only one-line.\nI prefer to:\n\n  if not self.is_ncb:\n      LOG.error(...)\n      return\n  \u003cremaining if-clause logic\u003e","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"73002d2ff411b2f2900f70ccdb09e774e059231d","unresolved":false,"context_lines":[{"line_number":295,"context_line":"        :param oui_data: OUI Data"},{"line_number":296,"context_line":"        :param sw_resp: Flag indicating if response is required from the daemon"},{"line_number":297,"context_line":"        \u0027\u0027\u0027"},{"line_number":298,"context_line":"        if self.is_ncb:"},{"line_number":299,"context_line":"            if mgrid is None:"},{"line_number":300,"context_line":"                mgrid \u003d cfg.CONF.VDP.mgrid2"},{"line_number":301,"context_line":"            mgrid_str \u003d \"mgrid2\u003d%s\" % mgrid"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_c76a0882","line":298,"in_reply_to":"baada198_37d7f2c0","updated":"2014-07-30 21:05:42.000000000","message":"Done","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"8177fa00220d0212e758187d6cf048eda7095304","unresolved":false,"context_lines":[{"line_number":304,"context_line":"            typeid_str \u003d \"typeid\u003d%s\" % typeid"},{"line_number":305,"context_line":"            if typeid_ver is None:"},{"line_number":306,"context_line":"                typeid_ver \u003d cfg.CONF.VDP.typeidver"},{"line_number":307,"context_line":"            typeid_ver_str \u003d \"typeidver\u003d%s\" % typeid_ver"},{"line_number":308,"context_line":"            if str(vsiid_frmt) \u003d\u003d cfg.CONF.VDP.vsiidfrmt:"},{"line_number":309,"context_line":"                vsiid_str \u003d \"uuid\u003d%s\" % vsiid"},{"line_number":310,"context_line":"            else:"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_1724aec4","line":307,"updated":"2014-07-24 16:27:48.000000000","message":"This method is long. It is better to split the logic into sub methods, e.g., L.308-333 and L.334-364 should be separate methods respectively.","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"73002d2ff411b2f2900f70ccdb09e774e059231d","unresolved":false,"context_lines":[{"line_number":304,"context_line":"            typeid_str \u003d \"typeid\u003d%s\" % typeid"},{"line_number":305,"context_line":"            if typeid_ver is None:"},{"line_number":306,"context_line":"                typeid_ver \u003d cfg.CONF.VDP.typeidver"},{"line_number":307,"context_line":"            typeid_ver_str \u003d \"typeidver\u003d%s\" % typeid_ver"},{"line_number":308,"context_line":"            if str(vsiid_frmt) \u003d\u003d cfg.CONF.VDP.vsiidfrmt:"},{"line_number":309,"context_line":"                vsiid_str \u003d \"uuid\u003d%s\" % vsiid"},{"line_number":310,"context_line":"            else:"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_670bfcd5","line":307,"in_reply_to":"baada198_1724aec4","updated":"2014-07-30 21:05:42.000000000","message":"Done","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"8177fa00220d0212e758187d6cf048eda7095304","unresolved":false,"context_lines":[{"line_number":395,"context_line":"        :param vlan: VLAN of the vNIC"},{"line_number":396,"context_line":"        :param oui_id: OUI Type"},{"line_number":397,"context_line":"        :param oui_data: OUI Data"},{"line_number":398,"context_line":"        :param sw_resp: Flag indicating if response is required from the daemon"},{"line_number":399,"context_line":"        \u0027\u0027\u0027"},{"line_number":400,"context_line":"        reply \u003d self.send_vdp_msg(\"assoc\", mgrid, typeid,"},{"line_number":401,"context_line":"                                  typeid_ver, vsiid_frmt, vsiid, filter_frmt,"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_9717de53","line":398,"updated":"2014-07-24 16:27:48.000000000","message":"It is better to explain the return value too.","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"73002d2ff411b2f2900f70ccdb09e774e059231d","unresolved":false,"context_lines":[{"line_number":395,"context_line":"        :param vlan: VLAN of the vNIC"},{"line_number":396,"context_line":"        :param oui_id: OUI Type"},{"line_number":397,"context_line":"        :param oui_data: OUI Data"},{"line_number":398,"context_line":"        :param sw_resp: Flag indicating if response is required from the daemon"},{"line_number":399,"context_line":"        \u0027\u0027\u0027"},{"line_number":400,"context_line":"        reply \u003d self.send_vdp_msg(\"assoc\", mgrid, typeid,"},{"line_number":401,"context_line":"                                  typeid_ver, vsiid_frmt, vsiid, filter_frmt,"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_087f9318","line":398,"in_reply_to":"baada198_9717de53","updated":"2014-07-30 21:05:42.000000000","message":"Done","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"8177fa00220d0212e758187d6cf048eda7095304","unresolved":false,"context_lines":[{"line_number":437,"context_line":"                         vsiid_frmt\u003dvdp_const.VDP_VSIFRMT_UUID,"},{"line_number":438,"context_line":"                         filter_frmt\u003dvdp_const.VDP_FILTER_GIDMACVID,"},{"line_number":439,"context_line":"                         gid\u003d0, mac\u003d\"\", vlan\u003d0, oui_id\u003d\"\", oui_data\u003d\"\","},{"line_number":440,"context_line":"                         new_nwk\u003dFalse, vsw_cb_fn\u003dNone, vsw_cb_data\u003dNone):"},{"line_number":441,"context_line":"        \u0027\u0027\u0027Interface function to apps, called for a vNIC UP."},{"line_number":442,"context_line":""},{"line_number":443,"context_line":"        This currently sends an VDP associate message."}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_825a3e1c","line":440,"updated":"2014-07-24 16:27:48.000000000","message":"\"new_nwk\" should be \"new_network\" as I commented above.\nAlso it should be described in the docstring below.","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"73002d2ff411b2f2900f70ccdb09e774e059231d","unresolved":false,"context_lines":[{"line_number":437,"context_line":"                         vsiid_frmt\u003dvdp_const.VDP_VSIFRMT_UUID,"},{"line_number":438,"context_line":"                         filter_frmt\u003dvdp_const.VDP_FILTER_GIDMACVID,"},{"line_number":439,"context_line":"                         gid\u003d0, mac\u003d\"\", vlan\u003d0, oui_id\u003d\"\", oui_data\u003d\"\","},{"line_number":440,"context_line":"                         new_nwk\u003dFalse, vsw_cb_fn\u003dNone, vsw_cb_data\u003dNone):"},{"line_number":441,"context_line":"        \u0027\u0027\u0027Interface function to apps, called for a vNIC UP."},{"line_number":442,"context_line":""},{"line_number":443,"context_line":"        This currently sends an VDP associate message."}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_2884570a","line":440,"in_reply_to":"baada198_825a3e1c","updated":"2014-07-30 21:05:42.000000000","message":"Done","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"8177fa00220d0212e758187d6cf048eda7095304","unresolved":false,"context_lines":[{"line_number":448,"context_line":"        :param mgrid: MGR ID"},{"line_number":449,"context_line":"        :param typeid: Type ID"},{"line_number":450,"context_line":"        :param typeid_ver: Version of the Type ID"},{"line_number":451,"context_line":"        :param vsiid_frmt: Format of the following VSI argument"},{"line_number":452,"context_line":"        :param filter_frmt: Filter Value. Only GID, MAC, VID supported for now."},{"line_number":453,"context_line":"        :param gid: Group ID the vNIC belongs to"},{"line_number":454,"context_line":"        :param mac: MAC Address of the vNIC"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_a281024f","line":451,"updated":"2014-07-24 16:27:48.000000000","message":"\"fmt\" is usually used rather than \"frmt\".","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"73002d2ff411b2f2900f70ccdb09e774e059231d","unresolved":false,"context_lines":[{"line_number":448,"context_line":"        :param mgrid: MGR ID"},{"line_number":449,"context_line":"        :param typeid: Type ID"},{"line_number":450,"context_line":"        :param typeid_ver: Version of the Type ID"},{"line_number":451,"context_line":"        :param vsiid_frmt: Format of the following VSI argument"},{"line_number":452,"context_line":"        :param filter_frmt: Filter Value. Only GID, MAC, VID supported for now."},{"line_number":453,"context_line":"        :param gid: Group ID the vNIC belongs to"},{"line_number":454,"context_line":"        :param mac: MAC Address of the vNIC"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_a7cc3464","line":451,"in_reply_to":"baada198_a281024f","updated":"2014-07-30 21:05:42.000000000","message":"Hmm..I have used it consistently as frmt in this file. This is relative. Unless it\u0027s a strong requirement, i would retain this :)","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"8177fa00220d0212e758187d6cf048eda7095304","unresolved":false,"context_lines":[{"line_number":449,"context_line":"        :param typeid: Type ID"},{"line_number":450,"context_line":"        :param typeid_ver: Version of the Type ID"},{"line_number":451,"context_line":"        :param vsiid_frmt: Format of the following VSI argument"},{"line_number":452,"context_line":"        :param filter_frmt: Filter Value. Only GID, MAC, VID supported for now."},{"line_number":453,"context_line":"        :param gid: Group ID the vNIC belongs to"},{"line_number":454,"context_line":"        :param mac: MAC Address of the vNIC"},{"line_number":455,"context_line":"        :param vlan: VLAN of the vNIC"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_82b6be23","line":452,"updated":"2014-07-24 16:27:48.000000000","message":"I think \"Value\" is not \"format\". The variable name and the description should match.","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"73002d2ff411b2f2900f70ccdb09e774e059231d","unresolved":false,"context_lines":[{"line_number":449,"context_line":"        :param typeid: Type ID"},{"line_number":450,"context_line":"        :param typeid_ver: Version of the Type ID"},{"line_number":451,"context_line":"        :param vsiid_frmt: Format of the following VSI argument"},{"line_number":452,"context_line":"        :param filter_frmt: Filter Value. Only GID, MAC, VID supported for now."},{"line_number":453,"context_line":"        :param gid: Group ID the vNIC belongs to"},{"line_number":454,"context_line":"        :param mac: MAC Address of the vNIC"},{"line_number":455,"context_line":"        :param vlan: VLAN of the vNIC"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_a7c9947c","line":452,"in_reply_to":"baada198_82b6be23","updated":"2014-07-30 21:05:42.000000000","message":"Done","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"8177fa00220d0212e758187d6cf048eda7095304","unresolved":false,"context_lines":[{"line_number":455,"context_line":"        :param vlan: VLAN of the vNIC"},{"line_number":456,"context_line":"        :param oui_id: OUI Type"},{"line_number":457,"context_line":"        :param oui_data: OUI Data"},{"line_number":458,"context_line":"        :param sw_resp: Flag indicating if response is required from the daemon"},{"line_number":459,"context_line":"        \u0027\u0027\u0027"},{"line_number":460,"context_line":"        reply \u003d self.send_vdp_assoc(vsiid\u003dvsiid, mgrid\u003dmgrid, typeid\u003dtypeid,"},{"line_number":461,"context_line":"                                    typeid_ver\u003dtypeid_ver,"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_a2fe6203","line":458,"updated":"2014-07-24 16:27:48.000000000","message":"It is better to describe the return value here too.","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"73002d2ff411b2f2900f70ccdb09e774e059231d","unresolved":false,"context_lines":[{"line_number":455,"context_line":"        :param vlan: VLAN of the vNIC"},{"line_number":456,"context_line":"        :param oui_id: OUI Type"},{"line_number":457,"context_line":"        :param oui_data: OUI Data"},{"line_number":458,"context_line":"        :param sw_resp: Flag indicating if response is required from the daemon"},{"line_number":459,"context_line":"        \u0027\u0027\u0027"},{"line_number":460,"context_line":"        reply \u003d self.send_vdp_assoc(vsiid\u003dvsiid, mgrid\u003dmgrid, typeid\u003dtypeid,"},{"line_number":461,"context_line":"                                    typeid_ver\u003dtypeid_ver,"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_4878ab2c","line":458,"in_reply_to":"baada198_a2fe6203","updated":"2014-07-30 21:05:42.000000000","message":"Done","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"8177fa00220d0212e758187d6cf048eda7095304","unresolved":false,"context_lines":[{"line_number":507,"context_line":"        full_args \u003d [\u0027vdptool\u0027] + args"},{"line_number":508,"context_line":"        try:"},{"line_number":509,"context_line":"            val \u003d utils.execute(full_args, root_helper\u003dself.root_helper)"},{"line_number":510,"context_line":"            return val"},{"line_number":511,"context_line":"        except Exception as e:"},{"line_number":512,"context_line":"            LOG.error(_(\"Unable to execute %(cmd)s. \""},{"line_number":513,"context_line":"                        \"Exception: %(exception)s\"),"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_421ca613","line":510,"updated":"2014-07-24 16:27:48.000000000","message":"return utils.execute(....)","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"73002d2ff411b2f2900f70ccdb09e774e059231d","unresolved":false,"context_lines":[{"line_number":507,"context_line":"        full_args \u003d [\u0027vdptool\u0027] + args"},{"line_number":508,"context_line":"        try:"},{"line_number":509,"context_line":"            val \u003d utils.execute(full_args, root_helper\u003dself.root_helper)"},{"line_number":510,"context_line":"            return val"},{"line_number":511,"context_line":"        except Exception as e:"},{"line_number":512,"context_line":"            LOG.error(_(\"Unable to execute %(cmd)s. \""},{"line_number":513,"context_line":"                        \"Exception: %(exception)s\"),"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_47899824","line":510,"in_reply_to":"baada198_421ca613","updated":"2014-07-30 21:05:42.000000000","message":"Done","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"26b5fdbfbf889312a698d2ca788c84a57c2eaae6","unresolved":false,"context_lines":[{"line_number":28,"context_line":"from neutron.common import utils as n_utils"},{"line_number":29,"context_line":"from neutron.openstack.common import log as logging"},{"line_number":30,"context_line":"from neutron.openstack.common import loopingcall"},{"line_number":31,"context_line":"import re"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"# When timeout support becomes available in lldpad, this config will be"},{"line_number":34,"context_line":"# enabled TODO(padkrish)"}],"source_content_type":"text/x-python","patch_set":8,"id":"baada198_3c3b59c9","line":31,"updated":"2014-08-08 10:51:48.000000000","message":"It is a standard module.","commit_id":"92df42750b450cdbedc8f9400f4cdd1fb530a7f0"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"e99772312a1fc8d7dc0a6ddaa7ab5d37d3bbdf6e","unresolved":false,"context_lines":[{"line_number":28,"context_line":"from neutron.common import utils as n_utils"},{"line_number":29,"context_line":"from neutron.openstack.common import log as logging"},{"line_number":30,"context_line":"from neutron.openstack.common import loopingcall"},{"line_number":31,"context_line":"import re"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":"# When timeout support becomes available in lldpad, this config will be"},{"line_number":34,"context_line":"# enabled TODO(padkrish)"}],"source_content_type":"text/x-python","patch_set":8,"id":"7ac7a964_48426111","line":31,"in_reply_to":"baada198_3c3b59c9","updated":"2014-08-14 23:30:49.000000000","message":"Done","commit_id":"92df42750b450cdbedc8f9400f4cdd1fb530a7f0"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"26b5fdbfbf889312a698d2ca788c84a57c2eaae6","unresolved":false,"context_lines":[{"line_number":36,"context_line":"#    cfg.IntOpt(\u0027lldp_timeout\u0027,"},{"line_number":37,"context_line":"#               default\u003d\u00270\u0027,"},{"line_number":38,"context_line":"#               help\u003d_(\u0027Timeout in seconds for lldptool commands\u0027)),"},{"line_number":39,"context_line":"# ]"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":42,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"baada198_fca3a1fc","line":39,"updated":"2014-08-08 10:51:48.000000000","message":"I am not sure it can be done in Juno milestone. If not, it is better to leave TODO comment only.","commit_id":"92df42750b450cdbedc8f9400f4cdd1fb530a7f0"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"e99772312a1fc8d7dc0a6ddaa7ab5d37d3bbdf6e","unresolved":false,"context_lines":[{"line_number":36,"context_line":"#    cfg.IntOpt(\u0027lldp_timeout\u0027,"},{"line_number":37,"context_line":"#               default\u003d\u00270\u0027,"},{"line_number":38,"context_line":"#               help\u003d_(\u0027Timeout in seconds for lldptool commands\u0027)),"},{"line_number":39,"context_line":"# ]"},{"line_number":40,"context_line":""},{"line_number":41,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":42,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"7ac7a964_a8da1576","line":39,"in_reply_to":"baada198_fca3a1fc","updated":"2014-08-14 23:30:49.000000000","message":"Intention is to get it in Juno, if possible, as a bug-fix/minor enhancement.","commit_id":"92df42750b450cdbedc8f9400f4cdd1fb530a7f0"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"b6838cb9f147202c166b31ef17db66141a33f3de","unresolved":false,"context_lines":[{"line_number":41,"context_line":""},{"line_number":42,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"vdp_opts \u003d ["},{"line_number":45,"context_line":"    cfg.StrOpt(\u0027mgrid2\u0027, default\u003dvdp_const.VDP_MGRID, help\u003d_(\u0027Manager ID\u0027)),"},{"line_number":46,"context_line":"    cfg.StrOpt(\u0027typeid\u0027, default\u003dvdp_const.VDP_TYPEID, help\u003d_(\u0027Resoure ID\u0027)),"},{"line_number":47,"context_line":"    cfg.StrOpt(\u0027typeidver\u0027, default\u003dvdp_const.VDP_TYPEID_VER,"}],"source_content_type":"text/x-python","patch_set":15,"id":"1abeadc6_0bb356e9","line":44,"updated":"2014-08-22 17:01:39.000000000","message":"The configuration guide is now generated from the code. The sample config file in the subsequent patch has more detail help. The help message in the code should match the description in the sample config file.","commit_id":"eab25bff75a0bf54250bd38328bfa32eb0d0492a"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"d896ebef9444b59883a25fe35f1d1268682c8879","unresolved":false,"context_lines":[{"line_number":41,"context_line":""},{"line_number":42,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":"vdp_opts \u003d ["},{"line_number":45,"context_line":"    cfg.StrOpt(\u0027mgrid2\u0027, default\u003dvdp_const.VDP_MGRID, help\u003d_(\u0027Manager ID\u0027)),"},{"line_number":46,"context_line":"    cfg.StrOpt(\u0027typeid\u0027, default\u003dvdp_const.VDP_TYPEID, help\u003d_(\u0027Resoure ID\u0027)),"},{"line_number":47,"context_line":"    cfg.StrOpt(\u0027typeidver\u0027, default\u003dvdp_const.VDP_TYPEID_VER,"}],"source_content_type":"text/x-python","patch_set":15,"id":"1abeadc6_f527d4c7","line":44,"in_reply_to":"1abeadc6_0bb356e9","updated":"2014-08-23 01:56:02.000000000","message":"Done","commit_id":"eab25bff75a0bf54250bd38328bfa32eb0d0492a"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"b6838cb9f147202c166b31ef17db66141a33f3de","unresolved":false,"context_lines":[{"line_number":88,"context_line":"                                                             _vdp_refrsh_hndlr)"},{"line_number":89,"context_line":"        heartbeat_vdp.start(interval\u003dint(self.vdp_sync_timeout))"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"    def get_installed_vdp22_version(self):"},{"line_number":92,"context_line":"        \u0027\u0027\u0027Function to get the version of VDP\u0027\u0027\u0027"},{"line_number":93,"context_line":"        try:"},{"line_number":94,"context_line":"            reply \u003d self.run_vdptool([\"-v\"])"}],"source_content_type":"text/x-python","patch_set":15,"id":"1abeadc6_90b87312","line":91,"updated":"2014-08-22 17:01:39.000000000","message":"The method retrieves the version of vdptool, so get \"vdp22\" version seems not correct. get_vdptool_version?","commit_id":"eab25bff75a0bf54250bd38328bfa32eb0d0492a"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"d896ebef9444b59883a25fe35f1d1268682c8879","unresolved":false,"context_lines":[{"line_number":88,"context_line":"                                                             _vdp_refrsh_hndlr)"},{"line_number":89,"context_line":"        heartbeat_vdp.start(interval\u003dint(self.vdp_sync_timeout))"},{"line_number":90,"context_line":""},{"line_number":91,"context_line":"    def get_installed_vdp22_version(self):"},{"line_number":92,"context_line":"        \u0027\u0027\u0027Function to get the version of VDP\u0027\u0027\u0027"},{"line_number":93,"context_line":"        try:"},{"line_number":94,"context_line":"            reply \u003d self.run_vdptool([\"-v\"])"}],"source_content_type":"text/x-python","patch_set":15,"id":"1abeadc6_f84d093f","line":91,"in_reply_to":"1abeadc6_90b87312","updated":"2014-08-23 01:56:02.000000000","message":"Actually this retrieves the version of the VDP software using vdptool. vdptool is the utility that\u0027s used to communicate with the VDP software daemon.","commit_id":"eab25bff75a0bf54250bd38328bfa32eb0d0492a"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"b6838cb9f147202c166b31ef17db66141a33f3de","unresolved":false,"context_lines":[{"line_number":131,"context_line":"        to keep Orchestrator like Openstack, VDP daemon and the physical"},{"line_number":132,"context_line":"        switch in sync."},{"line_number":133,"context_line":"        \u0027\u0027\u0027"},{"line_number":134,"context_line":"        if self.vdp_vif_map:"},{"line_number":135,"context_line":"            vdp_vif_map \u003d dict.copy(self.vdp_vif_map)"},{"line_number":136,"context_line":"            oui_vif_map \u003d dict.copy(self.oui_vif_map)"},{"line_number":137,"context_line":"            for key in vdp_vif_map.viewkeys():"}],"source_content_type":"text/x-python","patch_set":15,"id":"1abeadc6_eb57fac7","line":134,"updated":"2014-08-22 17:01:39.000000000","message":"(suggestion only)\n\n  if not self.vdp_vif_map:\n      return\n\nwill reduce the indent level. Too long \"if\"-clause reduces the readability.","commit_id":"eab25bff75a0bf54250bd38328bfa32eb0d0492a"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"d896ebef9444b59883a25fe35f1d1268682c8879","unresolved":false,"context_lines":[{"line_number":131,"context_line":"        to keep Orchestrator like Openstack, VDP daemon and the physical"},{"line_number":132,"context_line":"        switch in sync."},{"line_number":133,"context_line":"        \u0027\u0027\u0027"},{"line_number":134,"context_line":"        if self.vdp_vif_map:"},{"line_number":135,"context_line":"            vdp_vif_map \u003d dict.copy(self.vdp_vif_map)"},{"line_number":136,"context_line":"            oui_vif_map \u003d dict.copy(self.oui_vif_map)"},{"line_number":137,"context_line":"            for key in vdp_vif_map.viewkeys():"}],"source_content_type":"text/x-python","patch_set":15,"id":"1abeadc6_55b88810","line":134,"in_reply_to":"1abeadc6_eb57fac7","updated":"2014-08-23 01:56:02.000000000","message":"Agree. I did this in other places, missed this one. I will change this and revisit the other code as well. Thanks.","commit_id":"eab25bff75a0bf54250bd38328bfa32eb0d0492a"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"b6838cb9f147202c166b31ef17db66141a33f3de","unresolved":false,"context_lines":[{"line_number":145,"context_line":"                else:"},{"line_number":146,"context_line":"                    oui_id \u003d loui_dict.get(\u0027oui_id\u0027)"},{"line_number":147,"context_line":"                    oui_data \u003d loui_dict.get(\u0027oui_data\u0027)"},{"line_number":148,"context_line":"                vdp_vlan \u003d self.send_vdp_assoc(vsiid\u003dlvdp_dict."},{"line_number":149,"context_line":"                                               get(\u0027vsiid\u0027),"},{"line_number":150,"context_line":"                                               mgrid\u003dlvdp_dict."},{"line_number":151,"context_line":"                                               get(\u0027mgrid\u0027),"}],"source_content_type":"text/x-python","patch_set":15,"id":"1abeadc6_cb323ea6","line":148,"updated":"2014-08-22 17:01:39.000000000","message":"Not sure why we need a new line here.","commit_id":"eab25bff75a0bf54250bd38328bfa32eb0d0492a"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"d896ebef9444b59883a25fe35f1d1268682c8879","unresolved":false,"context_lines":[{"line_number":145,"context_line":"                else:"},{"line_number":146,"context_line":"                    oui_id \u003d loui_dict.get(\u0027oui_id\u0027)"},{"line_number":147,"context_line":"                    oui_data \u003d loui_dict.get(\u0027oui_data\u0027)"},{"line_number":148,"context_line":"                vdp_vlan \u003d self.send_vdp_assoc(vsiid\u003dlvdp_dict."},{"line_number":149,"context_line":"                                               get(\u0027vsiid\u0027),"},{"line_number":150,"context_line":"                                               mgrid\u003dlvdp_dict."},{"line_number":151,"context_line":"                                               get(\u0027mgrid\u0027),"}],"source_content_type":"text/x-python","patch_set":15,"id":"1abeadc6_63706e40","line":148,"in_reply_to":"1abeadc6_cb323ea6","updated":"2014-08-23 01:56:02.000000000","message":"combined into a single line","commit_id":"eab25bff75a0bf54250bd38328bfa32eb0d0492a"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"b6838cb9f147202c166b31ef17db66141a33f3de","unresolved":false,"context_lines":[{"line_number":253,"context_line":"        try:"},{"line_number":254,"context_line":"            del self.oui_vif_map[uuid]"},{"line_number":255,"context_line":"        except Exception:"},{"line_number":256,"context_line":"            LOG.debug(\"OUI does not exist\")"},{"line_number":257,"context_line":""},{"line_number":258,"context_line":"    def clear_vdp_vsi(self, uuid):"},{"line_number":259,"context_line":"        \u0027\u0027\u0027Stores the vNIC specific info for VDP Refresh"}],"source_content_type":"text/x-python","patch_set":15,"id":"1abeadc6_4be54e07","line":256,"updated":"2014-08-22 17:01:39.000000000","message":"The log level is DEBUG. Can we ignore this exception?","commit_id":"eab25bff75a0bf54250bd38328bfa32eb0d0492a"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"d896ebef9444b59883a25fe35f1d1268682c8879","unresolved":false,"context_lines":[{"line_number":253,"context_line":"        try:"},{"line_number":254,"context_line":"            del self.oui_vif_map[uuid]"},{"line_number":255,"context_line":"        except Exception:"},{"line_number":256,"context_line":"            LOG.debug(\"OUI does not exist\")"},{"line_number":257,"context_line":""},{"line_number":258,"context_line":"    def clear_vdp_vsi(self, uuid):"},{"line_number":259,"context_line":"        \u0027\u0027\u0027Stores the vNIC specific info for VDP Refresh"}],"source_content_type":"text/x-python","patch_set":15,"id":"1abeadc6_b137274c","line":256,"in_reply_to":"1abeadc6_4be54e07","updated":"2014-08-23 01:56:02.000000000","message":"Done","commit_id":"eab25bff75a0bf54250bd38328bfa32eb0d0492a"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"b6838cb9f147202c166b31ef17db66141a33f3de","unresolved":false,"context_lines":[{"line_number":356,"context_line":"        :return reply: Reply from vdptool"},{"line_number":357,"context_line":"        \u0027\u0027\u0027"},{"line_number":358,"context_line":"        if not self.is_ncb:"},{"line_number":359,"context_line":"            LOG.error(_(\"EVB Cannot be set on NB\"))"},{"line_number":360,"context_line":"            return"},{"line_number":361,"context_line":"        vdp_key_str \u003d self.construct_vdp_dict(mode, mgrid, typeid,"},{"line_number":362,"context_line":"                                              typeid_ver, vsiid_frmt, vsiid,"}],"source_content_type":"text/x-python","patch_set":15,"id":"1abeadc6_2bd1f222","line":359,"updated":"2014-08-22 17:01:39.000000000","message":"Cannot -\u003e cannot\n\n(it is just a question) What is \"NB\"? Is NB different from NCB (Nearest customer bridge)?","commit_id":"eab25bff75a0bf54250bd38328bfa32eb0d0492a"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"d896ebef9444b59883a25fe35f1d1268682c8879","unresolved":false,"context_lines":[{"line_number":356,"context_line":"        :return reply: Reply from vdptool"},{"line_number":357,"context_line":"        \u0027\u0027\u0027"},{"line_number":358,"context_line":"        if not self.is_ncb:"},{"line_number":359,"context_line":"            LOG.error(_(\"EVB Cannot be set on NB\"))"},{"line_number":360,"context_line":"            return"},{"line_number":361,"context_line":"        vdp_key_str \u003d self.construct_vdp_dict(mode, mgrid, typeid,"},{"line_number":362,"context_line":"                                              typeid_ver, vsiid_frmt, vsiid,"}],"source_content_type":"text/x-python","patch_set":15,"id":"1abeadc6_d5b658f8","line":359,"in_reply_to":"1abeadc6_2bd1f222","updated":"2014-08-23 01:56:02.000000000","message":"changed \"cannot\". NB is Nearest Bridge MAC address and has the value 0180.c200.000E. NCB is Nearest Customer Bridge MAC address and has the value 0180.c200.0000. Regular LLDP used to run only using NB MAC address. But LLDP using EVB extensions uses NCB MAC address. VDP also uses NCB MAC address.","commit_id":"eab25bff75a0bf54250bd38328bfa32eb0d0492a"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"b6838cb9f147202c166b31ef17db66141a33f3de","unresolved":false,"context_lines":[{"line_number":537,"context_line":""},{"line_number":538,"context_line":"    def run_vdptool(self, args):"},{"line_number":539,"context_line":"        \u0027\u0027\u0027Function that runs the vdptool utility\u0027\u0027\u0027"},{"line_number":540,"context_line":"        full_args \u003d [\u0027vdptool\u0027] + args"},{"line_number":541,"context_line":"        try:"},{"line_number":542,"context_line":"            return utils.execute(full_args, root_helper\u003dself.root_helper)"},{"line_number":543,"context_line":"        except Exception as e:"}],"source_content_type":"text/x-python","patch_set":15,"id":"1abeadc6_abec222b","line":540,"updated":"2014-08-22 17:01:39.000000000","message":"vdptool seems not to be a part of distribution package. More information how to get vdptool would be helpful for deployers and packages. It is nice to have README in somewhere in the neutron code base and the commit message.","commit_id":"eab25bff75a0bf54250bd38328bfa32eb0d0492a"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"d896ebef9444b59883a25fe35f1d1268682c8879","unresolved":false,"context_lines":[{"line_number":537,"context_line":""},{"line_number":538,"context_line":"    def run_vdptool(self, args):"},{"line_number":539,"context_line":"        \u0027\u0027\u0027Function that runs the vdptool utility\u0027\u0027\u0027"},{"line_number":540,"context_line":"        full_args \u003d [\u0027vdptool\u0027] + args"},{"line_number":541,"context_line":"        try:"},{"line_number":542,"context_line":"            return utils.execute(full_args, root_helper\u003dself.root_helper)"},{"line_number":543,"context_line":"        except Exception as e:"}],"source_content_type":"text/x-python","patch_set":15,"id":"1abeadc6_1593705b","line":540,"in_reply_to":"1abeadc6_abec222b","updated":"2014-08-23 01:56:02.000000000","message":"Sure, that was a part of the plan too. Can i put it in this directory itself? I can also add a README as a doc and give a pointer from the spec.","commit_id":"eab25bff75a0bf54250bd38328bfa32eb0d0492a"},{"author":{"_account_id":12737,"name":"Jacek Swiderski","email":"jacek.swiderski@codilime.com","username":"Altran"},"change_message_id":"cd6406f6808b04f76be075603b4cf7c5d8638b1a","unresolved":false,"context_lines":[{"line_number":50,"context_line":"                      \u0027the VSI Manager DB (Provider DB) to contain multiple \u0027"},{"line_number":51,"context_line":"                      \u0027versions of a given VSI type\u0027)),"},{"line_number":52,"context_line":"    cfg.StrOpt(\u0027vsiidfrmt\u0027, default\u003dvdp_const.VDP_VSIFRMT_UUID,"},{"line_number":53,"context_line":"               help\u003d_(\u0027Defines the format of the VSI ID.\u0027"},{"line_number":54,"context_line":"                      \u0027If VSIID is identified using IPV4, enter 1\u0027"},{"line_number":55,"context_line":"                      \u0027If VSIID is identified using IPV6, enter 2\u0027"},{"line_number":56,"context_line":"                      \u0027If VSIID is identified using MAC, enter 3\u0027"}],"source_content_type":"text/x-python","patch_set":17,"id":"1abeadc6_5602e009","line":53,"updated":"2014-08-26 19:36:03.000000000","message":"I meant by that, that there will be no space between sentences - \"Defines the format of the VSI ID.If VSIID is identified using IPV4, enter 1If VSIID is identified using IPV6, enter 2(...)\" so spaces will help in readability I think at least","commit_id":"84fb8f7aa3549ba13dcb6e1871c7b3b540b098bb"},{"author":{"_account_id":12737,"name":"Jacek Swiderski","email":"jacek.swiderski@codilime.com","username":"Altran"},"change_message_id":"0bc6f80505ed073e4edb8d6956ece166013c37cf","unresolved":false,"context_lines":[{"line_number":50,"context_line":"                      \u0027the VSI Manager DB (Provider DB) to contain multiple \u0027"},{"line_number":51,"context_line":"                      \u0027versions of a given VSI type\u0027)),"},{"line_number":52,"context_line":"    cfg.StrOpt(\u0027vsiidfrmt\u0027, default\u003dvdp_const.VDP_VSIFRMT_UUID,"},{"line_number":53,"context_line":"               help\u003d_(\u0027Defines the format of the VSI ID.\u0027"},{"line_number":54,"context_line":"                      \u0027If VSIID is identified using IPV4, enter 1\u0027"},{"line_number":55,"context_line":"                      \u0027If VSIID is identified using IPV6, enter 2\u0027"},{"line_number":56,"context_line":"                      \u0027If VSIID is identified using MAC, enter 3\u0027"}],"source_content_type":"text/x-python","patch_set":17,"id":"1abeadc6_1b0343b9","line":53,"updated":"2014-08-26 12:05:09.000000000","message":"Shouldn\u0027t there be space after each sentence?","commit_id":"84fb8f7aa3549ba13dcb6e1871c7b3b540b098bb"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"e104a89833ca9ed5ef27b26cb5490788a0124f7a","unresolved":false,"context_lines":[{"line_number":50,"context_line":"                      \u0027the VSI Manager DB (Provider DB) to contain multiple \u0027"},{"line_number":51,"context_line":"                      \u0027versions of a given VSI type\u0027)),"},{"line_number":52,"context_line":"    cfg.StrOpt(\u0027vsiidfrmt\u0027, default\u003dvdp_const.VDP_VSIFRMT_UUID,"},{"line_number":53,"context_line":"               help\u003d_(\u0027Defines the format of the VSI ID.\u0027"},{"line_number":54,"context_line":"                      \u0027If VSIID is identified using IPV4, enter 1\u0027"},{"line_number":55,"context_line":"                      \u0027If VSIID is identified using IPV6, enter 2\u0027"},{"line_number":56,"context_line":"                      \u0027If VSIID is identified using MAC, enter 3\u0027"}],"source_content_type":"text/x-python","patch_set":17,"id":"1abeadc6_9d29fe8b","line":53,"in_reply_to":"1abeadc6_1b0343b9","updated":"2014-08-26 16:08:10.000000000","message":"I think a comma will be appropriate.","commit_id":"84fb8f7aa3549ba13dcb6e1871c7b3b540b098bb"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"d5f2f4b7b9c26b0b70240ab5c8540baa4ed11ed1","unresolved":false,"context_lines":[{"line_number":50,"context_line":"                      \u0027the VSI Manager DB (Provider DB) to contain multiple \u0027"},{"line_number":51,"context_line":"                      \u0027versions of a given VSI type\u0027)),"},{"line_number":52,"context_line":"    cfg.StrOpt(\u0027vsiidfrmt\u0027, default\u003dvdp_const.VDP_VSIFRMT_UUID,"},{"line_number":53,"context_line":"               help\u003d_(\u0027Defines the format of the VSI ID.\u0027"},{"line_number":54,"context_line":"                      \u0027If VSIID is identified using IPV4, enter 1\u0027"},{"line_number":55,"context_line":"                      \u0027If VSIID is identified using IPV6, enter 2\u0027"},{"line_number":56,"context_line":"                      \u0027If VSIID is identified using MAC, enter 3\u0027"}],"source_content_type":"text/x-python","patch_set":17,"id":"1abeadc6_676e48cb","line":53,"in_reply_to":"1abeadc6_5602e009","updated":"2014-08-26 20:53:25.000000000","message":"Got it. Addressed that in latest patch (patch 18).","commit_id":"84fb8f7aa3549ba13dcb6e1871c7b3b540b098bb"},{"author":{"_account_id":8645,"name":"Trinath Somanchi","email":"trinath.somanchi@freescale.com","username":"trinaths"},"change_message_id":"b166e69be02c4627719d402e16fc588fc87a31c8","unresolved":false,"context_lines":[{"line_number":142,"context_line":"            self.run_lldptool([\"-T\", \"-i\", self.port_name, \"-g\", \"ncb\","},{"line_number":143,"context_line":"                               \"-V\", \"evb\", \"-c\", \"evbgpid\u003dyes\"])"},{"line_number":144,"context_line":"        else:"},{"line_number":145,"context_line":"            LOG.error(_(\"GPID cannot be set on NB\"))"},{"line_number":146,"context_line":""},{"line_number":147,"context_line":"    def _vdp_refrsh_hndlr(self):"},{"line_number":148,"context_line":"        \u0027\u0027\u0027Periodic refresh of vNIC events to VDP"}],"source_content_type":"text/x-python","patch_set":17,"id":"1abeadc6_dd68ed89","line":145,"updated":"2014-08-26 06:11:32.000000000","message":"you may use _LE for these errors.Can you check once.","commit_id":"84fb8f7aa3549ba13dcb6e1871c7b3b540b098bb"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"eb609c78f80b58752132dd83db755ad04fc25676","unresolved":false,"context_lines":[{"line_number":142,"context_line":"            self.run_lldptool([\"-T\", \"-i\", self.port_name, \"-g\", \"ncb\","},{"line_number":143,"context_line":"                               \"-V\", \"evb\", \"-c\", \"evbgpid\u003dyes\"])"},{"line_number":144,"context_line":"        else:"},{"line_number":145,"context_line":"            LOG.error(_(\"GPID cannot be set on NB\"))"},{"line_number":146,"context_line":""},{"line_number":147,"context_line":"    def _vdp_refrsh_hndlr(self):"},{"line_number":148,"context_line":"        \u0027\u0027\u0027Periodic refresh of vNIC events to VDP"}],"source_content_type":"text/x-python","patch_set":17,"id":"1abeadc6_a37314e6","line":145,"in_reply_to":"1abeadc6_dd68ed89","updated":"2014-08-26 07:46:20.000000000","message":"ok will do","commit_id":"84fb8f7aa3549ba13dcb6e1871c7b3b540b098bb"},{"author":{"_account_id":8645,"name":"Trinath Somanchi","email":"trinath.somanchi@freescale.com","username":"trinaths"},"change_message_id":"b166e69be02c4627719d402e16fc588fc87a31c8","unresolved":false,"context_lines":[{"line_number":397,"context_line":"                # Make this a validate Reply TODO(padkrish)"},{"line_number":398,"context_line":"                # vlan \u003d self.get_vlan_from_reply(reply)"},{"line_number":399,"context_line":"                # if vlan !\u003d 0:"},{"line_number":400,"context_line":"                #    return reply"},{"line_number":401,"context_line":"            reply \u003d self.run_vdptool([\"-T\", \"-i\", self.port_name, \"-W\","},{"line_number":402,"context_line":"                                      \"-V\", mode, \"-c\", vdp_key_str[\u0027mode\u0027],"},{"line_number":403,"context_line":"                                      \"-c\", vdp_key_str[\u0027mgrid\u0027], \"-c\","}],"source_content_type":"text/x-python","patch_set":17,"id":"1abeadc6_fdd20933","line":400,"updated":"2014-08-26 06:11:32.000000000","message":"Why the above code is commented? If you want to go with a TODO, you may write a comment and remove the code. this way code looks clear and easily understandable.","commit_id":"84fb8f7aa3549ba13dcb6e1871c7b3b540b098bb"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"eb609c78f80b58752132dd83db755ad04fc25676","unresolved":false,"context_lines":[{"line_number":397,"context_line":"                # Make this a validate Reply TODO(padkrish)"},{"line_number":398,"context_line":"                # vlan \u003d self.get_vlan_from_reply(reply)"},{"line_number":399,"context_line":"                # if vlan !\u003d 0:"},{"line_number":400,"context_line":"                #    return reply"},{"line_number":401,"context_line":"            reply \u003d self.run_vdptool([\"-T\", \"-i\", self.port_name, \"-W\","},{"line_number":402,"context_line":"                                      \"-V\", mode, \"-c\", vdp_key_str[\u0027mode\u0027],"},{"line_number":403,"context_line":"                                      \"-c\", vdp_key_str[\u0027mgrid\u0027], \"-c\","}],"source_content_type":"text/x-python","patch_set":17,"id":"1abeadc6_e3e18c9b","line":400,"in_reply_to":"1abeadc6_fdd20933","updated":"2014-08-26 07:46:20.000000000","message":"It\u0027s commented because vdptool does not have support for this yet. Support for this may likely to come soon, but may not be before next week. This is likely to be uncommented very soon, but if having this commented code is a blocker, i can remove the code.","commit_id":"84fb8f7aa3549ba13dcb6e1871c7b3b540b098bb"}],"neutron/agent/linux/lldpad_constants.py":[{"author":{"_account_id":5892,"name":"pritesh","email":"pritesh@romana.io","username":"pritkoth"},"change_message_id":"6cf4b461f08eb1c14f20fb8618fb35f14312c6db","unresolved":false,"context_lines":[{"line_number":13,"context_line":"#    License for the specific language governing permissions and limitations"},{"line_number":14,"context_line":"#    under the License."},{"line_number":15,"context_line":"#"},{"line_number":16,"context_line":"# @author: Padmanabhan Krishnan, Cisco Systems Inc."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"# service VDP 2.2 constants:"},{"line_number":19,"context_line":"MINIMUM_VDP22_VERSION \u003d \"0.9.45\""}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_31476d1f","line":16,"updated":"2014-07-08 20:57:39.000000000","message":"same","commit_id":"fb6f0b44256e664ee118683556dfb06feb338112"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"a20e3505d4cdc86a530299e1c7e657c8986b8ea1","unresolved":false,"context_lines":[{"line_number":13,"context_line":"#    License for the specific language governing permissions and limitations"},{"line_number":14,"context_line":"#    under the License."},{"line_number":15,"context_line":"#"},{"line_number":16,"context_line":"# @author: Padmanabhan Krishnan, Cisco Systems Inc."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"# service VDP 2.2 constants:"},{"line_number":19,"context_line":"MINIMUM_VDP22_VERSION \u003d \"0.9.45\""}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_933edd89","line":16,"in_reply_to":"baada198_31476d1f","updated":"2014-07-14 05:41:05.000000000","message":"Same reply as earlier.","commit_id":"fb6f0b44256e664ee118683556dfb06feb338112"}],"neutron/cmd/sanity/checks.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"8177fa00220d0212e758187d6cf048eda7095304","unresolved":false,"context_lines":[{"line_number":14,"context_line":"#    under the License."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"from neutron.agent.linux import ovs_lib"},{"line_number":17,"context_line":"from neutron.agent.linux import utils as l_utils"},{"line_number":18,"context_line":"from neutron.common import utils"},{"line_number":19,"context_line":"from neutron.plugins.common import constants as const"},{"line_number":20,"context_line":"from neutron.plugins.openvswitch.common import constants as ovs_const"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_d17ec6e2","line":17,"updated":"2014-07-24 16:27:48.000000000","message":"I prefer to linux_utils rather than l_utils.","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"73002d2ff411b2f2900f70ccdb09e774e059231d","unresolved":false,"context_lines":[{"line_number":14,"context_line":"#    under the License."},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"from neutron.agent.linux import ovs_lib"},{"line_number":17,"context_line":"from neutron.agent.linux import utils as l_utils"},{"line_number":18,"context_line":"from neutron.common import utils"},{"line_number":19,"context_line":"from neutron.plugins.common import constants as const"},{"line_number":20,"context_line":"from neutron.plugins.openvswitch.common import constants as ovs_const"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_5e193e79","line":17,"in_reply_to":"baada198_d17ec6e2","updated":"2014-07-30 21:05:42.000000000","message":"Done","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"8177fa00220d0212e758187d6cf048eda7095304","unresolved":false,"context_lines":[{"line_number":42,"context_line":"        args \u003d [\u0027vdptool\u0027] + [\"-v\"]"},{"line_number":43,"context_line":"        val \u003d l_utils.execute(args)"},{"line_number":44,"context_line":"        if val is not None:"},{"line_number":45,"context_line":"            return True"},{"line_number":46,"context_line":"    except Exception:"},{"line_number":47,"context_line":"        return False"},{"line_number":48,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_9111aeb1","line":45,"updated":"2014-07-24 16:27:48.000000000","message":"Two lines can be merged.\n\n  return val is not None","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"73002d2ff411b2f2900f70ccdb09e774e059231d","unresolved":false,"context_lines":[{"line_number":42,"context_line":"        args \u003d [\u0027vdptool\u0027] + [\"-v\"]"},{"line_number":43,"context_line":"        val \u003d l_utils.execute(args)"},{"line_number":44,"context_line":"        if val is not None:"},{"line_number":45,"context_line":"            return True"},{"line_number":46,"context_line":"    except Exception:"},{"line_number":47,"context_line":"        return False"},{"line_number":48,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_3e6baa87","line":45,"in_reply_to":"baada198_9111aeb1","updated":"2014-07-30 21:05:42.000000000","message":"Done","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"16c8d5d21857114428b61c427689a285da9137fa","unresolved":false,"context_lines":[{"line_number":42,"context_line":"        return port !\u003d ovs_const.INVALID_OFPORT"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"def vdp_supported(root_helper):"},{"line_number":46,"context_line":"    try:"},{"line_number":47,"context_line":"        args \u003d [\u0027vdptool\u0027] + [\"-v\"]"},{"line_number":48,"context_line":"        agent_utils.execute(args)"}],"source_content_type":"text/x-python","patch_set":19,"id":"1abeadc6_2b108800","line":45,"updated":"2014-08-27 07:53:46.000000000","message":"Don\u0027t we need to test lldptool too?","commit_id":"bb87336edc202040ae9d2eb2afef4b64ba8f84b3"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"1fb605d7ebca6e92d1fb310af9a724874d1fa07b","unresolved":false,"context_lines":[{"line_number":42,"context_line":"        return port !\u003d ovs_const.INVALID_OFPORT"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"def vdp_supported(root_helper):"},{"line_number":46,"context_line":"    try:"},{"line_number":47,"context_line":"        args \u003d [\u0027vdptool\u0027] + [\"-v\"]"},{"line_number":48,"context_line":"        agent_utils.execute(args)"}],"source_content_type":"text/x-python","patch_set":19,"id":"1abeadc6_86ad068b","line":45,"in_reply_to":"1abeadc6_2b108800","updated":"2014-08-27 13:57:48.000000000","message":"Not necessary. If vdptool is present, then that\u0027s good enough indication that the complete package is present.","commit_id":"bb87336edc202040ae9d2eb2afef4b64ba8f84b3"}],"neutron/db/migration/alembic_migrations/versions/1be5bdeb1d9a_ml2_cisco_dfa_overlay_type_driver.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"fab9891819066ce977489737a6e13aebbfc61d0d","unresolved":false,"context_lines":[{"line_number":29,"context_line":""},{"line_number":30,"context_line":"migration_for_plugins \u003d ["},{"line_number":31,"context_line":"    \u0027*\u0027"},{"line_number":32,"context_line":"]"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"from alembic import op"},{"line_number":35,"context_line":"import sqlalchemy as sa"}],"source_content_type":"text/x-python","patch_set":10,"id":"1abeadc6_251ad017","line":32,"updated":"2014-08-18 07:46:18.000000000","message":"We no longer need migration_for_plugins. db migraiton is now non-conditional.","commit_id":"d1a9fa867bc0384b85f7460a80f07ad82c9ccac4"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"d2b7d0607c78066ece12e0c39e2a5ec4a50a4bca","unresolved":false,"context_lines":[{"line_number":29,"context_line":""},{"line_number":30,"context_line":"migration_for_plugins \u003d ["},{"line_number":31,"context_line":"    \u0027*\u0027"},{"line_number":32,"context_line":"]"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"from alembic import op"},{"line_number":35,"context_line":"import sqlalchemy as sa"}],"source_content_type":"text/x-python","patch_set":10,"id":"1abeadc6_eafec66a","line":32,"in_reply_to":"1abeadc6_251ad017","updated":"2014-08-19 00:54:28.000000000","message":"Done","commit_id":"d1a9fa867bc0384b85f7460a80f07ad82c9ccac4"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"fab9891819066ce977489737a6e13aebbfc61d0d","unresolved":false,"context_lines":[{"line_number":40,"context_line":""},{"line_number":41,"context_line":"def upgrade(active_plugins\u003dNone, options\u003dNone):"},{"line_number":42,"context_line":"    if not migration.should_run(active_plugins, migration_for_plugins):"},{"line_number":43,"context_line":"        return"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"    op.create_table("},{"line_number":46,"context_line":"        \u0027ml2_cisco_dfa_segment_allocations\u0027,"}],"source_content_type":"text/x-python","patch_set":10,"id":"1abeadc6_4517cced","line":43,"updated":"2014-08-18 07:46:18.000000000","message":"These two lines are unnecessary.","commit_id":"d1a9fa867bc0384b85f7460a80f07ad82c9ccac4"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"d2b7d0607c78066ece12e0c39e2a5ec4a50a4bca","unresolved":false,"context_lines":[{"line_number":40,"context_line":""},{"line_number":41,"context_line":"def upgrade(active_plugins\u003dNone, options\u003dNone):"},{"line_number":42,"context_line":"    if not migration.should_run(active_plugins, migration_for_plugins):"},{"line_number":43,"context_line":"        return"},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"    op.create_table("},{"line_number":46,"context_line":"        \u0027ml2_cisco_dfa_segment_allocations\u0027,"}],"source_content_type":"text/x-python","patch_set":10,"id":"1abeadc6_0a04e279","line":43,"in_reply_to":"1abeadc6_4517cced","updated":"2014-08-19 00:54:28.000000000","message":"Done","commit_id":"d1a9fa867bc0384b85f7460a80f07ad82c9ccac4"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"fab9891819066ce977489737a6e13aebbfc61d0d","unresolved":false,"context_lines":[{"line_number":53,"context_line":""},{"line_number":54,"context_line":"def downgrade(active_plugins\u003dNone, options\u003dNone):"},{"line_number":55,"context_line":"    if not migration.should_run(active_plugins, migration_for_plugins):"},{"line_number":56,"context_line":"        return"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"    op.drop_table(\u0027ml2_cisco_dfa_segment_allocations\u0027)"}],"source_content_type":"text/x-python","patch_set":10,"id":"1abeadc6_85d80455","line":56,"updated":"2014-08-18 07:46:18.000000000","message":"same as the above.","commit_id":"d1a9fa867bc0384b85f7460a80f07ad82c9ccac4"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"d2b7d0607c78066ece12e0c39e2a5ec4a50a4bca","unresolved":false,"context_lines":[{"line_number":53,"context_line":""},{"line_number":54,"context_line":"def downgrade(active_plugins\u003dNone, options\u003dNone):"},{"line_number":55,"context_line":"    if not migration.should_run(active_plugins, migration_for_plugins):"},{"line_number":56,"context_line":"        return"},{"line_number":57,"context_line":""},{"line_number":58,"context_line":"    op.drop_table(\u0027ml2_cisco_dfa_segment_allocations\u0027)"}],"source_content_type":"text/x-python","patch_set":10,"id":"1abeadc6_2af8be7b","line":56,"in_reply_to":"1abeadc6_85d80455","updated":"2014-08-19 00:54:28.000000000","message":"Done. Thanks.","commit_id":"d1a9fa867bc0384b85f7460a80f07ad82c9ccac4"}],"neutron/db/migration/alembic_migrations/versions/1be5bdeb1d9a_ml2_network_overlay_type_driver.py":[{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"726d8c5b6c8759723504de82ba94725516a74047","unresolved":false,"context_lines":[{"line_number":28,"context_line":"# Change to [\u0027*\u0027] if this migration applies to all plugins"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"migration_for_plugins \u003d ["},{"line_number":31,"context_line":"    \u0027neutron.plugins.ml2.plugin.Ml2Plugin\u0027"},{"line_number":32,"context_line":"]"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"from alembic import op"}],"source_content_type":"text/x-python","patch_set":4,"id":"baada198_f5d932f5","line":31,"updated":"2014-07-17 03:40:19.000000000","message":"i guess you need to update after healing migration.","commit_id":"4cce08134184db81bbc8dddb3496ee175dfa5e8b"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"a94e1b5bbddd8a58ffd7d1e627d94bf4c4475c39","unresolved":false,"context_lines":[{"line_number":28,"context_line":"# Change to [\u0027*\u0027] if this migration applies to all plugins"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"migration_for_plugins \u003d ["},{"line_number":31,"context_line":"    \u0027neutron.plugins.ml2.plugin.Ml2Plugin\u0027"},{"line_number":32,"context_line":"]"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"from alembic import op"}],"source_content_type":"text/x-python","patch_set":4,"id":"baada198_f92e6c41","line":31,"in_reply_to":"baada198_8a87f411","updated":"2014-07-18 00:56:45.000000000","message":"Done","commit_id":"4cce08134184db81bbc8dddb3496ee175dfa5e8b"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"a94e1b5bbddd8a58ffd7d1e627d94bf4c4475c39","unresolved":false,"context_lines":[{"line_number":28,"context_line":"# Change to [\u0027*\u0027] if this migration applies to all plugins"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"migration_for_plugins \u003d ["},{"line_number":31,"context_line":"    \u0027neutron.plugins.ml2.plugin.Ml2Plugin\u0027"},{"line_number":32,"context_line":"]"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"from alembic import op"}],"source_content_type":"text/x-python","patch_set":4,"id":"baada198_1926c068","line":31,"in_reply_to":"baada198_f5d932f5","updated":"2014-07-18 00:56:45.000000000","message":"Done","commit_id":"4cce08134184db81bbc8dddb3496ee175dfa5e8b"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"ee4384720777f2472e7efd38ec299c217e538ef0","unresolved":false,"context_lines":[{"line_number":28,"context_line":"# Change to [\u0027*\u0027] if this migration applies to all plugins"},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"migration_for_plugins \u003d ["},{"line_number":31,"context_line":"    \u0027neutron.plugins.ml2.plugin.Ml2Plugin\u0027"},{"line_number":32,"context_line":"]"},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"from alembic import op"}],"source_content_type":"text/x-python","patch_set":4,"id":"baada198_8a87f411","line":31,"in_reply_to":"baada198_f5d932f5","updated":"2014-07-17 05:08:45.000000000","message":"Yes, rebase and make this \u0027*\u0027.","commit_id":"4cce08134184db81bbc8dddb3496ee175dfa5e8b"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"726d8c5b6c8759723504de82ba94725516a74047","unresolved":false,"context_lines":[{"line_number":47,"context_line":"        sa.Column(\u0027physical_network\u0027, sa.String(64), nullable\u003dFalse),"},{"line_number":48,"context_line":"        sa.Column(\u0027segmentation_id\u0027, sa.Integer(), autoincrement\u003dFalse,"},{"line_number":49,"context_line":"                  nullable\u003dFalse),"},{"line_number":50,"context_line":"        sa.Column(\u0027allocated\u0027, sa.String(32)),"},{"line_number":51,"context_line":"        sa.PrimaryKeyConstraint(\u0027physical_network\u0027, \u0027segmentation_id\u0027))"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"baada198_f5005237","line":50,"updated":"2014-07-17 03:40:19.000000000","message":"mismatch with the model?","commit_id":"4cce08134184db81bbc8dddb3496ee175dfa5e8b"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"a94e1b5bbddd8a58ffd7d1e627d94bf4c4475c39","unresolved":false,"context_lines":[{"line_number":47,"context_line":"        sa.Column(\u0027physical_network\u0027, sa.String(64), nullable\u003dFalse),"},{"line_number":48,"context_line":"        sa.Column(\u0027segmentation_id\u0027, sa.Integer(), autoincrement\u003dFalse,"},{"line_number":49,"context_line":"                  nullable\u003dFalse),"},{"line_number":50,"context_line":"        sa.Column(\u0027allocated\u0027, sa.String(32)),"},{"line_number":51,"context_line":"        sa.PrimaryKeyConstraint(\u0027physical_network\u0027, \u0027segmentation_id\u0027))"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"baada198_b9fdd4b3","line":50,"in_reply_to":"baada198_f5005237","updated":"2014-07-18 00:56:45.000000000","message":"Took care of it in Latest.","commit_id":"4cce08134184db81bbc8dddb3496ee175dfa5e8b"},{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"49a315504bfd41a84703a86bbf0ea0c1dc176a93","unresolved":false,"context_lines":[{"line_number":47,"context_line":"        sa.Column(\u0027physical_network\u0027, sa.String(64), nullable\u003dFalse),"},{"line_number":48,"context_line":"        sa.Column(\u0027segmentation_id\u0027, sa.Integer(), autoincrement\u003dFalse,"},{"line_number":49,"context_line":"                  nullable\u003dFalse),"},{"line_number":50,"context_line":"        sa.Column(\u0027allocated\u0027, sa.String(32)),"},{"line_number":51,"context_line":"        sa.PrimaryKeyConstraint(\u0027physical_network\u0027, \u0027segmentation_id\u0027))"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"baada198_c1054616","line":50,"updated":"2014-07-17 10:55:33.000000000","message":"In model it is Boolean. Set this up to model and add nullable\u003dFalse","commit_id":"cd7d9fe5d62a1d062663872d42929220eabbaeaf"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"40f916ff3ac9e1193d7c4290a21e0993ac7b93d4","unresolved":false,"context_lines":[{"line_number":47,"context_line":"        sa.Column(\u0027physical_network\u0027, sa.String(64), nullable\u003dFalse),"},{"line_number":48,"context_line":"        sa.Column(\u0027segmentation_id\u0027, sa.Integer(), autoincrement\u003dFalse,"},{"line_number":49,"context_line":"                  nullable\u003dFalse),"},{"line_number":50,"context_line":"        sa.Column(\u0027allocated\u0027, sa.String(32)),"},{"line_number":51,"context_line":"        sa.PrimaryKeyConstraint(\u0027physical_network\u0027, \u0027segmentation_id\u0027))"},{"line_number":52,"context_line":""},{"line_number":53,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"baada198_0844a172","line":50,"in_reply_to":"baada198_c1054616","updated":"2014-07-18 00:57:24.000000000","message":"Done","commit_id":"cd7d9fe5d62a1d062663872d42929220eabbaeaf"},{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"8af3790f2dfeef50a75f48f2f42eb8b4e08f83e7","unresolved":false,"context_lines":[{"line_number":45,"context_line":"    op.create_table("},{"line_number":46,"context_line":"        \u0027ml2_network_overlay_segment_allocations\u0027,"},{"line_number":47,"context_line":"        sa.Column(\u0027physical_network\u0027, sa.String(64), nullable\u003dFalse),"},{"line_number":48,"context_line":"        sa.Column(\u0027segmentation_id\u0027, sa.Integer(), autoincrement\u003dFalse,"},{"line_number":49,"context_line":"                  nullable\u003dFalse),"},{"line_number":50,"context_line":"        sa.Column(\u0027allocated\u0027, sa.Boolean(), nullable\u003dFalse),"},{"line_number":51,"context_line":"        sa.PrimaryKeyConstraint(\u0027physical_network\u0027, \u0027segmentation_id\u0027))"}],"source_content_type":"text/x-python","patch_set":7,"id":"baada198_4e86a9bb","line":48,"updated":"2014-07-31 13:22:44.000000000","message":"In model you have column with name \u0027segment_id\u0027 here \u0027segmentation_id\u0027. Check this.","commit_id":"8cb3470070c6f8e97050536910caa718f92fc43a"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"60a0041942e282331116fb09063289c8192e735c","unresolved":false,"context_lines":[{"line_number":45,"context_line":"    op.create_table("},{"line_number":46,"context_line":"        \u0027ml2_network_overlay_segment_allocations\u0027,"},{"line_number":47,"context_line":"        sa.Column(\u0027physical_network\u0027, sa.String(64), nullable\u003dFalse),"},{"line_number":48,"context_line":"        sa.Column(\u0027segmentation_id\u0027, sa.Integer(), autoincrement\u003dFalse,"},{"line_number":49,"context_line":"                  nullable\u003dFalse),"},{"line_number":50,"context_line":"        sa.Column(\u0027allocated\u0027, sa.Boolean(), nullable\u003dFalse),"},{"line_number":51,"context_line":"        sa.PrimaryKeyConstraint(\u0027physical_network\u0027, \u0027segmentation_id\u0027))"}],"source_content_type":"text/x-python","patch_set":7,"id":"baada198_6406ac86","line":48,"in_reply_to":"baada198_4e86a9bb","updated":"2014-08-04 23:46:35.000000000","message":"Right, thanks for the catch. Done.","commit_id":"8cb3470070c6f8e97050536910caa718f92fc43a"}],"neutron/db/migration/models/head.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"8177fa00220d0212e758187d6cf048eda7095304","unresolved":false,"context_lines":[{"line_number":62,"context_line":"from neutron.plugins.ml2.drivers.mech_arista import db  # noqa"},{"line_number":63,"context_line":"from neutron.plugins.ml2.drivers import type_flat  # noqa"},{"line_number":64,"context_line":"from neutron.plugins.ml2.drivers import type_gre  # noqa"},{"line_number":65,"context_line":"from neutron.plugins.ml2.drivers import type_network_overlay  # noqa"},{"line_number":66,"context_line":"from neutron.plugins.ml2.drivers import type_vlan  # noqa"},{"line_number":67,"context_line":"from neutron.plugins.ml2.drivers import type_vxlan  # noqa"},{"line_number":68,"context_line":"from neutron.plugins.ml2 import models  # noqa"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_5c2f2d89","line":65,"updated":"2014-07-24 16:27:48.000000000","message":"Is it required? healing migration patch has been merged.","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"73002d2ff411b2f2900f70ccdb09e774e059231d","unresolved":false,"context_lines":[{"line_number":62,"context_line":"from neutron.plugins.ml2.drivers.mech_arista import db  # noqa"},{"line_number":63,"context_line":"from neutron.plugins.ml2.drivers import type_flat  # noqa"},{"line_number":64,"context_line":"from neutron.plugins.ml2.drivers import type_gre  # noqa"},{"line_number":65,"context_line":"from neutron.plugins.ml2.drivers import type_network_overlay  # noqa"},{"line_number":66,"context_line":"from neutron.plugins.ml2.drivers import type_vlan  # noqa"},{"line_number":67,"context_line":"from neutron.plugins.ml2.drivers import type_vxlan  # noqa"},{"line_number":68,"context_line":"from neutron.plugins.ml2 import models  # noqa"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_1bac3836","line":65,"in_reply_to":"baada198_5c2f2d89","updated":"2014-07-30 21:05:42.000000000","message":"I got this input when i posed the question to the ML.","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"18789fa1d0fb312c5edac3f750e35b1582d7106f","unresolved":false,"context_lines":[{"line_number":62,"context_line":"from neutron.plugins.ml2.drivers.mech_arista import db  # noqa"},{"line_number":63,"context_line":"from neutron.plugins.ml2.drivers import type_flat  # noqa"},{"line_number":64,"context_line":"from neutron.plugins.ml2.drivers import type_gre  # noqa"},{"line_number":65,"context_line":"from neutron.plugins.ml2.drivers import type_network_overlay  # noqa"},{"line_number":66,"context_line":"from neutron.plugins.ml2.drivers import type_vlan  # noqa"},{"line_number":67,"context_line":"from neutron.plugins.ml2.drivers import type_vxlan  # noqa"},{"line_number":68,"context_line":"from neutron.plugins.ml2 import models  # noqa"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_af048ac6","line":65,"in_reply_to":"baada198_5c2f2d89","updated":"2014-07-24 16:51:23.000000000","message":"This is necessary for testing, not healing migration.","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"}],"neutron/plugins/common/constants.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"fab9891819066ce977489737a6e13aebbfc61d0d","unresolved":false,"context_lines":[{"line_number":77,"context_line":"TYPE_LOCAL \u003d \u0027local\u0027"},{"line_number":78,"context_line":"TYPE_VXLAN \u003d \u0027vxlan\u0027"},{"line_number":79,"context_line":"TYPE_VLAN \u003d \u0027vlan\u0027"},{"line_number":80,"context_line":"TYPE_VDP_VLAN \u003d \u0027vdp_vlan\u0027"},{"line_number":81,"context_line":"TYPE_NONE \u003d \u0027none\u0027"}],"source_content_type":"text/x-python","patch_set":10,"id":"1abeadc6_053eb4b8","line":80,"updated":"2014-08-18 07:46:18.000000000","message":"Where is this constant used? Cisco DFA type driver returns the vendor specific type name.","commit_id":"d1a9fa867bc0384b85f7460a80f07ad82c9ccac4"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"d2b7d0607c78066ece12e0c39e2a5ec4a50a4bca","unresolved":false,"context_lines":[{"line_number":77,"context_line":"TYPE_LOCAL \u003d \u0027local\u0027"},{"line_number":78,"context_line":"TYPE_VXLAN \u003d \u0027vxlan\u0027"},{"line_number":79,"context_line":"TYPE_VLAN \u003d \u0027vlan\u0027"},{"line_number":80,"context_line":"TYPE_VDP_VLAN \u003d \u0027vdp_vlan\u0027"},{"line_number":81,"context_line":"TYPE_NONE \u003d \u0027none\u0027"}],"source_content_type":"text/x-python","patch_set":10,"id":"1abeadc6_cf1d9c75","line":80,"in_reply_to":"1abeadc6_053eb4b8","updated":"2014-08-19 00:54:28.000000000","message":"This is used in OVS Neutron Agent and the DFA TD when it allocates the segment. Pls look at [1], in interim solution section for VDP.\n\n[1] https://docs.google.com/document/d/1rqTHiLgV_3bw3nbiggY_xM-xETDsw0aK5rZZVXopSU8/edit?pli\u003d1#","commit_id":"d1a9fa867bc0384b85f7460a80f07ad82c9ccac4"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"b6838cb9f147202c166b31ef17db66141a33f3de","unresolved":false,"context_lines":[{"line_number":77,"context_line":"TYPE_LOCAL \u003d \u0027local\u0027"},{"line_number":78,"context_line":"TYPE_VXLAN \u003d \u0027vxlan\u0027"},{"line_number":79,"context_line":"TYPE_VLAN \u003d \u0027vlan\u0027"},{"line_number":80,"context_line":"TYPE_VDP_VLAN \u003d \u0027vdp_vlan\u0027"},{"line_number":81,"context_line":"TYPE_NONE \u003d \u0027none\u0027"}],"source_content_type":"text/x-python","patch_set":15,"id":"1abeadc6_0b38b63b","line":80,"updated":"2014-08-22 17:01:39.000000000","message":"At a glance it seems unrelated to this patch and to fit the ovs-agent patch. Why?","commit_id":"eab25bff75a0bf54250bd38328bfa32eb0d0492a"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"d896ebef9444b59883a25fe35f1d1268682c8879","unresolved":false,"context_lines":[{"line_number":77,"context_line":"TYPE_LOCAL \u003d \u0027local\u0027"},{"line_number":78,"context_line":"TYPE_VXLAN \u003d \u0027vxlan\u0027"},{"line_number":79,"context_line":"TYPE_VLAN \u003d \u0027vlan\u0027"},{"line_number":80,"context_line":"TYPE_VDP_VLAN \u003d \u0027vdp_vlan\u0027"},{"line_number":81,"context_line":"TYPE_NONE \u003d \u0027none\u0027"}],"source_content_type":"text/x-python","patch_set":15,"id":"1abeadc6_3ee68944","line":80,"in_reply_to":"1abeadc6_0b38b63b","updated":"2014-08-23 01:56:02.000000000","message":"This is actually needed by both OVS-agent and Type driver patch. Since this is the base patch, i have put it here than duplicating it in the other two patches.","commit_id":"eab25bff75a0bf54250bd38328bfa32eb0d0492a"}],"neutron/plugins/common/utils.py":[{"author":{"_account_id":5892,"name":"pritesh","email":"pritesh@romana.io","username":"pritkoth"},"change_message_id":"6cf4b461f08eb1c14f20fb8618fb35f14312c6db","unresolved":false,"context_lines":[{"line_number":71,"context_line":"    if segment_range[1] \u003c segment_range[0]:"},{"line_number":72,"context_line":"        raise n_exc.NetworkSegmentRangeError("},{"line_number":73,"context_line":"            segment_range\u003dsegment_range,"},{"line_number":74,"context_line":"            error\u003d_(\"End of segment range is less than start of \""},{"line_number":75,"context_line":"                    \"segment range\"))"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_311ccd13","line":74,"updated":"2014-07-08 20:57:39.000000000","message":"will fail pep, check http://legacy.python.org/dev/peps/pep-0008/#other-recommendations","commit_id":"fb6f0b44256e664ee118683556dfb06feb338112"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"a20e3505d4cdc86a530299e1c7e657c8986b8ea1","unresolved":false,"context_lines":[{"line_number":71,"context_line":"    if segment_range[1] \u003c segment_range[0]:"},{"line_number":72,"context_line":"        raise n_exc.NetworkSegmentRangeError("},{"line_number":73,"context_line":"            segment_range\u003dsegment_range,"},{"line_number":74,"context_line":"            error\u003d_(\"End of segment range is less than start of \""},{"line_number":75,"context_line":"                    \"segment range\"))"},{"line_number":76,"context_line":""},{"line_number":77,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_334fd135","line":74,"in_reply_to":"baada198_311ccd13","updated":"2014-07-14 05:41:05.000000000","message":"Done","commit_id":"fb6f0b44256e664ee118683556dfb06feb338112"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"726d8c5b6c8759723504de82ba94725516a74047","unresolved":false,"context_lines":[{"line_number":73,"context_line":"        raise n_exc.NetworkSegmentRangeError("},{"line_number":74,"context_line":"            segment_range\u003dsegment_range,"},{"line_number":75,"context_line":"            error\u003d_(\"End of segment range is less than start of \""},{"line_number":76,"context_line":"                    \"segment range\"))"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"def parse_network_segment_range(network_segment_range):"}],"source_content_type":"text/x-python","patch_set":4,"id":"baada198_b53a5ae5","line":76,"updated":"2014-07-17 03:40:19.000000000","message":"probably it\u0027s kinder to include the values in the message?","commit_id":"4cce08134184db81bbc8dddb3496ee175dfa5e8b"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"a94e1b5bbddd8a58ffd7d1e627d94bf4c4475c39","unresolved":false,"context_lines":[{"line_number":73,"context_line":"        raise n_exc.NetworkSegmentRangeError("},{"line_number":74,"context_line":"            segment_range\u003dsegment_range,"},{"line_number":75,"context_line":"            error\u003d_(\"End of segment range is less than start of \""},{"line_number":76,"context_line":"                    \"segment range\"))"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"def parse_network_segment_range(network_segment_range):"}],"source_content_type":"text/x-python","patch_set":4,"id":"baada198_c82aa9e6","line":76,"in_reply_to":"baada198_b53a5ae5","updated":"2014-07-18 00:56:45.000000000","message":"The segment range is passed to the exception handler. So, when exception occurs, the segment range values also gets printed.","commit_id":"4cce08134184db81bbc8dddb3496ee175dfa5e8b"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"8177fa00220d0212e758187d6cf048eda7095304","unresolved":false,"context_lines":[{"line_number":66,"context_line":"                      constants.PENDING_UPDATE,"},{"line_number":67,"context_line":"                      constants.PENDING_DELETE)"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"def verify_segment_range(segment_range):"},{"line_number":71,"context_line":"    \"\"\"Raise an exception for invalid tags or malformed range.\"\"\""},{"line_number":72,"context_line":"    if segment_range[1] \u003c segment_range[0]:"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_3108e22c","line":69,"updated":"2014-07-24 16:27:48.000000000","message":"All logic are very similar to VLAN related logic. Can\u0027t we share the code?","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"73002d2ff411b2f2900f70ccdb09e774e059231d","unresolved":false,"context_lines":[{"line_number":66,"context_line":"                      constants.PENDING_UPDATE,"},{"line_number":67,"context_line":"                      constants.PENDING_DELETE)"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"def verify_segment_range(segment_range):"},{"line_number":71,"context_line":"    \"\"\"Raise an exception for invalid tags or malformed range.\"\"\""},{"line_number":72,"context_line":"    if segment_range[1] \u003c segment_range[0]:"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_cfb75ad6","line":69,"in_reply_to":"baada198_3108e22c","updated":"2014-07-30 21:05:42.000000000","message":"The semantics are different, which is why it isn\u0027t shared now. Also, more scope for expanding this tomorrow.","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"8177fa00220d0212e758187d6cf048eda7095304","unresolved":false,"context_lines":[{"line_number":81,"context_line":"    entry \u003d network_segment_range.strip()"},{"line_number":82,"context_line":"    if \u0027:\u0027 in entry:"},{"line_number":83,"context_line":"        try:"},{"line_number":84,"context_line":"            network, seg_min, seg_max \u003d entry.split(\u0027:\u0027)"},{"line_number":85,"context_line":"            segment_range \u003d (int(seg_min), int(seg_max))"},{"line_number":86,"context_line":"        except ValueError as ex:"},{"line_number":87,"context_line":"            raise ValueError(_(\"Failed to get segment range: %s.\") % ex)"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_9149ae90","line":84,"updated":"2014-07-24 16:27:48.000000000","message":"split(\u0027:\u0027, 2) is better.","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"}],"neutron/plugins/ml2/drivers/cisco/dfa/type_cisco_dfa_overlay.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"fab9891819066ce977489737a6e13aebbfc61d0d","unresolved":false,"context_lines":[{"line_number":49,"context_line":""},{"line_number":50,"context_line":"cfg.CONF.register_opts(cisco_dfa_opts, \"ml2_type_cisco_dfa_overlay\")"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"class CiscoDfaSegmentAllocation(model_base.BASEV2):"},{"line_number":54,"context_line":"    \"\"\"Represent allocation state of a segment_id on a physical network."},{"line_number":55,"context_line":""}],"source_content_type":"text/x-python","patch_set":10,"id":"1abeadc6_61ccbd36","line":52,"updated":"2014-08-18 07:46:18.000000000","message":"I think it is better to have db models in a separate file. We have a patch to move db models to a separate file.\nBy doing so, we can avoid registering unnecessary option by L.50 above in the db migration script.","commit_id":"d1a9fa867bc0384b85f7460a80f07ad82c9ccac4"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"d2b7d0607c78066ece12e0c39e2a5ec4a50a4bca","unresolved":false,"context_lines":[{"line_number":49,"context_line":""},{"line_number":50,"context_line":"cfg.CONF.register_opts(cisco_dfa_opts, \"ml2_type_cisco_dfa_overlay\")"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":""},{"line_number":53,"context_line":"class CiscoDfaSegmentAllocation(model_base.BASEV2):"},{"line_number":54,"context_line":"    \"\"\"Represent allocation state of a segment_id on a physical network."},{"line_number":55,"context_line":""}],"source_content_type":"text/x-python","patch_set":10,"id":"1abeadc6_0c64fd20","line":52,"in_reply_to":"1abeadc6_61ccbd36","updated":"2014-08-19 00:54:28.000000000","message":"I am not sure, i understand it completely. Is it committed? Can you pls point me to the patch? I still see the db models (VlanAllocation) in VLAN type driver in master.","commit_id":"d1a9fa867bc0384b85f7460a80f07ad82c9ccac4"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"fab9891819066ce977489737a6e13aebbfc61d0d","unresolved":false,"context_lines":[{"line_number":73,"context_line":"    allocated \u003d sa.Column(sa.Boolean, nullable\u003dFalse)"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"class CiscoDfaOverlayTypeDriver(helpers.TypeDriverHelper):"},{"line_number":77,"context_line":"    \"\"\"Manage state for DFA Network with ML2."},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"    The CiscoDfaOverlayTypeDriver implements the \u0027DFA\u0027 network_type."}],"source_content_type":"text/x-python","patch_set":10,"id":"1abeadc6_8112b960","line":76,"updated":"2014-08-18 07:46:18.000000000","message":"Honestly speaking, this class has many duplicated logic with other type drivers and I am not a fun of such code duplication. What action do you plan?","commit_id":"d1a9fa867bc0384b85f7460a80f07ad82c9ccac4"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"d2b7d0607c78066ece12e0c39e2a5ec4a50a4bca","unresolved":false,"context_lines":[{"line_number":73,"context_line":"    allocated \u003d sa.Column(sa.Boolean, nullable\u003dFalse)"},{"line_number":74,"context_line":""},{"line_number":75,"context_line":""},{"line_number":76,"context_line":"class CiscoDfaOverlayTypeDriver(helpers.TypeDriverHelper):"},{"line_number":77,"context_line":"    \"\"\"Manage state for DFA Network with ML2."},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"    The CiscoDfaOverlayTypeDriver implements the \u0027DFA\u0027 network_type."}],"source_content_type":"text/x-python","patch_set":10,"id":"1abeadc6_afeea089","line":76,"in_reply_to":"1abeadc6_8112b960","updated":"2014-08-19 00:54:28.000000000","message":"Sure, but this is a hybrid type driver and the existing functions of type VLAN or Type Tunnel cannot be reused as is. Currently this reuses the helper class committed not that long ago [1]. Functions like reserve_provider_segment/release_segment/sync_xxx_allocation only changes in the semantics and the DB used for allocation. Other functions change in the choice of mandatory/optional arguments and verification.\nI would personally like a base hybrid type class created which has the core functionalities for sync, parse, validate methods and which also accepts DB table name as inputs. Verification functions should be provided by the TD\u0027s. \nI understand Arvind is planning to implement that as a part of his work. I have also mentioned that in [2]. So, this would be revisited by then.\n\n[1] https://review.openstack.org/#/c/71904/\n\n[2] https://docs.google.com/document/d/1rqTHiLgV_3bw3nbiggY_xM-xETDsw0aK5rZZVXopSU8/edit?pli\u003d1#","commit_id":"d1a9fa867bc0384b85f7460a80f07ad82c9ccac4"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"fab9891819066ce977489737a6e13aebbfc61d0d","unresolved":false,"context_lines":[{"line_number":82,"context_line":"    def __init__(self):"},{"line_number":83,"context_line":"        super(CiscoDfaOverlayTypeDriver,"},{"line_number":84,"context_line":"              self).__init__(CiscoDfaSegmentAllocation)"},{"line_number":85,"context_line":"        self._parse_cisco_dfa_segment_ranges()"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"    def _parse_cisco_dfa_segment_ranges(self):"},{"line_number":88,"context_line":"        try:"}],"source_content_type":"text/x-python","patch_set":10,"id":"1abeadc6_e1fe0d38","line":85,"updated":"2014-08-18 07:46:18.000000000","message":"In other type drivers, option parsing is done in initialize() method.","commit_id":"d1a9fa867bc0384b85f7460a80f07ad82c9ccac4"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"d2b7d0607c78066ece12e0c39e2a5ec4a50a4bca","unresolved":false,"context_lines":[{"line_number":82,"context_line":"    def __init__(self):"},{"line_number":83,"context_line":"        super(CiscoDfaOverlayTypeDriver,"},{"line_number":84,"context_line":"              self).__init__(CiscoDfaSegmentAllocation)"},{"line_number":85,"context_line":"        self._parse_cisco_dfa_segment_ranges()"},{"line_number":86,"context_line":""},{"line_number":87,"context_line":"    def _parse_cisco_dfa_segment_ranges(self):"},{"line_number":88,"context_line":"        try:"}],"source_content_type":"text/x-python","patch_set":10,"id":"1abeadc6_cfb91730","line":85,"in_reply_to":"1abeadc6_e1fe0d38","updated":"2014-08-19 00:54:28.000000000","message":"VLAN type driver seems to do parsing in init, which i took as a reference.","commit_id":"d1a9fa867bc0384b85f7460a80f07ad82c9ccac4"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"fab9891819066ce977489737a6e13aebbfc61d0d","unresolved":false,"context_lines":[{"line_number":93,"context_line":"        except Exception:"},{"line_number":94,"context_line":"            LOG.exception(_(\"Failed to parse cisco_dfa_segment_ranges. \""},{"line_number":95,"context_line":"                            \"Service terminated!\"))"},{"line_number":96,"context_line":"            sys.exit(1)"},{"line_number":97,"context_line":"        imsg \u003d (_(\"DFA segment ranges: %s\"),"},{"line_number":98,"context_line":"                self.cisco_dfa_segment_ranges)"},{"line_number":99,"context_line":"        LOG.info(imsg)"}],"source_content_type":"text/x-python","patch_set":10,"id":"1abeadc6_21a72551","line":96,"updated":"2014-08-18 07:46:18.000000000","message":"You must not use sys.exit in the normal code. Instead you should raise an regular exception here and raise SystemExit at outermost logic by catching the exception raised here.","commit_id":"d1a9fa867bc0384b85f7460a80f07ad82c9ccac4"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"d2b7d0607c78066ece12e0c39e2a5ec4a50a4bca","unresolved":false,"context_lines":[{"line_number":93,"context_line":"        except Exception:"},{"line_number":94,"context_line":"            LOG.exception(_(\"Failed to parse cisco_dfa_segment_ranges. \""},{"line_number":95,"context_line":"                            \"Service terminated!\"))"},{"line_number":96,"context_line":"            sys.exit(1)"},{"line_number":97,"context_line":"        imsg \u003d (_(\"DFA segment ranges: %s\"),"},{"line_number":98,"context_line":"                self.cisco_dfa_segment_ranges)"},{"line_number":99,"context_line":"        LOG.info(imsg)"}],"source_content_type":"text/x-python","patch_set":10,"id":"1abeadc6_12696ff9","line":96,"in_reply_to":"1abeadc6_21a72551","updated":"2014-08-19 00:54:28.000000000","message":"Done. This should also be taken care in VLAN type driver.","commit_id":"d1a9fa867bc0384b85f7460a80f07ad82c9ccac4"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"fab9891819066ce977489737a6e13aebbfc61d0d","unresolved":false,"context_lines":[{"line_number":96,"context_line":"            sys.exit(1)"},{"line_number":97,"context_line":"        imsg \u003d (_(\"DFA segment ranges: %s\"),"},{"line_number":98,"context_line":"                self.cisco_dfa_segment_ranges)"},{"line_number":99,"context_line":"        LOG.info(imsg)"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"    def _sync_cisco_dfa_segment_allocations(self):"},{"line_number":102,"context_line":"        session \u003d db_api.get_session()"}],"source_content_type":"text/x-python","patch_set":10,"id":"1abeadc6_619afd15","line":99,"updated":"2014-08-18 07:46:18.000000000","message":"imsg above is a tuple, so I believe it does not work as you expect.","commit_id":"d1a9fa867bc0384b85f7460a80f07ad82c9ccac4"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"d2b7d0607c78066ece12e0c39e2a5ec4a50a4bca","unresolved":false,"context_lines":[{"line_number":96,"context_line":"            sys.exit(1)"},{"line_number":97,"context_line":"        imsg \u003d (_(\"DFA segment ranges: %s\"),"},{"line_number":98,"context_line":"                self.cisco_dfa_segment_ranges)"},{"line_number":99,"context_line":"        LOG.info(imsg)"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":"    def _sync_cisco_dfa_segment_allocations(self):"},{"line_number":102,"context_line":"        session \u003d db_api.get_session()"}],"source_content_type":"text/x-python","patch_set":10,"id":"1abeadc6_5273e7e8","line":99,"in_reply_to":"1abeadc6_619afd15","updated":"2014-08-19 00:54:28.000000000","message":"Done","commit_id":"d1a9fa867bc0384b85f7460a80f07ad82c9ccac4"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"fab9891819066ce977489737a6e13aebbfc61d0d","unresolved":false,"context_lines":[{"line_number":178,"context_line":"                msg \u003d (_(\"physical_network \u0027%s\u0027 unknown for  provider network\")"},{"line_number":179,"context_line":"                       % physical_network)"},{"line_number":180,"context_line":"                raise exc.InvalidInput(error_message\u003dmsg)"},{"line_number":181,"context_line":"        elif segmentation_id:"},{"line_number":182,"context_line":"            msg \u003d _(\"segmentation_id requires physical network for \""},{"line_number":183,"context_line":"                    \"Cisco DFA provider network\")"},{"line_number":184,"context_line":"            raise exc.InvalidInput(error_message\u003dmsg)"}],"source_content_type":"text/x-python","patch_set":10,"id":"1abeadc6_4131810a","line":181,"updated":"2014-08-18 07:46:18.000000000","message":"\"not segmentation_id\"???\n\nIn addition, is segmentaiton_id\u003d0 valid or not?","commit_id":"d1a9fa867bc0384b85f7460a80f07ad82c9ccac4"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"d2b7d0607c78066ece12e0c39e2a5ec4a50a4bca","unresolved":false,"context_lines":[{"line_number":178,"context_line":"                msg \u003d (_(\"physical_network \u0027%s\u0027 unknown for  provider network\")"},{"line_number":179,"context_line":"                       % physical_network)"},{"line_number":180,"context_line":"                raise exc.InvalidInput(error_message\u003dmsg)"},{"line_number":181,"context_line":"        elif segmentation_id:"},{"line_number":182,"context_line":"            msg \u003d _(\"segmentation_id requires physical network for \""},{"line_number":183,"context_line":"                    \"Cisco DFA provider network\")"},{"line_number":184,"context_line":"            raise exc.InvalidInput(error_message\u003dmsg)"}],"source_content_type":"text/x-python","patch_set":10,"id":"1abeadc6_4f742ccf","line":181,"in_reply_to":"1abeadc6_4131810a","updated":"2014-08-19 00:54:28.000000000","message":"This follows the same logic as the VLAN TD. Physical Network is mandatory and if Segmentation ID is provided w/o physical_network, it\u0027s incorrect. \u0027segmentation_id\" is not mandatory.","commit_id":"d1a9fa867bc0384b85f7460a80f07ad82c9ccac4"}],"neutron/plugins/ml2/drivers/mech_openvswitch.py":[{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"b53ef34d2e2abbeab378fea42f656395c24f23c3","unresolved":false,"context_lines":[{"line_number":55,"context_line":"        elif network_type in [\u0027flat\u0027, \u0027vlan\u0027]:"},{"line_number":56,"context_line":"            return segment[api.PHYSICAL_NETWORK] in mappings"},{"line_number":57,"context_line":"        elif network_type \u003d\u003d \u0027network_overlay\u0027:"},{"line_number":58,"context_line":"            return True"},{"line_number":59,"context_line":"        else:"},{"line_number":60,"context_line":"            return False"}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_f0ee2821","line":58,"updated":"2014-07-14 09:37:16.000000000","message":"isn\u0027t it better to make this agent-config dependent?","commit_id":"94a969996e4b0a8812652df42f793e6eec49c1dd"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"923bff01b60c54634f229f683427a8aa1238dc2c","unresolved":false,"context_lines":[{"line_number":55,"context_line":"        elif network_type in [\u0027flat\u0027, \u0027vlan\u0027]:"},{"line_number":56,"context_line":"            return segment[api.PHYSICAL_NETWORK] in mappings"},{"line_number":57,"context_line":"        elif network_type \u003d\u003d \u0027network_overlay\u0027:"},{"line_number":58,"context_line":"            return True"},{"line_number":59,"context_line":"        else:"},{"line_number":60,"context_line":"            return False"}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_2f490160","line":58,"in_reply_to":"baada198_f0ee2821","updated":"2014-07-15 19:17:18.000000000","message":"We did think about this. We can potentially introduce some config called \u0027overlay_type\u0027 similar to \u0027tunnel_types\u0027. But, thought of having fewer configs since it\u0027s exactly the same as type driver. So, just followed the VLAN example.","commit_id":"94a969996e4b0a8812652df42f793e6eec49c1dd"}],"neutron/plugins/ml2/drivers/type_network_overlay.py":[{"author":{"_account_id":5892,"name":"pritesh","email":"pritesh@romana.io","username":"pritkoth"},"change_message_id":"6cf4b461f08eb1c14f20fb8618fb35f14312c6db","unresolved":false,"context_lines":[{"line_number":14,"context_line":"#    under the License."},{"line_number":15,"context_line":"#"},{"line_number":16,"context_line":"# @author: Nader Lahouti, Cisco Systems, Inc."},{"line_number":17,"context_line":"# @author: Padmanabhan Krishnan, Cisco Systems, Inc."},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"\"\"\"This file is created based on type_vlan.py with some modification to"},{"line_number":20,"context_line":"handle segmentation id allocation when network type is network overlay."}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_f1e175ff","line":17,"updated":"2014-07-08 20:57:39.000000000","message":"same","commit_id":"fb6f0b44256e664ee118683556dfb06feb338112"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"a20e3505d4cdc86a530299e1c7e657c8986b8ea1","unresolved":false,"context_lines":[{"line_number":14,"context_line":"#    under the License."},{"line_number":15,"context_line":"#"},{"line_number":16,"context_line":"# @author: Nader Lahouti, Cisco Systems, Inc."},{"line_number":17,"context_line":"# @author: Padmanabhan Krishnan, Cisco Systems, Inc."},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"\"\"\"This file is created based on type_vlan.py with some modification to"},{"line_number":20,"context_line":"handle segmentation id allocation when network type is network overlay."}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_f36f1990","line":17,"in_reply_to":"baada198_f1e175ff","updated":"2014-07-14 05:41:05.000000000","message":"Same reply as earlier.","commit_id":"fb6f0b44256e664ee118683556dfb06feb338112"},{"author":{"_account_id":5892,"name":"pritesh","email":"pritesh@romana.io","username":"pritkoth"},"change_message_id":"6cf4b461f08eb1c14f20fb8618fb35f14312c6db","unresolved":false,"context_lines":[{"line_number":219,"context_line":"                     with_lockmode(\u0027update\u0027)."},{"line_number":220,"context_line":"                     first())"},{"line_number":221,"context_line":"            if alloc:"},{"line_number":222,"context_line":"                LOG.debug(_(\"Allocating segment %(seg_id)s on physical network\""},{"line_number":223,"context_line":"                            \" %(physical_network)s from pool\"),"},{"line_number":224,"context_line":"                          {\u0027seg_id\u0027: alloc.segment_id,"},{"line_number":225,"context_line":"                           \u0027physical_network\u0027: alloc.physical_network})"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_11cd0987","line":222,"updated":"2014-07-08 20:57:39.000000000","message":"same and else where in the file","commit_id":"fb6f0b44256e664ee118683556dfb06feb338112"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"a20e3505d4cdc86a530299e1c7e657c8986b8ea1","unresolved":false,"context_lines":[{"line_number":219,"context_line":"                     with_lockmode(\u0027update\u0027)."},{"line_number":220,"context_line":"                     first())"},{"line_number":221,"context_line":"            if alloc:"},{"line_number":222,"context_line":"                LOG.debug(_(\"Allocating segment %(seg_id)s on physical network\""},{"line_number":223,"context_line":"                            \" %(physical_network)s from pool\"),"},{"line_number":224,"context_line":"                          {\u0027seg_id\u0027: alloc.segment_id,"},{"line_number":225,"context_line":"                           \u0027physical_network\u0027: alloc.physical_network})"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_1369ed8b","line":222,"in_reply_to":"baada198_11cd0987","updated":"2014-07-14 05:41:05.000000000","message":"Done","commit_id":"fb6f0b44256e664ee118683556dfb06feb338112"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"726d8c5b6c8759723504de82ba94725516a74047","unresolved":false,"context_lines":[{"line_number":89,"context_line":"            LOG.exception(_(\"Failed to parse network_overlay_segment_ranges. \""},{"line_number":90,"context_line":"                            \"Service terminated!\"))"},{"line_number":91,"context_line":"            sys.exit(1)"},{"line_number":92,"context_line":"        imsg \u003d (_(\"Network overlay segment  ranges: %s\"),"},{"line_number":93,"context_line":"                self.network_overlay_segment_ranges)"},{"line_number":94,"context_line":"        LOG.info(imsg)"},{"line_number":95,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"baada198_35fbaa48","line":92,"range":{"start_line":92,"start_character":42,"end_line":92,"end_character":43},"updated":"2014-07-17 03:40:19.000000000","message":"extra space?","commit_id":"4cce08134184db81bbc8dddb3496ee175dfa5e8b"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"a94e1b5bbddd8a58ffd7d1e627d94bf4c4475c39","unresolved":false,"context_lines":[{"line_number":89,"context_line":"            LOG.exception(_(\"Failed to parse network_overlay_segment_ranges. \""},{"line_number":90,"context_line":"                            \"Service terminated!\"))"},{"line_number":91,"context_line":"            sys.exit(1)"},{"line_number":92,"context_line":"        imsg \u003d (_(\"Network overlay segment  ranges: %s\"),"},{"line_number":93,"context_line":"                self.network_overlay_segment_ranges)"},{"line_number":94,"context_line":"        LOG.info(imsg)"},{"line_number":95,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"baada198_570c7f3b","line":92,"in_reply_to":"baada198_35fbaa48","updated":"2014-07-18 00:56:45.000000000","message":"Done","commit_id":"4cce08134184db81bbc8dddb3496ee175dfa5e8b"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"726d8c5b6c8759723504de82ba94725516a74047","unresolved":false,"context_lines":[{"line_number":192,"context_line":"                alloc \u003d (session.query(NetworkOverlaySegmentAllocation)."},{"line_number":193,"context_line":"                         filter_by(physical_network\u003dphysical_network,"},{"line_number":194,"context_line":"                                   segment_id\u003dsegment_id)."},{"line_number":195,"context_line":"                         with_lockmode(\u0027update\u0027)."},{"line_number":196,"context_line":"                         one())"},{"line_number":197,"context_line":"                if alloc.allocated:"},{"line_number":198,"context_line":"                    raise exc.SegmentIdInUse(segment_id\u003dsegment_id,"}],"source_content_type":"text/x-python","patch_set":4,"id":"baada198_d5a18e47","line":195,"updated":"2014-07-17 03:40:19.000000000","message":"you might want to try to avoid select for update.\ncf. https://review.openstack.org/#/c/71904/","commit_id":"4cce08134184db81bbc8dddb3496ee175dfa5e8b"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"a94e1b5bbddd8a58ffd7d1e627d94bf4c4475c39","unresolved":false,"context_lines":[{"line_number":192,"context_line":"                alloc \u003d (session.query(NetworkOverlaySegmentAllocation)."},{"line_number":193,"context_line":"                         filter_by(physical_network\u003dphysical_network,"},{"line_number":194,"context_line":"                                   segment_id\u003dsegment_id)."},{"line_number":195,"context_line":"                         with_lockmode(\u0027update\u0027)."},{"line_number":196,"context_line":"                         one())"},{"line_number":197,"context_line":"                if alloc.allocated:"},{"line_number":198,"context_line":"                    raise exc.SegmentIdInUse(segment_id\u003dsegment_id,"}],"source_content_type":"text/x-python","patch_set":4,"id":"baada198_8848b1cd","line":195,"in_reply_to":"baada198_d5a18e47","updated":"2014-07-18 00:56:45.000000000","message":"Thanks for the link. I am more inclined to put a Revisit here now. Once that gets committed, i can reuse the helper functions. Otherwise, it\u0027s going to be a duplicate.","commit_id":"4cce08134184db81bbc8dddb3496ee175dfa5e8b"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"5caf14c25309cca92424c0364a30b8308b22f638","unresolved":false,"context_lines":[{"line_number":19,"context_line":"\"\"\"This file is created based on type_vlan.py with some modification to"},{"line_number":20,"context_line":"handle segmentation id allocation when network type is network overlay."},{"line_number":21,"context_line":"The segmentation id allocated by driver does not have 4k limitiation in"},{"line_number":22,"context_line":"vlan type driver. The network overlay supports more than 4k segmentation id."},{"line_number":23,"context_line":"\"\"\""},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"import sys"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_c3d0b555","line":22,"updated":"2014-07-18 13:41:15.000000000","message":"this seems very similar with type_vlan.\nhave you considered sharing code?","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"a97958bd1fb038f2cf742269ff15db3375ed79a6","unresolved":false,"context_lines":[{"line_number":19,"context_line":"\"\"\"This file is created based on type_vlan.py with some modification to"},{"line_number":20,"context_line":"handle segmentation id allocation when network type is network overlay."},{"line_number":21,"context_line":"The segmentation id allocated by driver does not have 4k limitiation in"},{"line_number":22,"context_line":"vlan type driver. The network overlay supports more than 4k segmentation id."},{"line_number":23,"context_line":"\"\"\""},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"import sys"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_f3672eb6","line":22,"in_reply_to":"baada198_c3d0b555","updated":"2014-07-19 06:26:15.000000000","message":"Even though there are may similarities, there are important differences including the DB and segmentation check. This has more scope for extensions. This is the initial framework. Let\u0027s get the functionality supported first and then we shall share it with similar parallel efforts including the one you pointed previously, once it becomes available.","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"}],"neutron/plugins/openvswitch/agent/ovs_neutron_agent.py":[{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"b53ef34d2e2abbeab378fea42f656395c24f23c3","unresolved":false,"context_lines":[{"line_number":1149,"context_line":"        for uplink, physical_network in uplink_mappings.iteritems():"},{"line_number":1150,"context_line":"            br \u003d self.phys_brs[physical_network]"},{"line_number":1151,"context_line":"            lldp_ovs_veth_str \u003d constants.LLDPAD_OVS_VETH_PORT + uplink"},{"line_number":1152,"context_line":"            lldp_loc_veth_str \u003d constants.LLDPAD_LOC_VETH_PORT + uplink"},{"line_number":1153,"context_line":"            high_prio \u003d 99"},{"line_number":1154,"context_line":"            br.delete_port(lldp_ovs_veth_str)"},{"line_number":1155,"context_line":"            br.delete_port(lldp_loc_veth_str)"}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_90eface8","line":1152,"updated":"2014-07-14 09:37:16.000000000","message":"how long \"uplink\" can be?\nbecause these prefixes are long, these can easily hit the device name length limit.","commit_id":"94a969996e4b0a8812652df42f793e6eec49c1dd"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"923bff01b60c54634f229f683427a8aa1238dc2c","unresolved":false,"context_lines":[{"line_number":1149,"context_line":"        for uplink, physical_network in uplink_mappings.iteritems():"},{"line_number":1150,"context_line":"            br \u003d self.phys_brs[physical_network]"},{"line_number":1151,"context_line":"            lldp_ovs_veth_str \u003d constants.LLDPAD_OVS_VETH_PORT + uplink"},{"line_number":1152,"context_line":"            lldp_loc_veth_str \u003d constants.LLDPAD_LOC_VETH_PORT + uplink"},{"line_number":1153,"context_line":"            high_prio \u003d 99"},{"line_number":1154,"context_line":"            br.delete_port(lldp_ovs_veth_str)"},{"line_number":1155,"context_line":"            br.delete_port(lldp_loc_veth_str)"}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_22b83d74","line":1152,"in_reply_to":"baada198_90eface8","updated":"2014-07-15 19:17:18.000000000","message":"We did hit this issue previously, the constant names used to be longer before!!. \u0027uplink\u0027 refers to the physical port connected to the upstream switch. e.g eth2, eth3...","commit_id":"94a969996e4b0a8812652df42f793e6eec49c1dd"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"b53ef34d2e2abbeab378fea42f656395c24f23c3","unresolved":false,"context_lines":[{"line_number":1152,"context_line":"            lldp_loc_veth_str \u003d constants.LLDPAD_LOC_VETH_PORT + uplink"},{"line_number":1153,"context_line":"            high_prio \u003d 99"},{"line_number":1154,"context_line":"            br.delete_port(lldp_ovs_veth_str)"},{"line_number":1155,"context_line":"            br.delete_port(lldp_loc_veth_str)"},{"line_number":1156,"context_line":"            ip_wrapper \u003d ip_lib.IPWrapper(self.root_helper)"},{"line_number":1157,"context_line":"            if ip_lib.device_exists(lldp_ovs_veth_str,"},{"line_number":1158,"context_line":"                                    self.root_helper):"}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_02eef5ec","line":1155,"updated":"2014-07-14 09:37:16.000000000","message":"can loc side be attached to this bridge?","commit_id":"94a969996e4b0a8812652df42f793e6eec49c1dd"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"923bff01b60c54634f229f683427a8aa1238dc2c","unresolved":false,"context_lines":[{"line_number":1152,"context_line":"            lldp_loc_veth_str \u003d constants.LLDPAD_LOC_VETH_PORT + uplink"},{"line_number":1153,"context_line":"            high_prio \u003d 99"},{"line_number":1154,"context_line":"            br.delete_port(lldp_ovs_veth_str)"},{"line_number":1155,"context_line":"            br.delete_port(lldp_loc_veth_str)"},{"line_number":1156,"context_line":"            ip_wrapper \u003d ip_lib.IPWrapper(self.root_helper)"},{"line_number":1157,"context_line":"            if ip_lib.device_exists(lldp_ovs_veth_str,"},{"line_number":1158,"context_line":"                                    self.root_helper):"}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_dd3cc295","line":1155,"in_reply_to":"baada198_02eef5ec","updated":"2014-07-15 19:17:18.000000000","message":"loc side is not attached to the bridge. So, yes, the above delete is not needed. Removed it in the latest, thanks.","commit_id":"94a969996e4b0a8812652df42f793e6eec49c1dd"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"8177fa00220d0212e758187d6cf048eda7095304","unresolved":false,"context_lines":[{"line_number":392,"context_line":"        if not self.l2_pop:"},{"line_number":393,"context_line":"            self.setup_tunnel_port(tun_name, tunnel_ip, tunnel_type)"},{"line_number":394,"context_line":""},{"line_number":395,"context_line":"    def send_vm_info(self, context, **kwargs):"},{"line_number":396,"context_line":"        \u0027\u0027\u0027Stores the vendor specific info called through MD"},{"line_number":397,"context_line":""},{"line_number":398,"context_line":"        \u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_62bfeaab","line":395,"updated":"2014-07-24 16:27:48.000000000","message":"The method name seems not to match the description at the next line.\n\nIn addition, is it specific to VM port? How about load balancer port or dhcp port? If it is specific to VM port the method name might be correct. If not it is better to be reconsidered.","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"73002d2ff411b2f2900f70ccdb09e774e059231d","unresolved":false,"context_lines":[{"line_number":392,"context_line":"        if not self.l2_pop:"},{"line_number":393,"context_line":"            self.setup_tunnel_port(tun_name, tunnel_ip, tunnel_type)"},{"line_number":394,"context_line":""},{"line_number":395,"context_line":"    def send_vm_info(self, context, **kwargs):"},{"line_number":396,"context_line":"        \u0027\u0027\u0027Stores the vendor specific info called through MD"},{"line_number":397,"context_line":""},{"line_number":398,"context_line":"        \u0027\u0027\u0027"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_8972c548","line":395,"in_reply_to":"baada198_62bfeaab","updated":"2014-07-30 21:05:42.000000000","message":"This is a RPC. At this client side, the functionality is to store it.\nYes, it is specific to VM port.","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"5caf14c25309cca92424c0364a30b8308b22f638","unresolved":false,"context_lines":[{"line_number":399,"context_line":"        # NOTE: The oui data prepared by this method will be used by another"},{"line_number":400,"context_line":"        # blueprint that implements support for VDP in neutron agent:"},{"line_number":401,"context_line":"        # https://review.openstack.org/#/c/89728/"},{"line_number":402,"context_line":"        LOG.debug(_(\"vm_info received\"))"},{"line_number":403,"context_line":"        vminfo \u003d kwargs.get(\u0027vm_info\u0027)"},{"line_number":404,"context_line":"        if not vminfo:"},{"line_number":405,"context_line":"            LOG.error(_(\"NULL VM Info received\"))"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_63236905","line":402,"updated":"2014-07-18 13:41:15.000000000","message":"do not localize debug log.\n\nprobably better to use neutron.common.log.log","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"a97958bd1fb038f2cf742269ff15db3375ed79a6","unresolved":false,"context_lines":[{"line_number":399,"context_line":"        # NOTE: The oui data prepared by this method will be used by another"},{"line_number":400,"context_line":"        # blueprint that implements support for VDP in neutron agent:"},{"line_number":401,"context_line":"        # https://review.openstack.org/#/c/89728/"},{"line_number":402,"context_line":"        LOG.debug(_(\"vm_info received\"))"},{"line_number":403,"context_line":"        vminfo \u003d kwargs.get(\u0027vm_info\u0027)"},{"line_number":404,"context_line":"        if not vminfo:"},{"line_number":405,"context_line":"            LOG.error(_(\"NULL VM Info received\"))"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_9327d262","line":402,"in_reply_to":"baada198_63236905","updated":"2014-07-19 06:26:15.000000000","message":"ok. Have made a note of it. Will send out, when i submit my next patch.","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"73002d2ff411b2f2900f70ccdb09e774e059231d","unresolved":false,"context_lines":[{"line_number":399,"context_line":"        # NOTE: The oui data prepared by this method will be used by another"},{"line_number":400,"context_line":"        # blueprint that implements support for VDP in neutron agent:"},{"line_number":401,"context_line":"        # https://review.openstack.org/#/c/89728/"},{"line_number":402,"context_line":"        LOG.debug(_(\"vm_info received\"))"},{"line_number":403,"context_line":"        vminfo \u003d kwargs.get(\u0027vm_info\u0027)"},{"line_number":404,"context_line":"        if not vminfo:"},{"line_number":405,"context_line":"            LOG.error(_(\"NULL VM Info received\"))"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_a98ce9d8","line":402,"in_reply_to":"baada198_9327d262","updated":"2014-07-30 21:05:42.000000000","message":"Done","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"8177fa00220d0212e758187d6cf048eda7095304","unresolved":false,"context_lines":[{"line_number":598,"context_line":"        if not q_utils.is_valid_vlan_tag(vdp_vlan):"},{"line_number":599,"context_line":"            emsg \u003d _(\"Returned vlan %(vlan)s is invalid.\")"},{"line_number":600,"context_line":"            LOG.error(emsg % {\u0027vlan\u0027: vdp_vlan})"},{"line_number":601,"context_line":"            return 0"},{"line_number":602,"context_line":""},{"line_number":603,"context_line":"        LOG.debug(\u0027get_vlan_from_vdp: vdp_vlan \u003d %s\u0027 % (vdp_vlan))"},{"line_number":604,"context_line":"        return vdp_vlan"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_e2077a6e","line":601,"updated":"2014-07-24 16:27:48.000000000","message":"\"0\" should be defined as a constant because it has a special meaning.","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"73002d2ff411b2f2900f70ccdb09e774e059231d","unresolved":false,"context_lines":[{"line_number":598,"context_line":"        if not q_utils.is_valid_vlan_tag(vdp_vlan):"},{"line_number":599,"context_line":"            emsg \u003d _(\"Returned vlan %(vlan)s is invalid.\")"},{"line_number":600,"context_line":"            LOG.error(emsg % {\u0027vlan\u0027: vdp_vlan})"},{"line_number":601,"context_line":"            return 0"},{"line_number":602,"context_line":""},{"line_number":603,"context_line":"        LOG.debug(\u0027get_vlan_from_vdp: vdp_vlan \u003d %s\u0027 % (vdp_vlan))"},{"line_number":604,"context_line":"        return vdp_vlan"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_3b1f3cba","line":601,"in_reply_to":"baada198_e2077a6e","updated":"2014-07-30 21:05:42.000000000","message":"Moved the check and no return of 0 is made.","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"8177fa00220d0212e758187d6cf048eda7095304","unresolved":false,"context_lines":[{"line_number":707,"context_line":"        LOG.info(_(\"Assigning %(vlan_id)s as local vlan for \""},{"line_number":708,"context_line":"                   \"net-id\u003d%(net_uuid)s\"),"},{"line_number":709,"context_line":"                 {\u0027vlan_id\u0027: lvid, \u0027net_uuid\u0027: net_uuid})"},{"line_number":710,"context_line":""},{"line_number":711,"context_line":"        if network_type in p_const.TYPE_NETWORK_OVERLAY and self.vdp_enabled():"},{"line_number":712,"context_line":"            if physical_network in self.phys_brs:"},{"line_number":713,"context_line":"                vdp_vlan \u003d 0"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_82415ea8","line":710,"updated":"2014-07-24 16:27:48.000000000","message":"This method becomes too big. It is time to split it into submethods per network_type.","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"73002d2ff411b2f2900f70ccdb09e774e059231d","unresolved":false,"context_lines":[{"line_number":707,"context_line":"        LOG.info(_(\"Assigning %(vlan_id)s as local vlan for \""},{"line_number":708,"context_line":"                   \"net-id\u003d%(net_uuid)s\"),"},{"line_number":709,"context_line":"                 {\u0027vlan_id\u0027: lvid, \u0027net_uuid\u0027: net_uuid})"},{"line_number":710,"context_line":""},{"line_number":711,"context_line":"        if network_type in p_const.TYPE_NETWORK_OVERLAY and self.vdp_enabled():"},{"line_number":712,"context_line":"            if physical_network in self.phys_brs:"},{"line_number":713,"context_line":"                vdp_vlan \u003d 0"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_a8bdc7b3","line":710,"in_reply_to":"baada198_82415ea8","updated":"2014-07-30 21:05:42.000000000","message":"I had the urge to do this, but i was under the impression that Banix\u0027s generic/modular agent code will completely rewrite this. So, didn\u0027t do it earlier.\nBut, i did it now anyways. My next patch will have it. I have a provision function for every network type.","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"26b5fdbfbf889312a698d2ca788c84a57c2eaae6","unresolved":false,"context_lines":[{"line_number":271,"context_line":"            self.agent_state.pop(\u0027start_flag\u0027, None)"},{"line_number":272,"context_line":"        except Exception:"},{"line_number":273,"context_line":"            LOG.exception(_(\"Failed reporting state!\"))"},{"line_number":274,"context_line":""},{"line_number":275,"context_line":"    def vdp_vlan_change(self, vsw_cb_data, vdp_vlan):"},{"line_number":276,"context_line":"        \u0027\u0027\u0027Callback Function from VDP when provider VLAN changes"},{"line_number":277,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"baada198_dc533d6c","line":274,"updated":"2014-08-08 10:51:48.000000000","message":"Could you move VDP-related code into a separate class from the point of maintainability? This addition increases ovs-agent code side about 25%. It is a big addition and it is time to add a new class (or mixin).","commit_id":"92df42750b450cdbedc8f9400f4cdd1fb530a7f0"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"e99772312a1fc8d7dc0a6ddaa7ab5d37d3bbdf6e","unresolved":false,"context_lines":[{"line_number":271,"context_line":"            self.agent_state.pop(\u0027start_flag\u0027, None)"},{"line_number":272,"context_line":"        except Exception:"},{"line_number":273,"context_line":"            LOG.exception(_(\"Failed reporting state!\"))"},{"line_number":274,"context_line":""},{"line_number":275,"context_line":"    def vdp_vlan_change(self, vsw_cb_data, vdp_vlan):"},{"line_number":276,"context_line":"        \u0027\u0027\u0027Callback Function from VDP when provider VLAN changes"},{"line_number":277,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"7ac7a964_48cb41a5","line":274,"in_reply_to":"baada198_dc533d6c","updated":"2014-08-14 23:30:49.000000000","message":"Done","commit_id":"92df42750b450cdbedc8f9400f4cdd1fb530a7f0"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"26b5fdbfbf889312a698d2ca788c84a57c2eaae6","unresolved":false,"context_lines":[{"line_number":1138,"context_line":"    def setup_lldpad_ports(self):"},{"line_number":1139,"context_line":"        \u0027\u0027\u0027Setup the flows for passing LLDP/VDP frames in OVS."},{"line_number":1140,"context_line":""},{"line_number":1141,"context_line":"        \u0027\u0027\u0027"},{"line_number":1142,"context_line":"        try:"},{"line_number":1143,"context_line":"            uplink_mappings \u003d q_utils.parse_mappings(cfg.CONF.OVS."},{"line_number":1144,"context_line":"                                                     uplink_mappings)"}],"source_content_type":"text/x-python","patch_set":8,"id":"baada198_9c28e5ef","line":1141,"updated":"2014-08-08 10:51:48.000000000","message":"It should be one line.","commit_id":"92df42750b450cdbedc8f9400f4cdd1fb530a7f0"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"e99772312a1fc8d7dc0a6ddaa7ab5d37d3bbdf6e","unresolved":false,"context_lines":[{"line_number":1138,"context_line":"    def setup_lldpad_ports(self):"},{"line_number":1139,"context_line":"        \u0027\u0027\u0027Setup the flows for passing LLDP/VDP frames in OVS."},{"line_number":1140,"context_line":""},{"line_number":1141,"context_line":"        \u0027\u0027\u0027"},{"line_number":1142,"context_line":"        try:"},{"line_number":1143,"context_line":"            uplink_mappings \u003d q_utils.parse_mappings(cfg.CONF.OVS."},{"line_number":1144,"context_line":"                                                     uplink_mappings)"}],"source_content_type":"text/x-python","patch_set":8,"id":"7ac7a964_08d14957","line":1141,"in_reply_to":"baada198_9c28e5ef","updated":"2014-08-14 23:30:49.000000000","message":"Done","commit_id":"92df42750b450cdbedc8f9400f4cdd1fb530a7f0"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"fab9891819066ce977489737a6e13aebbfc61d0d","unresolved":false,"context_lines":[{"line_number":47,"context_line":"from neutron.plugins.common import constants as p_const"},{"line_number":48,"context_line":"from neutron.plugins.openvswitch.common import config  # noqa"},{"line_number":49,"context_line":"from neutron.plugins.openvswitch.common import constants"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":53,"context_line":""}],"source_content_type":"text/x-python","patch_set":10,"id":"1abeadc6_85a004f6","side":"PARENT","line":50,"updated":"2014-08-18 07:46:18.000000000","message":"Unrelated change.","commit_id":"f9981d0495553563d369a044e62ae3941cef3275"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"d2b7d0607c78066ece12e0c39e2a5ec4a50a4bca","unresolved":false,"context_lines":[{"line_number":47,"context_line":"from neutron.plugins.common import constants as p_const"},{"line_number":48,"context_line":"from neutron.plugins.openvswitch.common import config  # noqa"},{"line_number":49,"context_line":"from neutron.plugins.openvswitch.common import constants"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":53,"context_line":""}],"source_content_type":"text/x-python","patch_set":10,"id":"1abeadc6_0a5ea2e6","side":"PARENT","line":50,"in_reply_to":"1abeadc6_85a004f6","updated":"2014-08-19 00:54:28.000000000","message":"Will revert it back.","commit_id":"f9981d0495553563d369a044e62ae3941cef3275"}],"neutron/plugins/openvswitch/common/config.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"8177fa00220d0212e758187d6cf048eda7095304","unresolved":false,"context_lines":[{"line_number":57,"context_line":"                      \"either \u0027gre\u0027 or \u0027vxlan\u0027\")),"},{"line_number":58,"context_line":"    cfg.ListOpt(\u0027uplink_mappings\u0027,"},{"line_number":59,"context_line":"                default\u003dDEFAULT_UPLINK_MAPPINGS,"},{"line_number":60,"context_line":"                help\u003d_(\"List of \u003cuplink_interface\u003e:\u003cphysical_network\u003e\")),"},{"line_number":61,"context_line":"    cfg.BoolOpt(\u0027use_veth_interconnection\u0027, default\u003dFalse,"},{"line_number":62,"context_line":"                help\u003d_(\"Use veths instead of patch ports to interconnect the \""},{"line_number":63,"context_line":"                       \"integration bridge to physical bridges\")),"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_57b46635","line":60,"updated":"2014-07-24 16:27:48.000000000","message":"The description of config variables in the config guide are now generated from the code, so the help message here should have the same level of the description in sample config files.","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"73002d2ff411b2f2900f70ccdb09e774e059231d","unresolved":false,"context_lines":[{"line_number":57,"context_line":"                      \"either \u0027gre\u0027 or \u0027vxlan\u0027\")),"},{"line_number":58,"context_line":"    cfg.ListOpt(\u0027uplink_mappings\u0027,"},{"line_number":59,"context_line":"                default\u003dDEFAULT_UPLINK_MAPPINGS,"},{"line_number":60,"context_line":"                help\u003d_(\"List of \u003cuplink_interface\u003e:\u003cphysical_network\u003e\")),"},{"line_number":61,"context_line":"    cfg.BoolOpt(\u0027use_veth_interconnection\u0027, default\u003dFalse,"},{"line_number":62,"context_line":"                help\u003d_(\"Use veths instead of patch ports to interconnect the \""},{"line_number":63,"context_line":"                       \"integration bridge to physical bridges\")),"}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_26be3c65","line":60,"in_reply_to":"baada198_57b46635","updated":"2014-07-30 21:05:42.000000000","message":"Done","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"8177fa00220d0212e758187d6cf048eda7095304","unresolved":false,"context_lines":[{"line_number":95,"context_line":"    cfg.BoolOpt(\u0027vdp_802_1_qbg\u0027, default\u003dFalse,"},{"line_number":96,"context_line":"                help\u003d_(\"Configuration flag for VDP support.\")),"},{"line_number":97,"context_line":"    cfg.BoolOpt(\u0027host_overlay\u0027, default\u003dTrue,"},{"line_number":98,"context_line":"                help\u003d_(\"Configuration flag for host overlay support.\")),"},{"line_number":99,"context_line":"]"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_97e8be17","line":98,"updated":"2014-07-24 16:27:48.000000000","message":"I don\u0027t see these two options in the sample OVS config file.","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"73002d2ff411b2f2900f70ccdb09e774e059231d","unresolved":false,"context_lines":[{"line_number":95,"context_line":"    cfg.BoolOpt(\u0027vdp_802_1_qbg\u0027, default\u003dFalse,"},{"line_number":96,"context_line":"                help\u003d_(\"Configuration flag for VDP support.\")),"},{"line_number":97,"context_line":"    cfg.BoolOpt(\u0027host_overlay\u0027, default\u003dTrue,"},{"line_number":98,"context_line":"                help\u003d_(\"Configuration flag for host overlay support.\")),"},{"line_number":99,"context_line":"]"},{"line_number":100,"context_line":""},{"line_number":101,"context_line":""}],"source_content_type":"text/x-python","patch_set":6,"id":"baada198_8669c828","line":98,"in_reply_to":"baada198_97e8be17","updated":"2014-07-30 21:05:42.000000000","message":"Adressed.","commit_id":"308a7fc8dff0a4f10fbf96579568d3002c5d5129"}],"neutron/tests/unit/agent/linux/test_lldpad.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"b6838cb9f147202c166b31ef17db66141a33f3de","unresolved":false,"context_lines":[{"line_number":16,"context_line":"# @author: Padmanabhan Krishnan, Cisco Systems Inc."},{"line_number":17,"context_line":"#"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"import collections"},{"line_number":20,"context_line":"import mock"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"from neutron.agent.linux import lldpad"}],"source_content_type":"text/x-python","patch_set":15,"id":"1abeadc6_ab15029d","line":19,"updated":"2014-08-22 17:01:39.000000000","message":"Needs a blank line here.","commit_id":"eab25bff75a0bf54250bd38328bfa32eb0d0492a"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"d896ebef9444b59883a25fe35f1d1268682c8879","unresolved":false,"context_lines":[{"line_number":16,"context_line":"# @author: Padmanabhan Krishnan, Cisco Systems Inc."},{"line_number":17,"context_line":"#"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"import collections"},{"line_number":20,"context_line":"import mock"},{"line_number":21,"context_line":""},{"line_number":22,"context_line":"from neutron.agent.linux import lldpad"}],"source_content_type":"text/x-python","patch_set":15,"id":"1abeadc6_0cad22e9","line":19,"in_reply_to":"1abeadc6_ab15029d","updated":"2014-08-23 01:56:02.000000000","message":"Done","commit_id":"eab25bff75a0bf54250bd38328bfa32eb0d0492a"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"b6838cb9f147202c166b31ef17db66141a33f3de","unresolved":false,"context_lines":[{"line_number":31,"context_line":"    OrderedDict \u003d ordereddict.OrderedDict"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"class LldpadDriver_Test(base.BaseTestCase):"},{"line_number":35,"context_line":"    \"\"\"A test suite to exercise the Lldpad Driver.  \"\"\""},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"    def setUp(self):"}],"source_content_type":"text/x-python","patch_set":15,"id":"1abeadc6_4b246e0c","line":34,"updated":"2014-08-22 17:01:39.000000000","message":"(nit) underscore looks unnecessary.","commit_id":"eab25bff75a0bf54250bd38328bfa32eb0d0492a"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"d896ebef9444b59883a25fe35f1d1268682c8879","unresolved":false,"context_lines":[{"line_number":31,"context_line":"    OrderedDict \u003d ordereddict.OrderedDict"},{"line_number":32,"context_line":""},{"line_number":33,"context_line":""},{"line_number":34,"context_line":"class LldpadDriver_Test(base.BaseTestCase):"},{"line_number":35,"context_line":"    \"\"\"A test suite to exercise the Lldpad Driver.  \"\"\""},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"    def setUp(self):"}],"source_content_type":"text/x-python","patch_set":15,"id":"1abeadc6_5e66e5bb","line":34,"in_reply_to":"1abeadc6_4b246e0c","updated":"2014-08-23 01:56:02.000000000","message":"Done","commit_id":"eab25bff75a0bf54250bd38328bfa32eb0d0492a"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"b6838cb9f147202c166b31ef17db66141a33f3de","unresolved":false,"context_lines":[{"line_number":44,"context_line":"            utils, \"execute\", spec\u003dutils.execute).start()"},{"line_number":45,"context_line":"        self.fill_default_vsi_params()"},{"line_number":46,"context_line":"        with mock.patch.object(utils,"},{"line_number":47,"context_line":"                               \"execute\", spec\u003dutils.execute) as utils_ex:"},{"line_number":48,"context_line":"            parent \u003d mock.MagicMock()"},{"line_number":49,"context_line":"            parent.attach_mock(utils_ex, \u0027execute\u0027)"},{"line_number":50,"context_line":"            self.lldpad \u003d lldpad.LldpadDriver(self.port_str, self.uplink,"}],"source_content_type":"text/x-python","patch_set":15,"id":"1abeadc6_ab7c22ed","line":47,"updated":"2014-08-22 17:01:39.000000000","message":"I am not sure why we need to mock utils.execute twice. utils.execute is mocked at L.44 already.","commit_id":"eab25bff75a0bf54250bd38328bfa32eb0d0492a"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"d896ebef9444b59883a25fe35f1d1268682c8879","unresolved":false,"context_lines":[{"line_number":44,"context_line":"            utils, \"execute\", spec\u003dutils.execute).start()"},{"line_number":45,"context_line":"        self.fill_default_vsi_params()"},{"line_number":46,"context_line":"        with mock.patch.object(utils,"},{"line_number":47,"context_line":"                               \"execute\", spec\u003dutils.execute) as utils_ex:"},{"line_number":48,"context_line":"            parent \u003d mock.MagicMock()"},{"line_number":49,"context_line":"            parent.attach_mock(utils_ex, \u0027execute\u0027)"},{"line_number":50,"context_line":"            self.lldpad \u003d lldpad.LldpadDriver(self.port_str, self.uplink,"}],"source_content_type":"text/x-python","patch_set":15,"id":"1abeadc6_31d5d7e4","line":47,"in_reply_to":"1abeadc6_ab7c22ed","updated":"2014-08-23 01:56:02.000000000","message":"Done","commit_id":"eab25bff75a0bf54250bd38328bfa32eb0d0492a"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"b6838cb9f147202c166b31ef17db66141a33f3de","unresolved":false,"context_lines":[{"line_number":62,"context_line":"                                                 \"-V\", \"evb\", \"-c\","},{"line_number":63,"context_line":"                                                 \"evbgpid\u003dyes\"],"},{"line_number":64,"context_line":"                                                root_helper\u003dself.root_helper)]"},{"line_number":65,"context_line":"            parent.assert_has_calls(expected_calls, any_order\u003dFalse)"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"    def _test_enable_lldp(self, is_ncb\u003dTrue):"},{"line_number":68,"context_line":"        self.lldpad.enable_lldp()"}],"source_content_type":"text/x-python","patch_set":15,"id":"1abeadc6_4b00ee33","line":65,"updated":"2014-08-22 17:01:39.000000000","message":"assert_has_calls in setUp looks odd. Could you move it to some test case?","commit_id":"eab25bff75a0bf54250bd38328bfa32eb0d0492a"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"d896ebef9444b59883a25fe35f1d1268682c8879","unresolved":false,"context_lines":[{"line_number":62,"context_line":"                                                 \"-V\", \"evb\", \"-c\","},{"line_number":63,"context_line":"                                                 \"evbgpid\u003dyes\"],"},{"line_number":64,"context_line":"                                                root_helper\u003dself.root_helper)]"},{"line_number":65,"context_line":"            parent.assert_has_calls(expected_calls, any_order\u003dFalse)"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"    def _test_enable_lldp(self, is_ncb\u003dTrue):"},{"line_number":68,"context_line":"        self.lldpad.enable_lldp()"}],"source_content_type":"text/x-python","patch_set":15,"id":"1abeadc6_44753830","line":65,"in_reply_to":"1abeadc6_4b00ee33","updated":"2014-08-23 01:56:02.000000000","message":"I can move it to another function. The purpose of the init function is to configure the necessary stuff before VDP operations can start, which is what is tested here.","commit_id":"eab25bff75a0bf54250bd38328bfa32eb0d0492a"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"b6838cb9f147202c166b31ef17db66141a33f3de","unresolved":false,"context_lines":[{"line_number":64,"context_line":"                                                root_helper\u003dself.root_helper)]"},{"line_number":65,"context_line":"            parent.assert_has_calls(expected_calls, any_order\u003dFalse)"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"    def _test_enable_lldp(self, is_ncb\u003dTrue):"},{"line_number":68,"context_line":"        self.lldpad.enable_lldp()"},{"line_number":69,"context_line":"        if is_ncb is True:"},{"line_number":70,"context_line":"            self.execute.assert_called_with("}],"source_content_type":"text/x-python","patch_set":15,"id":"1abeadc6_ab98a21c","line":67,"updated":"2014-08-22 17:01:39.000000000","message":"This method is used only once. Why do you need to use the submethod?","commit_id":"eab25bff75a0bf54250bd38328bfa32eb0d0492a"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"d896ebef9444b59883a25fe35f1d1268682c8879","unresolved":false,"context_lines":[{"line_number":64,"context_line":"                                                root_helper\u003dself.root_helper)]"},{"line_number":65,"context_line":"            parent.assert_has_calls(expected_calls, any_order\u003dFalse)"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"    def _test_enable_lldp(self, is_ncb\u003dTrue):"},{"line_number":68,"context_line":"        self.lldpad.enable_lldp()"},{"line_number":69,"context_line":"        if is_ncb is True:"},{"line_number":70,"context_line":"            self.execute.assert_called_with("}],"source_content_type":"text/x-python","patch_set":15,"id":"1abeadc6_c4fdc86f","line":67,"in_reply_to":"1abeadc6_ab98a21c","updated":"2014-08-23 01:56:02.000000000","message":"Was thinking of re-using it for \"ncb\u003dfalse\" case. But, since there\u0027s no special use case now, didn\u0027t add that. Left it this way, in case if this needs to be used for future.","commit_id":"eab25bff75a0bf54250bd38328bfa32eb0d0492a"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"b6838cb9f147202c166b31ef17db66141a33f3de","unresolved":false,"context_lines":[{"line_number":105,"context_line":"        self.mode_str \u003d \"mode\u003dassoc\""},{"line_number":106,"context_line":""},{"line_number":107,"context_line":"    def test_vdp_port_up_new_nwk(self):"},{"line_number":108,"context_line":"        self.mock_vlan_ret \u003d 3003"},{"line_number":109,"context_line":"        self.execute.return_value \u003d \"\\nReturn from vsievt 0 ret 0 Reply assoc,\\"},{"line_number":110,"context_line":"                                    0,0,0,00000000-1111-2222-3333-444455556666\\"},{"line_number":111,"context_line":"                                    ,0,3003-00:11:22:33:44:55-0\\n\\nMsg is \\"}],"source_content_type":"text/x-python","patch_set":15,"id":"1abeadc6_ebb53a7e","line":108,"updated":"2014-08-22 17:01:39.000000000","message":"There is no need to make this an instance variable. It seems enough to be a local variable.\n\nIn addition, \"expected_vlan\" seems a better name.","commit_id":"eab25bff75a0bf54250bd38328bfa32eb0d0492a"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"d896ebef9444b59883a25fe35f1d1268682c8879","unresolved":false,"context_lines":[{"line_number":105,"context_line":"        self.mode_str \u003d \"mode\u003dassoc\""},{"line_number":106,"context_line":""},{"line_number":107,"context_line":"    def test_vdp_port_up_new_nwk(self):"},{"line_number":108,"context_line":"        self.mock_vlan_ret \u003d 3003"},{"line_number":109,"context_line":"        self.execute.return_value \u003d \"\\nReturn from vsievt 0 ret 0 Reply assoc,\\"},{"line_number":110,"context_line":"                                    0,0,0,00000000-1111-2222-3333-444455556666\\"},{"line_number":111,"context_line":"                                    ,0,3003-00:11:22:33:44:55-0\\n\\nMsg is \\"}],"source_content_type":"text/x-python","patch_set":15,"id":"1abeadc6_a431ac5b","line":108,"in_reply_to":"1abeadc6_ebb53a7e","updated":"2014-08-23 01:56:02.000000000","message":"Done","commit_id":"eab25bff75a0bf54250bd38328bfa32eb0d0492a"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"b6838cb9f147202c166b31ef17db66141a33f3de","unresolved":false,"context_lines":[{"line_number":111,"context_line":"                                    ,0,3003-00:11:22:33:44:55-0\\n\\nMsg is \\"},{"line_number":112,"context_line":"                                    assoc,0,0,0,a7bcdf85-8dad-42b1-8667-\\"},{"line_number":113,"context_line":"                                    29a9b75e9632,0,3003-fa:16:3e:6e:3f:a3-0\\n\""},{"line_number":114,"context_line":"        with mock.patch.object(self.lldpad, \"store_vdp_vsi\") as vdp_fn:"},{"line_number":115,"context_line":"            vlan_ret \u003d self.lldpad.send_vdp_vnic_up(uuid\u003dself.uuid,"},{"line_number":116,"context_line":"                                                    vsiid\u003dself.vsiid,"},{"line_number":117,"context_line":"                                                    mgrid\u003dself.mgrid,"}],"source_content_type":"text/x-python","patch_set":15,"id":"1abeadc6_4b0aae26","line":114,"updated":"2014-08-22 17:01:39.000000000","message":"Why do you need to mock the method of lldpad.py? Mocking the internal method of the tested module is not recommended.","commit_id":"eab25bff75a0bf54250bd38328bfa32eb0d0492a"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"d896ebef9444b59883a25fe35f1d1268682c8879","unresolved":false,"context_lines":[{"line_number":111,"context_line":"                                    ,0,3003-00:11:22:33:44:55-0\\n\\nMsg is \\"},{"line_number":112,"context_line":"                                    assoc,0,0,0,a7bcdf85-8dad-42b1-8667-\\"},{"line_number":113,"context_line":"                                    29a9b75e9632,0,3003-fa:16:3e:6e:3f:a3-0\\n\""},{"line_number":114,"context_line":"        with mock.patch.object(self.lldpad, \"store_vdp_vsi\") as vdp_fn:"},{"line_number":115,"context_line":"            vlan_ret \u003d self.lldpad.send_vdp_vnic_up(uuid\u003dself.uuid,"},{"line_number":116,"context_line":"                                                    vsiid\u003dself.vsiid,"},{"line_number":117,"context_line":"                                                    mgrid\u003dself.mgrid,"}],"source_content_type":"text/x-python","patch_set":15,"id":"1abeadc6_2e5c9618","line":114,"in_reply_to":"1abeadc6_4b0aae26","updated":"2014-08-23 01:56:02.000000000","message":"The main test is to ensure vdptool is called with right parameters. This method just stores values in its DB. Anyways, i removed the mock and use assert to test the actual values stored by this function.","commit_id":"eab25bff75a0bf54250bd38328bfa32eb0d0492a"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"b6838cb9f147202c166b31ef17db66141a33f3de","unresolved":false,"context_lines":[{"line_number":136,"context_line":"                                       True, vlan_ret, \"\", \"\", None, None)"},{"line_number":137,"context_line":""},{"line_number":138,"context_line":"    def test_vdp_port_up_new_nwk_invalid_vlan(self):"},{"line_number":139,"context_line":"        self.mock_vlan_ret \u003d 0"},{"line_number":140,"context_line":"        self.execute.return_value \u003d \"\\nReturn from vsievt -11\""},{"line_number":141,"context_line":"        with mock.patch.object(self.lldpad, \"store_vdp_vsi\") as vdp_fn:"},{"line_number":142,"context_line":"            vlan_ret \u003d self.lldpad.send_vdp_vnic_up(uuid\u003dself.uuid,"}],"source_content_type":"text/x-python","patch_set":15,"id":"1abeadc6_0bb99678","line":139,"updated":"2014-08-22 17:01:39.000000000","message":"Same comment as the above.","commit_id":"eab25bff75a0bf54250bd38328bfa32eb0d0492a"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"d896ebef9444b59883a25fe35f1d1268682c8879","unresolved":false,"context_lines":[{"line_number":136,"context_line":"                                       True, vlan_ret, \"\", \"\", None, None)"},{"line_number":137,"context_line":""},{"line_number":138,"context_line":"    def test_vdp_port_up_new_nwk_invalid_vlan(self):"},{"line_number":139,"context_line":"        self.mock_vlan_ret \u003d 0"},{"line_number":140,"context_line":"        self.execute.return_value \u003d \"\\nReturn from vsievt -11\""},{"line_number":141,"context_line":"        with mock.patch.object(self.lldpad, \"store_vdp_vsi\") as vdp_fn:"},{"line_number":142,"context_line":"            vlan_ret \u003d self.lldpad.send_vdp_vnic_up(uuid\u003dself.uuid,"}],"source_content_type":"text/x-python","patch_set":15,"id":"1abeadc6_cedfa267","line":139,"in_reply_to":"1abeadc6_0bb99678","updated":"2014-08-23 01:56:02.000000000","message":"Done","commit_id":"eab25bff75a0bf54250bd38328bfa32eb0d0492a"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"b6838cb9f147202c166b31ef17db66141a33f3de","unresolved":false,"context_lines":[{"line_number":163,"context_line":""},{"line_number":164,"context_line":"    def test_vdp_port_up_old_nwk(self):"},{"line_number":165,"context_line":"        self.filter_str \u003d \"filter\u003d100-00:11:22:33:44:55-20000\""},{"line_number":166,"context_line":"        self.vlan \u003d 100"},{"line_number":167,"context_line":"        with mock.patch.object(self.lldpad, \"store_vdp_vsi\") as vdp_fn:"},{"line_number":168,"context_line":"            self.lldpad.send_vdp_vnic_up(uuid\u003dself.uuid, vsiid\u003dself.vsiid,"},{"line_number":169,"context_line":"                                         mgrid\u003dself.mgrid,"}],"source_content_type":"text/x-python","patch_set":15,"id":"1abeadc6_6ba92a23","line":166,"updated":"2014-08-22 17:01:39.000000000","message":"Same comment as the above.","commit_id":"eab25bff75a0bf54250bd38328bfa32eb0d0492a"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"d896ebef9444b59883a25fe35f1d1268682c8879","unresolved":false,"context_lines":[{"line_number":163,"context_line":""},{"line_number":164,"context_line":"    def test_vdp_port_up_old_nwk(self):"},{"line_number":165,"context_line":"        self.filter_str \u003d \"filter\u003d100-00:11:22:33:44:55-20000\""},{"line_number":166,"context_line":"        self.vlan \u003d 100"},{"line_number":167,"context_line":"        with mock.patch.object(self.lldpad, \"store_vdp_vsi\") as vdp_fn:"},{"line_number":168,"context_line":"            self.lldpad.send_vdp_vnic_up(uuid\u003dself.uuid, vsiid\u003dself.vsiid,"},{"line_number":169,"context_line":"                                         mgrid\u003dself.mgrid,"}],"source_content_type":"text/x-python","patch_set":15,"id":"1abeadc6_b1ad679d","line":166,"in_reply_to":"1abeadc6_6ba92a23","updated":"2014-08-23 01:56:02.000000000","message":"Done","commit_id":"eab25bff75a0bf54250bd38328bfa32eb0d0492a"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"b6838cb9f147202c166b31ef17db66141a33f3de","unresolved":false,"context_lines":[{"line_number":164,"context_line":"    def test_vdp_port_up_old_nwk(self):"},{"line_number":165,"context_line":"        self.filter_str \u003d \"filter\u003d100-00:11:22:33:44:55-20000\""},{"line_number":166,"context_line":"        self.vlan \u003d 100"},{"line_number":167,"context_line":"        with mock.patch.object(self.lldpad, \"store_vdp_vsi\") as vdp_fn:"},{"line_number":168,"context_line":"            self.lldpad.send_vdp_vnic_up(uuid\u003dself.uuid, vsiid\u003dself.vsiid,"},{"line_number":169,"context_line":"                                         mgrid\u003dself.mgrid,"},{"line_number":170,"context_line":"                                         typeid\u003dself.typeid,"}],"source_content_type":"text/x-python","patch_set":15,"id":"1abeadc6_8f05b112","line":167,"updated":"2014-08-22 17:01:39.000000000","message":"Same comment as the above (store_vdp_vsi).","commit_id":"eab25bff75a0bf54250bd38328bfa32eb0d0492a"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"d896ebef9444b59883a25fe35f1d1268682c8879","unresolved":false,"context_lines":[{"line_number":164,"context_line":"    def test_vdp_port_up_old_nwk(self):"},{"line_number":165,"context_line":"        self.filter_str \u003d \"filter\u003d100-00:11:22:33:44:55-20000\""},{"line_number":166,"context_line":"        self.vlan \u003d 100"},{"line_number":167,"context_line":"        with mock.patch.object(self.lldpad, \"store_vdp_vsi\") as vdp_fn:"},{"line_number":168,"context_line":"            self.lldpad.send_vdp_vnic_up(uuid\u003dself.uuid, vsiid\u003dself.vsiid,"},{"line_number":169,"context_line":"                                         mgrid\u003dself.mgrid,"},{"line_number":170,"context_line":"                                         typeid\u003dself.typeid,"}],"source_content_type":"text/x-python","patch_set":15,"id":"1abeadc6_aead069d","line":167,"in_reply_to":"1abeadc6_8f05b112","updated":"2014-08-23 01:56:02.000000000","message":"Done","commit_id":"eab25bff75a0bf54250bd38328bfa32eb0d0492a"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"b6838cb9f147202c166b31ef17db66141a33f3de","unresolved":false,"context_lines":[{"line_number":189,"context_line":"    def test_vdp_port_down(self):"},{"line_number":190,"context_line":"        self.filter_str \u003d \"filter\u003d100-00:11:22:33:44:55-20000\""},{"line_number":191,"context_line":"        self.vlan \u003d 100"},{"line_number":192,"context_line":"        self.mode_str \u003d \"mode\u003ddeassoc\""},{"line_number":193,"context_line":"        with mock.patch.object(self.lldpad, \"clear_vdp_vsi\") as vdp_fn:"},{"line_number":194,"context_line":"            self.lldpad.send_vdp_vnic_down(uuid\u003dself.uuid, vsiid\u003dself.vsiid,"},{"line_number":195,"context_line":"                                           mgrid\u003dself.mgrid,"}],"source_content_type":"text/x-python","patch_set":15,"id":"1abeadc6_8f2cd19a","line":192,"updated":"2014-08-22 17:01:39.000000000","message":"There seems no need to make these three variables as instance variables.","commit_id":"eab25bff75a0bf54250bd38328bfa32eb0d0492a"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"d896ebef9444b59883a25fe35f1d1268682c8879","unresolved":false,"context_lines":[{"line_number":189,"context_line":"    def test_vdp_port_down(self):"},{"line_number":190,"context_line":"        self.filter_str \u003d \"filter\u003d100-00:11:22:33:44:55-20000\""},{"line_number":191,"context_line":"        self.vlan \u003d 100"},{"line_number":192,"context_line":"        self.mode_str \u003d \"mode\u003ddeassoc\""},{"line_number":193,"context_line":"        with mock.patch.object(self.lldpad, \"clear_vdp_vsi\") as vdp_fn:"},{"line_number":194,"context_line":"            self.lldpad.send_vdp_vnic_down(uuid\u003dself.uuid, vsiid\u003dself.vsiid,"},{"line_number":195,"context_line":"                                           mgrid\u003dself.mgrid,"}],"source_content_type":"text/x-python","patch_set":15,"id":"1abeadc6_ee237e02","line":192,"in_reply_to":"1abeadc6_8f2cd19a","updated":"2014-08-23 01:56:02.000000000","message":"Done","commit_id":"eab25bff75a0bf54250bd38328bfa32eb0d0492a"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"b6838cb9f147202c166b31ef17db66141a33f3de","unresolved":false,"context_lines":[{"line_number":190,"context_line":"        self.filter_str \u003d \"filter\u003d100-00:11:22:33:44:55-20000\""},{"line_number":191,"context_line":"        self.vlan \u003d 100"},{"line_number":192,"context_line":"        self.mode_str \u003d \"mode\u003ddeassoc\""},{"line_number":193,"context_line":"        with mock.patch.object(self.lldpad, \"clear_vdp_vsi\") as vdp_fn:"},{"line_number":194,"context_line":"            self.lldpad.send_vdp_vnic_down(uuid\u003dself.uuid, vsiid\u003dself.vsiid,"},{"line_number":195,"context_line":"                                           mgrid\u003dself.mgrid,"},{"line_number":196,"context_line":"                                           typeid\u003dself.typeid,"}],"source_content_type":"text/x-python","patch_set":15,"id":"1abeadc6_af08ad28","line":193,"updated":"2014-08-22 17:01:39.000000000","message":"Same comment as the above (store_vdp_vsi).","commit_id":"eab25bff75a0bf54250bd38328bfa32eb0d0492a"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"d896ebef9444b59883a25fe35f1d1268682c8879","unresolved":false,"context_lines":[{"line_number":190,"context_line":"        self.filter_str \u003d \"filter\u003d100-00:11:22:33:44:55-20000\""},{"line_number":191,"context_line":"        self.vlan \u003d 100"},{"line_number":192,"context_line":"        self.mode_str \u003d \"mode\u003ddeassoc\""},{"line_number":193,"context_line":"        with mock.patch.object(self.lldpad, \"clear_vdp_vsi\") as vdp_fn:"},{"line_number":194,"context_line":"            self.lldpad.send_vdp_vnic_down(uuid\u003dself.uuid, vsiid\u003dself.vsiid,"},{"line_number":195,"context_line":"                                           mgrid\u003dself.mgrid,"},{"line_number":196,"context_line":"                                           typeid\u003dself.typeid,"}],"source_content_type":"text/x-python","patch_set":15,"id":"1abeadc6_0e1fdab7","line":193,"in_reply_to":"1abeadc6_af08ad28","updated":"2014-08-23 01:56:02.000000000","message":"Done","commit_id":"eab25bff75a0bf54250bd38328bfa32eb0d0492a"},{"author":{"_account_id":12737,"name":"Jacek Swiderski","email":"jacek.swiderski@codilime.com","username":"Altran"},"change_message_id":"0bc6f80505ed073e4edb8d6956ece166013c37cf","unresolved":false,"context_lines":[{"line_number":103,"context_line":"        self.filter_str \u003d \"filter\u003d0-00:11:22:33:44:55-20000\""},{"line_number":104,"context_line":"        self.mode_str \u003d \"mode\u003dassoc\""},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"    def test_vdp_port_up_new_nwk(self):"},{"line_number":107,"context_line":"        expected_vlan \u003d 3003"},{"line_number":108,"context_line":"        self.execute.return_value \u003d \"\\nReturn from vsievt 0 ret 0 Reply assoc,\\"},{"line_number":109,"context_line":"                                    0,0,0,00000000-1111-2222-3333-444455556666\\"}],"source_content_type":"text/x-python","patch_set":17,"id":"1abeadc6_9bb67389","line":106,"updated":"2014-08-26 12:05:09.000000000","message":"test_vdp_port_up_new_nwk, test_vdp_port_up_new_nwk_invalid_vlan and maybe test_vdp_port_up_old_nwk could be refactored to avoid code duplication","commit_id":"84fb8f7aa3549ba13dcb6e1871c7b3b540b098bb"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"e104a89833ca9ed5ef27b26cb5490788a0124f7a","unresolved":false,"context_lines":[{"line_number":103,"context_line":"        self.filter_str \u003d \"filter\u003d0-00:11:22:33:44:55-20000\""},{"line_number":104,"context_line":"        self.mode_str \u003d \"mode\u003dassoc\""},{"line_number":105,"context_line":""},{"line_number":106,"context_line":"    def test_vdp_port_up_new_nwk(self):"},{"line_number":107,"context_line":"        expected_vlan \u003d 3003"},{"line_number":108,"context_line":"        self.execute.return_value \u003d \"\\nReturn from vsievt 0 ret 0 Reply assoc,\\"},{"line_number":109,"context_line":"                                    0,0,0,00000000-1111-2222-3333-444455556666\\"}],"source_content_type":"text/x-python","patch_set":17,"id":"1abeadc6_5a2a0c91","line":106,"in_reply_to":"1abeadc6_9bb67389","updated":"2014-08-26 16:08:10.000000000","message":"That\u0027s actually true. Will take care.","commit_id":"84fb8f7aa3549ba13dcb6e1871c7b3b540b098bb"},{"author":{"_account_id":12737,"name":"Jacek Swiderski","email":"jacek.swiderski@codilime.com","username":"Altran"},"change_message_id":"0bc6f80505ed073e4edb8d6956ece166013c37cf","unresolved":false,"context_lines":[{"line_number":124,"context_line":"                     \"-c\", self.typeid_str, \"-c\", self.typeidver_str,"},{"line_number":125,"context_line":"                     \"-c\", self.vsiid_str, \"-c\", \"hints\u003dnone\","},{"line_number":126,"context_line":"                     \"-c\", self.filter_str], root_helper\u003dself.root_helper)"},{"line_number":127,"context_line":"        self.assertEqual(vlan_ret, expected_vlan)"},{"line_number":128,"context_line":"        self.assertEqual(expected_vlan,"},{"line_number":129,"context_line":"                         self.lldpad.vdp_vif_map[self.uuid].get(\u0027vdp_vlan\u0027))"},{"line_number":130,"context_line":"        self.assertEqual(self.mgrid,"}],"source_content_type":"text/x-python","patch_set":17,"id":"1abeadc6_9b359348","line":127,"updated":"2014-08-26 12:05:09.000000000","message":"nit: expected, observed","commit_id":"84fb8f7aa3549ba13dcb6e1871c7b3b540b098bb"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"e104a89833ca9ed5ef27b26cb5490788a0124f7a","unresolved":false,"context_lines":[{"line_number":124,"context_line":"                     \"-c\", self.typeid_str, \"-c\", self.typeidver_str,"},{"line_number":125,"context_line":"                     \"-c\", self.vsiid_str, \"-c\", \"hints\u003dnone\","},{"line_number":126,"context_line":"                     \"-c\", self.filter_str], root_helper\u003dself.root_helper)"},{"line_number":127,"context_line":"        self.assertEqual(vlan_ret, expected_vlan)"},{"line_number":128,"context_line":"        self.assertEqual(expected_vlan,"},{"line_number":129,"context_line":"                         self.lldpad.vdp_vif_map[self.uuid].get(\u0027vdp_vlan\u0027))"},{"line_number":130,"context_line":"        self.assertEqual(self.mgrid,"}],"source_content_type":"text/x-python","patch_set":17,"id":"1abeadc6_1a2094af","line":127,"in_reply_to":"1abeadc6_9b359348","updated":"2014-08-26 16:08:10.000000000","message":"The value is known in advance, so i would like to retain this as expected :).","commit_id":"84fb8f7aa3549ba13dcb6e1871c7b3b540b098bb"},{"author":{"_account_id":12737,"name":"Jacek Swiderski","email":"jacek.swiderski@codilime.com","username":"Altran"},"change_message_id":"0bc6f80505ed073e4edb8d6956ece166013c37cf","unresolved":false,"context_lines":[{"line_number":225,"context_line":"             \"-c\", self.typeid_str, \"-c\", self.typeidver_str,"},{"line_number":226,"context_line":"             \"-c\", self.vsiid_str, \"-c\", \"hints\u003dnone\","},{"line_number":227,"context_line":"             \"-c\", filter_str], root_helper\u003dself.root_helper)"},{"line_number":228,"context_line":"        assert self.uuid not in self.lldpad.vdp_vif_map"}],"source_content_type":"text/x-python","patch_set":17,"id":"1abeadc6_3ba55f47","line":228,"updated":"2014-08-26 12:05:09.000000000","message":"assertNotIn ?","commit_id":"84fb8f7aa3549ba13dcb6e1871c7b3b540b098bb"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"e104a89833ca9ed5ef27b26cb5490788a0124f7a","unresolved":false,"context_lines":[{"line_number":225,"context_line":"             \"-c\", self.typeid_str, \"-c\", self.typeidver_str,"},{"line_number":226,"context_line":"             \"-c\", self.vsiid_str, \"-c\", \"hints\u003dnone\","},{"line_number":227,"context_line":"             \"-c\", filter_str], root_helper\u003dself.root_helper)"},{"line_number":228,"context_line":"        assert self.uuid not in self.lldpad.vdp_vif_map"}],"source_content_type":"text/x-python","patch_set":17,"id":"1abeadc6_5d15a6e3","line":228,"in_reply_to":"1abeadc6_3ba55f47","updated":"2014-08-26 16:08:10.000000000","message":"Yes, thanks.","commit_id":"84fb8f7aa3549ba13dcb6e1871c7b3b540b098bb"}],"neutron/tests/unit/ml2/drivers/cisco/dfa/test_type_cisco_dfa_overlay.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"fab9891819066ce977489737a6e13aebbfc61d0d","unresolved":false,"context_lines":[{"line_number":42,"context_line":""},{"line_number":43,"context_line":"    def setUp(self):"},{"line_number":44,"context_line":"        super(SegmentTypeTest, self).setUp()"},{"line_number":45,"context_line":"        db.configure_db()"},{"line_number":46,"context_line":"        self.driver \u003d type_cisco_dfa_overlay.CiscoDfaOverlayTypeDriver()"},{"line_number":47,"context_line":"        self.driver.cisco_dfa_segment_ranges \u003d NETWORK_SEGMENT_RANGES"},{"line_number":48,"context_line":"        self.driver._sync_cisco_dfa_segment_allocations()"}],"source_content_type":"text/x-python","patch_set":10,"id":"1abeadc6_256c909c","line":45,"updated":"2014-08-18 07:46:18.000000000","message":"Is it still required? db initialization way was changed in Juno cycle. Please check.","commit_id":"d1a9fa867bc0384b85f7460a80f07ad82c9ccac4"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"d2b7d0607c78066ece12e0c39e2a5ec4a50a4bca","unresolved":false,"context_lines":[{"line_number":42,"context_line":""},{"line_number":43,"context_line":"    def setUp(self):"},{"line_number":44,"context_line":"        super(SegmentTypeTest, self).setUp()"},{"line_number":45,"context_line":"        db.configure_db()"},{"line_number":46,"context_line":"        self.driver \u003d type_cisco_dfa_overlay.CiscoDfaOverlayTypeDriver()"},{"line_number":47,"context_line":"        self.driver.cisco_dfa_segment_ranges \u003d NETWORK_SEGMENT_RANGES"},{"line_number":48,"context_line":"        self.driver._sync_cisco_dfa_segment_allocations()"}],"source_content_type":"text/x-python","patch_set":10,"id":"1abeadc6_acc78944","line":45,"in_reply_to":"1abeadc6_256c909c","updated":"2014-08-19 00:54:28.000000000","message":"I wasn\u0027t aware of this. My view which i pulled last week for sending this patch did have this. I am assuming you are talking about https://github.com/openstack/neutron/commit/9bf0e6654480f98f2315a43687b267263a82a823 which got committed 3 days ago?\nWill change when i send my next patch.","commit_id":"d1a9fa867bc0384b85f7460a80f07ad82c9ccac4"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"fab9891819066ce977489737a6e13aebbfc61d0d","unresolved":false,"context_lines":[{"line_number":47,"context_line":"        self.driver.cisco_dfa_segment_ranges \u003d NETWORK_SEGMENT_RANGES"},{"line_number":48,"context_line":"        self.driver._sync_cisco_dfa_segment_allocations()"},{"line_number":49,"context_line":"        self.session \u003d db.get_session()"},{"line_number":50,"context_line":"        self.addCleanup(db.clear_db)"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"    def _get_allocation(self, session, segment):"},{"line_number":53,"context_line":"        return session.query(type_cisco_dfa_overlay."}],"source_content_type":"text/x-python","patch_set":10,"id":"1abeadc6_e5f8d8c6","line":50,"updated":"2014-08-18 07:46:18.000000000","message":"I think neutron.db.api no longer has this method.","commit_id":"d1a9fa867bc0384b85f7460a80f07ad82c9ccac4"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"d2b7d0607c78066ece12e0c39e2a5ec4a50a4bca","unresolved":false,"context_lines":[{"line_number":47,"context_line":"        self.driver.cisco_dfa_segment_ranges \u003d NETWORK_SEGMENT_RANGES"},{"line_number":48,"context_line":"        self.driver._sync_cisco_dfa_segment_allocations()"},{"line_number":49,"context_line":"        self.session \u003d db.get_session()"},{"line_number":50,"context_line":"        self.addCleanup(db.clear_db)"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"    def _get_allocation(self, session, segment):"},{"line_number":53,"context_line":"        return session.query(type_cisco_dfa_overlay."}],"source_content_type":"text/x-python","patch_set":10,"id":"1abeadc6_ecc1812f","line":50,"in_reply_to":"1abeadc6_e5f8d8c6","updated":"2014-08-19 00:54:28.000000000","message":"Same comment as above.","commit_id":"d1a9fa867bc0384b85f7460a80f07ad82c9ccac4"}],"neutron/tests/unit/ml2/test_type_network_overlay.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"26b5fdbfbf889312a698d2ca788c84a57c2eaae6","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright (c) 2014 Thales Services SAS"},{"line_number":2,"context_line":"# All Rights Reserved."},{"line_number":3,"context_line":"#"},{"line_number":4,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"}],"source_content_type":"text/x-python","patch_set":8,"id":"baada198_bc9769ea","line":1,"updated":"2014-08-08 10:51:48.000000000","message":"I wonder this copyright it correct...","commit_id":"92df42750b450cdbedc8f9400f4cdd1fb530a7f0"},{"author":{"_account_id":11241,"name":"Padmanabhan Krish","email":"kprad1@yahoo.com","username":"padkrish"},"change_message_id":"e99772312a1fc8d7dc0a6ddaa7ab5d37d3bbdf6e","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright (c) 2014 Thales Services SAS"},{"line_number":2,"context_line":"# All Rights Reserved."},{"line_number":3,"context_line":"#"},{"line_number":4,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"}],"source_content_type":"text/x-python","patch_set":8,"id":"7ac7a964_c8be71ff","line":1,"in_reply_to":"baada198_bc9769ea","updated":"2014-08-14 23:30:49.000000000","message":"Done","commit_id":"92df42750b450cdbedc8f9400f4cdd1fb530a7f0"}]}
