)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6598,"name":"Berezovsky Irena","email":"irenab.dev@gmail.com","username":"irenab"},"change_message_id":"f419c106d4ab6fb8e04f5859c1946c1e5fe0c251","unresolved":false,"context_lines":[{"line_number":10,"context_line":"needed to maintain the MAC address of the bridge. This patch introduces"},{"line_number":11,"context_line":"a placeholder MAC address that apps can use, that will be substituted by"},{"line_number":12,"context_line":"provider app on egress."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Change-Id: I2a6c77a481d8a7d86133d53aaf511b9ce517a10d"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"5f201791_5fe34c34","line":13,"updated":"2017-06-22 05:45:15.000000000","message":"reference to bug ...","commit_id":"806b237fedf62367daf4eab5811975820996bd9a"},{"author":{"_account_id":23766,"name":"Dima Kuznetsov","email":"dima.kuznetsov@toganetworks.com","username":"dimak"},"change_message_id":"a4ed65fe58647a9e876161c54211bc15931077b1","unresolved":false,"context_lines":[{"line_number":10,"context_line":"needed to maintain the MAC address of the bridge. This patch introduces"},{"line_number":11,"context_line":"a placeholder MAC address that apps can use, that will be substituted by"},{"line_number":12,"context_line":"provider app on egress."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Change-Id: I2a6c77a481d8a7d86133d53aaf511b9ce517a10d"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"5f201791_6e3dee29","line":13,"in_reply_to":"5f201791_5fe34c34","updated":"2017-06-25 14:50:07.000000000","message":"Done","commit_id":"806b237fedf62367daf4eab5811975820996bd9a"},{"author":{"_account_id":26131,"name":"Eyal Leshem","email":"eyal.leshem@toganetworks.com","username":"leyal"},"change_message_id":"8c5c9b20e0cd932b1b226780deebd2460622e056","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Dima Kuznetsov \u003cdima.kuznetsov@toganetworks.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2017-06-26 15:52:00 +0300"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Enable bridge MAC plugging on provider network"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Apps like DNAT that needed to send messages to the provider network"},{"line_number":10,"context_line":"needed to maintain the MAC address of the bridge. This patch introduces"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":9,"id":"5f201791_09de5d6c","line":7,"updated":"2017-06-26 15:10:04.000000000","message":"Is there any case that dragon-flow deployment can be deployed with the provider-app disabled?\nIf so - in such case the apps will still need to know the bridge addr ..","commit_id":"1c62239a8062015687e8a38c19bc514b1645eb1b"},{"author":{"_account_id":23766,"name":"Dima Kuznetsov","email":"dima.kuznetsov@toganetworks.com","username":"dimak"},"change_message_id":"44303a4c6ec0a6642e2696508a248be49ff9083e","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Dima Kuznetsov \u003cdima.kuznetsov@toganetworks.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2017-06-26 15:52:00 +0300"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Enable bridge MAC plugging on provider network"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Apps like DNAT that needed to send messages to the provider network"},{"line_number":10,"context_line":"needed to maintain the MAC address of the bridge. This patch introduces"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":9,"id":"5f201791_74b32aea","line":7,"in_reply_to":"5f201791_09de5d6c","updated":"2017-06-28 05:41:19.000000000","message":"Shouldn\u0027t matter because they have no way to reach the bridge without provider appd","commit_id":"1c62239a8062015687e8a38c19bc514b1645eb1b"},{"author":{"_account_id":26131,"name":"Eyal Leshem","email":"eyal.leshem@toganetworks.com","username":"leyal"},"change_message_id":"d5a149048495e2915955f296e906491a9d37d52d","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Dima Kuznetsov \u003cdima.kuznetsov@toganetworks.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2017-06-26 15:52:00 +0300"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Enable bridge MAC plugging on provider network"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Apps like DNAT that needed to send messages to the provider network"},{"line_number":10,"context_line":"needed to maintain the MAC address of the bridge. This patch introduces"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":9,"id":"5f201791_97b488f3","line":7,"in_reply_to":"5f201791_74b32aea","updated":"2017-06-28 06:08:55.000000000","message":"So if i understand it right - it\u0027s mean that DNAT and SNAT can\u0027t exist without provider app  - as they need the br-ext for reaching to the external network..","commit_id":"1c62239a8062015687e8a38c19bc514b1645eb1b"},{"author":{"_account_id":23766,"name":"Dima Kuznetsov","email":"dima.kuznetsov@toganetworks.com","username":"dimak"},"change_message_id":"5c2c5b3a674b6b2025f9cb294c69fd2aac6dcc83","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Dima Kuznetsov \u003cdima.kuznetsov@toganetworks.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2017-06-26 15:52:00 +0300"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Enable bridge MAC plugging on provider network"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Apps like DNAT that needed to send messages to the provider network"},{"line_number":10,"context_line":"needed to maintain the MAC address of the bridge. This patch introduces"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":9,"id":"5f201791_9f7ed2e1","line":7,"in_reply_to":"5f201791_97b488f3","updated":"2017-06-28 12:55:22.000000000","message":"DNAT handles floating IPs managed by neutron, which will reside in an external provider network, so DNAT should depend on it to reach it.\n\nSNAT is a bit different, because at the moment, we translate VM packets to host\u0027s IP, which can be on an external provider network defined in neutron, but it can also be just another network, so it will have to maintain its own bridge for now.","commit_id":"1c62239a8062015687e8a38c19bc514b1645eb1b"}],"dragonflow/conf/df_provider_networks.py":[{"author":{"_account_id":6598,"name":"Berezovsky Irena","email":"irenab.dev@gmail.com","username":"irenab"},"change_message_id":"f419c106d4ab6fb8e04f5859c1946c1e5fe0c251","unresolved":false,"context_lines":[{"line_number":30,"context_line":"                       \"networks configured on the server should have \""},{"line_number":31,"context_line":"                       \"mappings to appropriate bridges on each dragonflow \""},{"line_number":32,"context_line":"                       \"node.\")),"},{"line_number":33,"context_line":"    cfg.StrOpt(\u0027bridge_mac_placeholder\u0027,"},{"line_number":34,"context_line":"               default\u003d\u002700:00:00:00:00:00\u0027,"},{"line_number":35,"context_line":"               help\u003d_(\u0027DNAT app will replace this MAC address with the MAC of \u0027"},{"line_number":36,"context_line":"                      \u0027the bridge in eth_dst. This can be used where apps want\u0027"}],"source_content_type":"text/x-python","patch_set":6,"id":"5f201791_ff40d809","line":33,"range":{"start_line":33,"start_character":1,"end_line":33,"end_character":40},"updated":"2017-06-22 05:45:15.000000000","message":"Do you think this option is really needed to be exposed to operators? Why is this not the implementation detail?","commit_id":"806b237fedf62367daf4eab5811975820996bd9a"},{"author":{"_account_id":23766,"name":"Dima Kuznetsov","email":"dima.kuznetsov@toganetworks.com","username":"dimak"},"change_message_id":"a4ed65fe58647a9e876161c54211bc15931077b1","unresolved":false,"context_lines":[{"line_number":30,"context_line":"                       \"networks configured on the server should have \""},{"line_number":31,"context_line":"                       \"mappings to appropriate bridges on each dragonflow \""},{"line_number":32,"context_line":"                       \"node.\")),"},{"line_number":33,"context_line":"    cfg.StrOpt(\u0027bridge_mac_placeholder\u0027,"},{"line_number":34,"context_line":"               default\u003d\u002700:00:00:00:00:00\u0027,"},{"line_number":35,"context_line":"               help\u003d_(\u0027DNAT app will replace this MAC address with the MAC of \u0027"},{"line_number":36,"context_line":"                      \u0027the bridge in eth_dst. This can be used where apps want\u0027"}],"source_content_type":"text/x-python","patch_set":6,"id":"5f201791_4e46b2c2","line":33,"range":{"start_line":33,"start_character":1,"end_line":33,"end_character":40},"in_reply_to":"5f201791_ff40d809","updated":"2017-06-25 14:50:07.000000000","message":"I can remove it and use something like \u002700:00:00:00:00:00:00\u0027.","commit_id":"806b237fedf62367daf4eab5811975820996bd9a"},{"author":{"_account_id":18347,"name":"Itamar Ofek","email":"itamofek@netscape.net","username":"itamaro"},"change_message_id":"0d421f9eb028238a726e649ad5ecf0092ae7b8ac","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":8,"id":"5f201791_7f8d8cd1","updated":"2017-06-26 12:06:36.000000000","message":"Why cant the app discover the mac address from the os directly","commit_id":"c10c3403721fa80ae701358cb1ce7f4b5e4b447c"}],"dragonflow/controller/provider_networks_app.py":[{"author":{"_account_id":20229,"name":"Omer Anson","email":"omer.anson@toganetworks.com","username":"oanson"},"change_message_id":"806a049214c22ccc3311b17a687fb9f5483e5735","unresolved":false,"context_lines":[{"line_number":42,"context_line":"        self.bridge_mappings \u003d self._parse_bridge_mappings("},{"line_number":43,"context_line":"                cfg.CONF.df_provider_networks.bridge_mappings)"},{"line_number":44,"context_line":"        self.int_ofports \u003d {}"},{"line_number":45,"context_line":"        self.int_macs \u003d {}"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"    def _parse_bridge_mappings(self, bridge_mappings):"},{"line_number":48,"context_line":"        try:"}],"source_content_type":"text/x-python","patch_set":1,"id":"7f231b9d_d461cad4","line":45,"range":{"start_line":45,"start_character":13,"end_line":45,"end_character":21},"updated":"2017-06-19 12:22:51.000000000","message":"Please rename to interface_macs, or bridge_macs. int_macs sounds like integer_macs, and that\u0027s confusing.","commit_id":"1e6c6757b2944abdf6dcd96965cdea53f17782c6"},{"author":{"_account_id":23766,"name":"Dima Kuznetsov","email":"dima.kuznetsov@toganetworks.com","username":"dimak"},"change_message_id":"3fbe28c895546ce19a2e544cdd7abeef6bb925c7","unresolved":false,"context_lines":[{"line_number":42,"context_line":"        self.bridge_mappings \u003d self._parse_bridge_mappings("},{"line_number":43,"context_line":"                cfg.CONF.df_provider_networks.bridge_mappings)"},{"line_number":44,"context_line":"        self.int_ofports \u003d {}"},{"line_number":45,"context_line":"        self.int_macs \u003d {}"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"    def _parse_bridge_mappings(self, bridge_mappings):"},{"line_number":48,"context_line":"        try:"}],"source_content_type":"text/x-python","patch_set":1,"id":"7f231b9d_a7b85b10","line":45,"range":{"start_line":45,"start_character":13,"end_line":45,"end_character":21},"in_reply_to":"7f231b9d_d461cad4","updated":"2017-06-19 14:49:22.000000000","message":"Done","commit_id":"1e6c6757b2944abdf6dcd96965cdea53f17782c6"},{"author":{"_account_id":20229,"name":"Omer Anson","email":"omer.anson@toganetworks.com","username":"oanson"},"change_message_id":"806a049214c22ccc3311b17a687fb9f5483e5735","unresolved":false,"context_lines":[{"line_number":198,"context_line":"                metadata\u003dnetwork_id,"},{"line_number":199,"context_line":"                eth_dst\u003dcfg.CONF.df_provider_networks.bridge_mac_placeholder,"},{"line_number":200,"context_line":"            ),"},{"line_number":201,"context_line":"            inst\u003d["},{"line_number":202,"context_line":"                self.parser.OFPInstructionActions("},{"line_number":203,"context_line":"                    self.ofproto.OFPIT_APPLY_ACTIONS,"},{"line_number":204,"context_line":"                    ["}],"source_content_type":"text/x-python","patch_set":1,"id":"7f231b9d_94d47249","line":201,"updated":"2017-06-19 12:22:51.000000000","message":"nit: Coulnd\u0027t there be a race condition here if the bridge comes up after lports/fips start coming in?","commit_id":"1e6c6757b2944abdf6dcd96965cdea53f17782c6"},{"author":{"_account_id":23766,"name":"Dima Kuznetsov","email":"dima.kuznetsov@toganetworks.com","username":"dimak"},"change_message_id":"3fbe28c895546ce19a2e544cdd7abeef6bb925c7","unresolved":false,"context_lines":[{"line_number":198,"context_line":"                metadata\u003dnetwork_id,"},{"line_number":199,"context_line":"                eth_dst\u003dcfg.CONF.df_provider_networks.bridge_mac_placeholder,"},{"line_number":200,"context_line":"            ),"},{"line_number":201,"context_line":"            inst\u003d["},{"line_number":202,"context_line":"                self.parser.OFPInstructionActions("},{"line_number":203,"context_line":"                    self.ofproto.OFPIT_APPLY_ACTIONS,"},{"line_number":204,"context_line":"                    ["}],"source_content_type":"text/x-python","patch_set":1,"id":"7f231b9d_073eefbf","line":201,"in_reply_to":"7f231b9d_94d47249","updated":"2017-06-19 14:49:22.000000000","message":"It can be, we\u0027ll need to subscribe to OVS ports event an update...","commit_id":"1e6c6757b2944abdf6dcd96965cdea53f17782c6"},{"author":{"_account_id":26131,"name":"Eyal Leshem","email":"eyal.leshem@toganetworks.com","username":"leyal"},"change_message_id":"f332ed14f1de36d6ec81bed620376203fc99548d","unresolved":false,"context_lines":[{"line_number":24,"context_line":"from dragonflow.controller import df_base_app"},{"line_number":25,"context_line":"from dragonflow.db.models import constants as model_const"},{"line_number":26,"context_line":"from dragonflow.db.models import l2"},{"line_number":27,"context_line":"from dragonflow.db.models import ovs"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"NET_VLAN \u003d \u0027vlan\u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"5f201791_b2b769d9","line":27,"updated":"2017-06-20 18:53:53.000000000","message":"It\u0027s probably something that i don\u0027t understand - but how the VM know to send the packet with the place-holder MAC address?  (and if VM not sending with the place holder - who responsible to change it to place-holder MAC  ?)","commit_id":"6d23f356ad2a8019e73a6ab23e32635e5dce0426"},{"author":{"_account_id":23766,"name":"Dima Kuznetsov","email":"dima.kuznetsov@toganetworks.com","username":"dimak"},"change_message_id":"011b3646e56475773aafdf06ea7afe1c94d234ba","unresolved":false,"context_lines":[{"line_number":24,"context_line":"from dragonflow.controller import df_base_app"},{"line_number":25,"context_line":"from dragonflow.db.models import constants as model_const"},{"line_number":26,"context_line":"from dragonflow.db.models import l2"},{"line_number":27,"context_line":"from dragonflow.db.models import ovs"},{"line_number":28,"context_line":""},{"line_number":29,"context_line":""},{"line_number":30,"context_line":"NET_VLAN \u003d \u0027vlan\u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"5f201791_ef272ab6","line":27,"in_reply_to":"5f201791_b2b769d9","updated":"2017-06-21 06:08:20.000000000","message":"This is aimed towards apps that want to send packets towards the provider network. When a packet is modified, we have to set eth_dst to some value that makes sense.\n\nIf the don\u0027t know the MAC address, we can send it to the bridge and have it forward the packet, but for that we need to know bridge\u0027s MAC.\n\nThis patch eases this for non-provider app, by removing the concern for knowing the bridge to network mapping and handling MAC updates.","commit_id":"6d23f356ad2a8019e73a6ab23e32635e5dce0426"},{"author":{"_account_id":20229,"name":"Omer Anson","email":"omer.anson@toganetworks.com","username":"oanson"},"change_message_id":"f69d62c5c4e972922c8b2c369943ec776e41ef84","unresolved":false,"context_lines":[{"line_number":91,"context_line":"        self._update_bridge_mac(ovsport.name, None)"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"    def _update_bridge_mac(self, bridge, mac):"},{"line_number":94,"context_line":"        if bridge not in self.bridge_macs:"},{"line_number":95,"context_line":"            return"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"        old_mac \u003d self.bridge_macs[bridge]"},{"line_number":98,"context_line":"        if old_mac \u003d\u003d mac:"},{"line_number":99,"context_line":"            return"},{"line_number":100,"context_line":""}],"source_content_type":"text/x-python","patch_set":10,"id":"5f201791_6bd2212a","line":97,"range":{"start_line":94,"start_character":0,"end_line":97,"end_character":42},"updated":"2017-06-28 08:24:50.000000000","message":"Why not in a try/catch?\n\ntry:\n    old_mac \u003d self.bridge_mac[bridge]\nexcept KeyError:\n    return\n\nAlso saves a look-up.","commit_id":"1ce5f92c75b4755efe10f25fbe6311fcb999d0a5"},{"author":{"_account_id":23766,"name":"Dima Kuznetsov","email":"dima.kuznetsov@toganetworks.com","username":"dimak"},"change_message_id":"2f22bc038ef6612a1805766d7929cf22951d9487","unresolved":false,"context_lines":[{"line_number":91,"context_line":"        self._update_bridge_mac(ovsport.name, None)"},{"line_number":92,"context_line":""},{"line_number":93,"context_line":"    def _update_bridge_mac(self, bridge, mac):"},{"line_number":94,"context_line":"        if bridge not in self.bridge_macs:"},{"line_number":95,"context_line":"            return"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"        old_mac \u003d self.bridge_macs[bridge]"},{"line_number":98,"context_line":"        if old_mac \u003d\u003d mac:"},{"line_number":99,"context_line":"            return"},{"line_number":100,"context_line":""}],"source_content_type":"text/x-python","patch_set":10,"id":"5f201791_ff74a6ff","line":97,"range":{"start_line":94,"start_character":0,"end_line":97,"end_character":42},"in_reply_to":"5f201791_6bd2212a","updated":"2017-06-28 12:56:01.000000000","message":"I agree, will change if I respin","commit_id":"1ce5f92c75b4755efe10f25fbe6311fcb999d0a5"}]}
