)]}'
{"neutron/db/trunk_port_sub.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"fa85a116358857b6d03c38133488159b8d18c575","unresolved":false,"context_lines":[{"line_number":21,"context_line":""},{"line_number":22,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"class SubPort(model_base.BASEV2):"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"    # encapsulation type | id space (bits)"}],"source_content_type":"text/x-python","patch_set":5,"id":"1a4dcd0f_fbad4b84","line":24,"updated":"2015-08-13 07:17:18.000000000","message":"How about adding a module which has only DB model definitions?\nFor example, db/trunk_port_models which contains TrunkPort and SubPort models. Ideally speaking, neutron/db/migration/models/head.py only wants to import db models.","commit_id":"fc23b126a758e32630fe84ca2a24996c0b062e91"},{"author":{"_account_id":15554,"name":"Bence Romsics","email":"bence.romsics@gmail.com","username":"ebenrom","status":"inactive contributor"},"change_message_id":"8589078a387388bc4de587d4478034de8c66c52b","unresolved":false,"context_lines":[{"line_number":21,"context_line":""},{"line_number":22,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"class SubPort(model_base.BASEV2):"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"    # encapsulation type | id space (bits)"}],"source_content_type":"text/x-python","patch_set":5,"id":"1a4dcd0f_fcc8d723","line":24,"in_reply_to":"1a4dcd0f_fbad4b84","updated":"2015-08-13 12:41:30.000000000","message":"Done","commit_id":"fc23b126a758e32630fe84ca2a24996c0b062e91"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"fa85a116358857b6d03c38133488159b8d18c575","unresolved":false,"context_lines":[{"line_number":22,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"class SubPort(model_base.BASEV2):"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"    # encapsulation type | id space (bits)"},{"line_number":28,"context_line":"    # vlan               | 12"}],"source_content_type":"text/x-python","patch_set":5,"id":"1a4dcd0f_dbd88ff1","line":25,"updated":"2015-08-13 07:17:18.000000000","message":"I think we need foreign key constraint for trunk port. Am I missing something?","commit_id":"fc23b126a758e32630fe84ca2a24996c0b062e91"},{"author":{"_account_id":15554,"name":"Bence Romsics","email":"bence.romsics@gmail.com","username":"ebenrom","status":"inactive contributor"},"change_message_id":"8589078a387388bc4de587d4478034de8c66c52b","unresolved":false,"context_lines":[{"line_number":22,"context_line":"LOG \u003d logging.getLogger(__name__)"},{"line_number":23,"context_line":""},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"class SubPort(model_base.BASEV2):"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":"    # encapsulation type | id space (bits)"},{"line_number":28,"context_line":"    # vlan               | 12"}],"source_content_type":"text/x-python","patch_set":5,"id":"1a4dcd0f_bc380fef","line":25,"in_reply_to":"1a4dcd0f_dbd88ff1","updated":"2015-08-13 12:41:30.000000000","message":"The spec says there should be a new parent_id attribute.\n\nHowever instead I hope to reuse the device_owner/device_id for the same purpose (and forget about parent_id), because I think these fields were meant for this. For example:\n\n subport:\n device_owner: \u0027network:trunk-port\u0027\n device_id: TRUNK-PORT-UUID\n\nHowever with this API model I can only enforce the live trunk-port reference from the ORM, not in the DB.\n\nWhat do you think?","commit_id":"fc23b126a758e32630fe84ca2a24996c0b062e91"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"fa85a116358857b6d03c38133488159b8d18c575","unresolved":false,"context_lines":[{"line_number":31,"context_line":"    # gre                | 32"},{"line_number":32,"context_line":"    #"},{"line_number":33,"context_line":"    # To support all we need at least a 32-bit unsigned int."},{"line_number":34,"context_line":"    # FIXME(bence romsics): How big is BigInteger?"},{"line_number":35,"context_line":"    segmentation_id \u003d sa.Column("},{"line_number":36,"context_line":"        sa.BigInteger,"},{"line_number":37,"context_line":"        nullable\u003dTrue)"}],"source_content_type":"text/x-python","patch_set":5,"id":"1a4dcd0f_fbceab2b","line":34,"updated":"2015-08-13 07:17:18.000000000","message":"Just a question. Doesn\u0027t sa.Integer have enough size?\nML2 plugin uses sa.Integer for segmentation_id and I think both should be fixed at the same time if necessary.","commit_id":"fc23b126a758e32630fe84ca2a24996c0b062e91"},{"author":{"_account_id":15554,"name":"Bence Romsics","email":"bence.romsics@gmail.com","username":"ebenrom","status":"inactive contributor"},"change_message_id":"8589078a387388bc4de587d4478034de8c66c52b","unresolved":false,"context_lines":[{"line_number":31,"context_line":"    # gre                | 32"},{"line_number":32,"context_line":"    #"},{"line_number":33,"context_line":"    # To support all we need at least a 32-bit unsigned int."},{"line_number":34,"context_line":"    # FIXME(bence romsics): How big is BigInteger?"},{"line_number":35,"context_line":"    segmentation_id \u003d sa.Column("},{"line_number":36,"context_line":"        sa.BigInteger,"},{"line_number":37,"context_line":"        nullable\u003dTrue)"}],"source_content_type":"text/x-python","patch_set":5,"id":"1a4dcd0f_7c228753","line":34,"in_reply_to":"1a4dcd0f_fbceab2b","updated":"2015-08-13 12:41:30.000000000","message":"I have not found definitive documentation about the guaranteed minimums yet. However my first guess would be that a signed integer is not big enough for gre, maybe an unsigned int. I will google for docs later.","commit_id":"fc23b126a758e32630fe84ca2a24996c0b062e91"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"fa85a116358857b6d03c38133488159b8d18c575","unresolved":false,"context_lines":[{"line_number":59,"context_line":"# Either make it a proper mixin (it is not a mixin now), or rename it."},{"line_number":60,"context_line":"class SubPortDbMixin(object):"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"    # FIXME(bence romsics): Do I need to register this or not?"},{"line_number":63,"context_line":"    #db_base_plugin_v2.NeutronDbPluginV2.register_dict_extend_funcs("},{"line_number":64,"context_line":"    #    attr.PORTS, [\u0027_extend_port_dict_subport\u0027])"},{"line_number":65,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"1a4dcd0f_16a6ce0e","line":62,"updated":"2015-08-13 07:17:18.000000000","message":"IMO, we need a way to know whether a port is a subport or not, so I think we need it.","commit_id":"fc23b126a758e32630fe84ca2a24996c0b062e91"},{"author":{"_account_id":15554,"name":"Bence Romsics","email":"bence.romsics@gmail.com","username":"ebenrom","status":"inactive contributor"},"change_message_id":"8589078a387388bc4de587d4478034de8c66c52b","unresolved":false,"context_lines":[{"line_number":59,"context_line":"# Either make it a proper mixin (it is not a mixin now), or rename it."},{"line_number":60,"context_line":"class SubPortDbMixin(object):"},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"    # FIXME(bence romsics): Do I need to register this or not?"},{"line_number":63,"context_line":"    #db_base_plugin_v2.NeutronDbPluginV2.register_dict_extend_funcs("},{"line_number":64,"context_line":"    #    attr.PORTS, [\u0027_extend_port_dict_subport\u0027])"},{"line_number":65,"context_line":""}],"source_content_type":"text/x-python","patch_set":5,"id":"1a4dcd0f_9c519364","line":62,"in_reply_to":"1a4dcd0f_16a6ce0e","updated":"2015-08-13 12:41:30.000000000","message":"Uncommented. Can you tell me what this callback is used for?","commit_id":"fc23b126a758e32630fe84ca2a24996c0b062e91"}]}
