)]}'
{"neutron/plugins/ml2/drivers/cisco/dfa/dfa_ext_driver.py":[{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"change_message_id":"8f8771f232d17b826f602ccc5cf9e4f82ce10f38","unresolved":false,"context_lines":[{"line_number":30,"context_line":"    \"\"\"Cisco DFA ML2 Extension Driver.\"\"\""},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"    # List of supported extensions for cisco DFA."},{"line_number":33,"context_line":"    _supported_extension_aliases \u003d [\"dfa-config-profile\"]"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"    def initialize(self):"},{"line_number":36,"context_line":"        extensions.append_api_extensions_path(dfa.__path__)"}],"source_content_type":"text/x-python","patch_set":3,"id":"1abeadc6_87bb71e4","line":33,"updated":"2014-08-19 10:37:18.000000000","message":"while this extension should end up int he plugin\u0027s supported extension aliases it is *NOT* a neutron extension.\n\nIndeed it is not exposed in neutron/extensions, not loaded by the API framework, and not visible by users.\n\nSo far it amounts to an implementation detail we sneak into the response bodies.","commit_id":"8151485df8f2815678894eb7a1b7a0ca138eb53c"},{"author":{"_account_id":10393,"name":"nlahouti","email":"nader.lahouti@gmail.com","username":"nlahouti"},"change_message_id":"7fc81d1b06d3c6972de4ae598302122a4ac99911","unresolved":false,"context_lines":[{"line_number":30,"context_line":"    \"\"\"Cisco DFA ML2 Extension Driver.\"\"\""},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"    # List of supported extensions for cisco DFA."},{"line_number":33,"context_line":"    _supported_extension_aliases \u003d [\"dfa-config-profile\"]"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"    def initialize(self):"},{"line_number":36,"context_line":"        extensions.append_api_extensions_path(dfa.__path__)"}],"source_content_type":"text/x-python","patch_set":3,"id":"1abeadc6_c5b333e7","line":33,"in_reply_to":"1abeadc6_0a8e2fd0","updated":"2014-08-21 21:17:27.000000000","message":"I\u0027ll create new extensions directory under dfa and put the dfa_cfg_profile.py, which defines the extended attribute there.","commit_id":"8151485df8f2815678894eb7a1b7a0ca138eb53c"},{"author":{"_account_id":10393,"name":"nlahouti","email":"nader.lahouti@gmail.com","username":"nlahouti"},"change_message_id":"ad7839ee548f772ee52f1ef1925b199a3436cd89","unresolved":false,"context_lines":[{"line_number":30,"context_line":"    \"\"\"Cisco DFA ML2 Extension Driver.\"\"\""},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"    # List of supported extensions for cisco DFA."},{"line_number":33,"context_line":"    _supported_extension_aliases \u003d [\"dfa-config-profile\"]"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"    def initialize(self):"},{"line_number":36,"context_line":"        extensions.append_api_extensions_path(dfa.__path__)"}],"source_content_type":"text/x-python","patch_set":3,"id":"1abeadc6_f454b222","line":33,"in_reply_to":"1abeadc6_87bb71e4","updated":"2014-08-19 22:30:03.000000000","message":"The \u0027dfa-config-profile\u0027 is the extension aliases for dfa:cfg_profile_id and it is defined in (https://review.openstack.org/#/c/103281/  - dfa_config_profile.py) and it adds an extended attribute to the network resource.\n\nI don\u0027t know the reason that you say \u0027Indeed it is not exposed in neutron/extensions, not loaded by the API framework, and not visible by users.\u0027 This extension is loaded by existing extension API framework and the attribute is visible to the user.  If you look at the patch in the link above, and also the patch in https://review.openstack.org/#/c/89211/  you\u0027ll see the extension aliases will be added to the list of supported extensions in Ml2Plugin and it will be loaded using exiting extension API framework.","commit_id":"8151485df8f2815678894eb7a1b7a0ca138eb53c"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"change_message_id":"e5cdeb8bc829f2bd86101c8f95ee87125a798aed","unresolved":false,"context_lines":[{"line_number":30,"context_line":"    \"\"\"Cisco DFA ML2 Extension Driver.\"\"\""},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"    # List of supported extensions for cisco DFA."},{"line_number":33,"context_line":"    _supported_extension_aliases \u003d [\"dfa-config-profile\"]"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"    def initialize(self):"},{"line_number":36,"context_line":"        extensions.append_api_extensions_path(dfa.__path__)"}],"source_content_type":"text/x-python","patch_set":3,"id":"1abeadc6_0a8e2fd0","line":33,"in_reply_to":"1abeadc6_f454b222","updated":"2014-08-21 07:32:43.000000000","message":"I just could not find it. I was expecting it to be in an extension submodule under the cisco.dfa package.\nand frankly I think it should be there.","commit_id":"8151485df8f2815678894eb7a1b7a0ca138eb53c"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"change_message_id":"8f8771f232d17b826f602ccc5cf9e4f82ce10f38","unresolved":false,"context_lines":[{"line_number":51,"context_line":"        if not res:"},{"line_number":52,"context_line":"            cpd.add_dfa_cfg_profile_binding(session, net_id, cfgp_id)"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"        result[dfac.CONFIG_PROFILE_ID] \u003d cfgp_id"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"    def extend_network_dict(self, session, result):"},{"line_number":57,"context_line":"        net_id \u003d result.get(\u0027id\u0027)"}],"source_content_type":"text/x-python","patch_set":3,"id":"1abeadc6_c783a902","line":54,"updated":"2014-08-19 10:37:18.000000000","message":"let me see if I get this correctly.\nWe are doing all this discussion about the ML2 extension support for this single attribute?\n\nSo - how vital is this attribute for consumers of this feature? Is this an information which is important to nova for vif pluggin? I doubt so as this is part of the network body, not the port body.","commit_id":"8151485df8f2815678894eb7a1b7a0ca138eb53c"},{"author":{"_account_id":10393,"name":"nlahouti","email":"nader.lahouti@gmail.com","username":"nlahouti"},"change_message_id":"752ce65fdcb3994cd547f8dfb45ba194a74d698f","unresolved":false,"context_lines":[{"line_number":51,"context_line":"        if not res:"},{"line_number":52,"context_line":"            cpd.add_dfa_cfg_profile_binding(session, net_id, cfgp_id)"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"        result[dfac.CONFIG_PROFILE_ID] \u003d cfgp_id"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"    def extend_network_dict(self, session, result):"},{"line_number":57,"context_line":"        net_id \u003d result.get(\u0027id\u0027)"}],"source_content_type":"text/x-python","patch_set":3,"id":"1abeadc6_816f8f2a","line":54,"in_reply_to":"1abeadc6_286faefe","updated":"2014-08-21 00:52:59.000000000","message":"Correction: reword it here:\n\nThis is vital (I would be more than happy to give you live demo of the whole setup). When in DFA environment we create a network, an option (i.e. DFA config profile) will be shown in the horizon GUI and let user to select the desired option for the network (from CLI user can specify the profile using dfa:cfg_profile_id parameter) Then DFA mechanism driver sends the request (with all the network parameters) sends the info to another entity (i.e. DCNM - Data Center Network Manager) to create the network. The extended attribute is the integral part of DFA (for auto configuration of VM in the setup)","commit_id":"8151485df8f2815678894eb7a1b7a0ca138eb53c"},{"author":{"_account_id":11244,"name":"Milton Xu","email":"mxu@cisco.com"},"change_message_id":"b3cc7a9bbace0ba2893c5b1cec576aff6b406a97","unresolved":false,"context_lines":[{"line_number":51,"context_line":"        if not res:"},{"line_number":52,"context_line":"            cpd.add_dfa_cfg_profile_binding(session, net_id, cfgp_id)"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"        result[dfac.CONFIG_PROFILE_ID] \u003d cfgp_id"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"    def extend_network_dict(self, session, result):"},{"line_number":57,"context_line":"        net_id \u003d result.get(\u0027id\u0027)"}],"source_content_type":"text/x-python","patch_set":3,"id":"1abeadc6_a1e64b13","line":54,"in_reply_to":"1abeadc6_286faefe","updated":"2014-08-21 00:39:53.000000000","message":"Hi Salvatore,\nThanks for your detailed review and good questions.\nJust wanted to add a few more words on top of Nader\u0027s explanation.\n\nThe config_profile is actually not used by OpenStack at all.  It is thru OpenStack, user can choose the specific profile for the network they create thru OpenStack.  The user\u0027s choice of the profile is registered with a separate DFA network management station (we called Data Center Network Management) and the network gets automatically configured in the DFA fabric (i.e., the switches attached to the server) when an instance/vm is launched from OpenStack.\n\nYes, we are very happy to do a live demo if you, or anybody, are interested in seeing it.  DFA is a solution and we already have a few releases.  Just let us know the time slot that works best for you.  Please advise.","commit_id":"8151485df8f2815678894eb7a1b7a0ca138eb53c"},{"author":{"_account_id":10393,"name":"nlahouti","email":"nader.lahouti@gmail.com","username":"nlahouti"},"change_message_id":"ad7839ee548f772ee52f1ef1925b199a3436cd89","unresolved":false,"context_lines":[{"line_number":51,"context_line":"        if not res:"},{"line_number":52,"context_line":"            cpd.add_dfa_cfg_profile_binding(session, net_id, cfgp_id)"},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"        result[dfac.CONFIG_PROFILE_ID] \u003d cfgp_id"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"    def extend_network_dict(self, session, result):"},{"line_number":57,"context_line":"        net_id \u003d result.get(\u0027id\u0027)"}],"source_content_type":"text/x-python","patch_set":3,"id":"1abeadc6_286faefe","line":54,"in_reply_to":"1abeadc6_c783a902","updated":"2014-08-19 22:30:03.000000000","message":"For now, yes. The dfa:cfg_profile_id is the extended attribute to the network resource. \n\nThis is vital (I would be more than happy to give you live demo of the whole setup). When in DFA environment we create a network, an option (i.e. DFA config profile) will be shown in the horizon GUI and let user to select the desired option for the network (from CLI user can specify the profile using dfa:cfg_profile_id parameter) Then after ML2Plugin - hence DFA mechanism driver the request (with all the network parameters) sent to Ml2Plugin, the DFA mechanism driver sends the info to another entity (i.e. DCNM - Data Center Network Manager) to create the network. The extended attribute is the integral part of DFA (for auto configuration of VM in the setup)","commit_id":"8151485df8f2815678894eb7a1b7a0ca138eb53c"}],"neutron/plugins/ml2/drivers/cisco/dfa/dfa_models_v2.py":[{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"f0cb5be5778e4521b70f8787c4f5e24ff62cb714","unresolved":false,"context_lines":[{"line_number":43,"context_line":""},{"line_number":44,"context_line":"    network_id \u003d sa.Column(sa.String(36),"},{"line_number":45,"context_line":"                           primary_key\u003dTrue)"},{"line_number":46,"context_line":"    cfg_profile_id \u003d sa.Column(sa.String(36), primary_key\u003dTrue)"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_15fe756a","line":46,"updated":"2014-08-08 03:54:22.000000000","message":"why cfg_profile_id is a part of primary key?","commit_id":"4f3323141a2361a7ab313318bebda64084bf4bd9"},{"author":{"_account_id":10393,"name":"nlahouti","email":"nader.lahouti@gmail.com","username":"nlahouti"},"change_message_id":"02d76b8157872ae304bf422b4f24f94da1904c53","unresolved":false,"context_lines":[{"line_number":43,"context_line":""},{"line_number":44,"context_line":"    network_id \u003d sa.Column(sa.String(36),"},{"line_number":45,"context_line":"                           primary_key\u003dTrue)"},{"line_number":46,"context_line":"    cfg_profile_id \u003d sa.Column(sa.String(36), primary_key\u003dTrue)"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_4ee030cb","line":46,"in_reply_to":"baada198_15fe756a","updated":"2014-08-10 04:29:43.000000000","message":"netwrok_id is primary_key. but in some cases was using cfg_profile_id for access a row in the table.\n\nDo you see any issue? I checked places in the code that more than one primary_key were used in the table.\n\nAlso this is the same file that used in because of dependency:\nhttps://review.openstack.org/#/c/103281/","commit_id":"4f3323141a2361a7ab313318bebda64084bf4bd9"}]}
