Tuesday, 2017-08-29

*** yamamoto_ has joined #openstack-fwaas00:13
*** yamamoto_ has quit IRC00:13
*** yushiro has joined #openstack-fwaas00:34
*** yamamoto_ has joined #openstack-fwaas01:14
*** yamamoto_ has quit IRC01:20
openstackgerritHunt Xu proposed openstack/neutron-fwaas master: Use configurable conntrack driver in fwaas_v2  https://review.openstack.org/48998001:30
*** yamamoto_ has joined #openstack-fwaas02:16
*** yamamoto_ has quit IRC02:22
*** bzhao has joined #openstack-fwaas02:43
*** yamamoto has joined #openstack-fwaas02:49
*** bbzhao has joined #openstack-fwaas02:53
*** bzhao has quit IRC02:53
*** reedip_ has quit IRC03:01
*** yamamoto has quit IRC03:12
*** yamamoto has joined #openstack-fwaas04:13
*** yamamoto has quit IRC04:19
openstackgerritReedip proposed openstack/neutron-fwaas master: Fix validation with 'protocol' for firewall_rule  https://review.openstack.org/42322904:29
reedipyushiro : ping04:46
yushiroreedip, pong04:46
openstackgerritAdit Sarfaty proposed openstack/neutron-fwaas master: Use neutron-lib FirewallInternalDriverError  https://review.openstack.org/49825605:06
*** yamamoto has joined #openstack-fwaas05:15
*** yamamoto has quit IRC05:21
*** hoangcx has quit IRC05:41
*** hoangcx has joined #openstack-fwaas05:42
*** yamamoto has joined #openstack-fwaas06:13
*** yamamoto has quit IRC06:38
*** yamamoto has joined #openstack-fwaas06:39
*** yamamoto has quit IRC06:39
*** eezhova has joined #openstack-fwaas06:44
openstackgerritMerged openstack/neutron-fwaas-dashboard master: Imported Translations from Zanata  https://review.openstack.org/49780306:48
reedipyushiro : hi, have you ever created a network with MTU > actual physical network MTU ?07:38
*** yamamoto has joined #openstack-fwaas07:40
*** eezhova has quit IRC07:41
*** yamamoto has quit IRC07:45
yushiroreedip, hmm no.07:52
yushiroreedip, I think it is validated in ml2 plugin layer.07:53
yushiroit depends type_driver.  If you set 'local', it depends on 'global_physnet_mtu' in /etc/neutron/neutron.conf07:54
yushiroreedip, otherwise, it depends on physical environment which you specified as 'physical_network'.07:55
yushiroreedip, You can refer neutron/neutron/plugins/ml2/plugin.py +761 ~ 76807:56
*** eezhova has joined #openstack-fwaas08:05
reedipthanks yushiro08:09
yushiroeezhova, ping08:40
eezhovayushiro, hi08:41
yushiroeezhova, Thanks for your reply08:41
*** yamamoto has joined #openstack-fwaas08:42
yushiroeezhova, Let me explain a reason why I said to specify 'set' as a type in docstring.08:42
yushiroeezhova, I thought it is more easy to understand in case of writing test codes.  I think it's better to align with a type of arguments for testing.08:43
yushiroeezhova, Could you tell me your opinion?08:44
eezhovayushiro, Hmm, yes, I agree about the tests. It is possible to write a test that would work for all iterable types but it would look more complex08:46
eezhovayushiro, it's not worth it, I guess..08:46
*** yamamoto has quit IRC08:47
eezhovayushiro, I'll update the patch per your comments then08:47
yushiroeezhova, oh, just a moment, please.08:47
yushiroeezhova, what is 'more complex' ?  You mean it's enough to specify 'iterable' ?08:50
eezhovayushiro, I mean that it would be needed to change the test to validate call args separately (smth like I was trying to do in PS3) and additionally iterate over port_ids elements to check that they are the same as expected ones.08:55
eezhovathat's because we can't just make assertEqual for two iterables08:57
yushiroeezhova, Ah, yes. In PS3 you wrote self._invoke_driver_for_sync_from_plugin(09:02
yushiroctx, list(ports_to_process), firewall_group).  Hence, it seems complexity in test codes.09:02
yushiroeezhova, So no need to convert list() for the argument.09:03
eezhovayushiro, yep, set is unordered, hence the resulting list could also have different order from what was expected in a test09:03
yushiroeezhova, Yes. In detail, list stores() an order but set() doesn't store an order.  Anyway, what I want to say is09:04
eezhovahm, in fact I checked - assertItemsEqual seems to work with different iterables09:07
eezhovahttps://docs.python.org/2/library/unittest.html#unittest.TestCase.assertItemsEqual09:07
yushirooh, OK.09:08
yushiroeezhova, 'iterable' includes wide meanings.  E.g. if we specify dict() or ordereddict(), what's happen? It only evaluated 'key' and ignored 'value'...09:09
yushiroI think this method doesn't need to care about 'order', so it's OK to use assertCountEqual (assertItemsEqual) for testing.09:10
*** reedip has quit IRC09:12
yushiroeezhova, How about specifying 'ID of ports' (list or set) or something?09:12
*** reedip has joined #openstack-fwaas09:12
eezhovayushiro, For dictionary it should also work fine as it is iterable and by default we would iterate over its keys09:20
yushiroeezhova, Yes, but we cannot solve in a flash that only 'key' is evaluated after read current docstring.  So, I think it's better to limit available argument type.09:24
yushiroIn fact, dict() or ordereddict() is unexpected case for this method's argument.09:25
eezhovayushiro, yes, it is) okay, lets limit the argument variety09:27
yushiroeezhova, OK.  I'll wait your next Patch sets ;)09:27
yushiroeezhova, Thanks for your discussion.  Sorry for confusing my English ;(09:27
eezhovayushiro, No confusion at all, your English is really good :)09:28
eezhovaI'm not a native speaker as well, btw09:28
yushiroeezhova, Wow, really??  OpenStack contributers except me are native for me ;) Haha~09:29
eezhovayeah, there are not so many native speakers here as it may seem. the OpenStack community is rather diverse :)09:32
yushiroeezhova, +109:32
openstackgerritElena Ezhova proposed openstack/neutron-fwaas master: Fix router update on L3 agent restart  https://review.openstack.org/49565709:34
*** yamamoto has joined #openstack-fwaas09:43
eezhovayushiro, I got carried away about the test: there is no need to update it with assertItemsEqual and stuff because we don't validate the `_invoke_driver_for_sync_from_plugin` method, we just check that it is called with correct arguments (set in our case). Sorry for confusion09:45
*** eezhova is now known as eezhova_afk09:45
*** yamamoto has quit IRC09:49
*** reedip has quit IRC09:52
*** reedip has joined #openstack-fwaas09:53
*** eezhova_afk is now known as eezhova10:21
openstackgerritOpenStack Proposal Bot proposed openstack/neutron-fwaas-dashboard master: Imported Translations from Zanata  https://review.openstack.org/49875110:43
*** yamamoto has joined #openstack-fwaas10:45
*** yamamoto has quit IRC10:51
openstackgerritReedip proposed openstack/neutron-fwaas master: Use neutron-lib FirewallInternalDriverError  https://review.openstack.org/49825610:52
*** yushiro has quit IRC11:27
*** yamamoto has joined #openstack-fwaas11:47
*** yamamoto has quit IRC11:52
*** hoangcx_ has joined #openstack-fwaas12:17
*** obre has quit IRC12:39
*** obre has joined #openstack-fwaas12:40
*** obre has quit IRC12:42
*** obre has joined #openstack-fwaas12:42
*** obre has quit IRC12:45
*** obre has joined #openstack-fwaas12:46
*** yamamoto has joined #openstack-fwaas12:49
*** yamamoto has quit IRC12:54
*** SarathMekala has joined #openstack-fwaas13:39
*** yamamoto has joined #openstack-fwaas13:50
*** yamamoto has quit IRC13:56
openstackgerritMerged openstack/neutron-fwaas master: Drop MANIFEST.in - it's not needed by pbr  https://review.openstack.org/47926013:57
*** yushiro has joined #openstack-fwaas13:59
*** chandanc has joined #openstack-fwaas13:59
*** doude has joined #openstack-fwaas14:19
*** hoangcx_ has quit IRC14:31
*** yamamoto has joined #openstack-fwaas14:52
*** yamamoto has quit IRC14:58
*** chandanc has quit IRC15:00
*** SarathMekala has quit IRC15:08
*** reedip_ has joined #openstack-fwaas15:08
*** yushiro has quit IRC15:09
reedip_sorry,my fone switched off15:09
*** yushiro has joined #openstack-fwaas15:10
*** yushiro has quit IRC15:15
*** eezhova has quit IRC15:18
*** SarathMekala has joined #openstack-fwaas15:32
*** sarathmekala_ has joined #openstack-fwaas15:33
*** SarathMekala has quit IRC15:36
*** yamamoto has joined #openstack-fwaas15:54
*** eezhova has joined #openstack-fwaas15:57
*** eezhova has quit IRC15:57
*** yamamoto has quit IRC16:00
*** eezhova has joined #openstack-fwaas16:00
*** yamamoto has joined #openstack-fwaas16:56
*** sarathmekala_ has quit IRC17:00
*** yamamoto has quit IRC17:02
*** eezhova has quit IRC17:13
*** eezhova has joined #openstack-fwaas17:56
*** yamamoto has joined #openstack-fwaas17:58
*** eezhova has quit IRC17:58
*** yamamoto has quit IRC18:04
*** eezhova has joined #openstack-fwaas18:53
*** yamamoto has joined #openstack-fwaas18:59
*** yamamoto has quit IRC19:05
*** yamamoto has joined #openstack-fwaas19:27
openstackgerritMerged openstack/neutron-fwaas-dashboard master: Imported Translations from Zanata  https://review.openstack.org/49875119:42
*** eezhova has quit IRC20:54
openstackgerritMerged openstack/neutron-fwaas master: Use neutron-lib FirewallInternalDriverError  https://review.openstack.org/49825620:58
openstackgerritMerged openstack/neutron-fwaas master: FirewallGroupPortInvalidProject can be raised now  https://review.openstack.org/49419820:58
*** yamamoto has quit IRC21:04
*** yamamoto has joined #openstack-fwaas21:08
*** yamamoto has quit IRC21:30
*** yamamoto has joined #openstack-fwaas21:32
*** yamamoto has quit IRC21:32
openstackgerritAkihiro Motoki proposed openstack/neutron-fwaas-dashboard master: FWaaS V2 Horizon Dashboard  https://review.openstack.org/47584021:39
openstackgerritAkihiro Motoki proposed openstack/neutron-fwaas-dashboard master: Clean up unnecessary capitalizations  https://review.openstack.org/49896422:09
*** yamamoto has joined #openstack-fwaas23:28
*** yamamoto has quit IRC23:46

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!