Sunday, 2018-01-07

*** serverascode has quit IRC00:15
*** serverascode has joined #openstack-dragonflow00:18
*** yamamoto has joined #openstack-dragonflow03:50
*** yamamoto has quit IRC04:03
*** yamamoto has joined #openstack-dragonflow04:39
*** yamamoto has quit IRC04:40
*** yamamoto has joined #openstack-dragonflow04:40
*** yamamoto has quit IRC04:47
irenabpino: There is a spec and work in progress to place DB migration baseline: https://review.openstack.org/#/c/500647/  https://review.openstack.org/#/c/401210/05:54
dimakGood morning06:04
irenabmorning06:05
openstackgerritEyal Leshem proposed openstack/dragonflow master: Add add command to df-db  https://review.openstack.org/53111907:28
leyal-Good morning07:29
irenableyal-, hi07:34
leyal-irenab - ין07:35
leyal-irenab - hi07:35
irenabI just posted comments on the df-db related patchset 4, please check. Meanwhile you uploaded more updated version :-)07:35
leyal-irenab, thanks! i will take a look07:36
*** natanbro has joined #openstack-dragonflow08:05
oansonMorning08:09
openstackgerritEyal Leshem proposed openstack/dragonflow master: Add add command to df-db  https://review.openstack.org/53111908:11
oansonlihi, http://hyper.readthedocs.io/en/development/quickstart.html#requests-integration08:34
lihioanson, still in early alpha08:36
oanson:(08:36
oansonhttps://github.com/DavidWittman/ansible-redis08:38
openstackgerritOmer Anson proposed openstack/dragonflow master: [WIP] Use NbApi where possible in df_db  https://review.openstack.org/53059408:46
openstackgerritOmer Anson proposed openstack/dragonflow master: Use NbApi where possible in df_db  https://review.openstack.org/53059408:46
oansonleyal-, ^^^ I've updated this patch. I'm still not sure I'm happy with it, but it passed rudimentary manual testing.08:47
leyal-oanson, cool.  i will look at that08:54
oansonThanks!08:55
*** yamamoto has joined #openstack-dragonflow09:01
*** yamamoto has quit IRC09:10
*** yamamoto has joined #openstack-dragonflow09:13
*** yamamoto has quit IRC09:18
*** yamamoto has joined #openstack-dragonflow09:30
*** yamamoto has quit IRC09:32
*** yamamoto has joined #openstack-dragonflow09:38
openstackgerritOmer Anson proposed openstack/dragonflow master: Spec: Database Migration  https://review.openstack.org/50064709:38
openstackgerritOmer Anson proposed openstack/dragonflow master: Add north-bound DB migration mechanism  https://review.openstack.org/40121009:38
openstackgerritOmer Anson proposed openstack/dragonflow master: Add upgrade code for DHCP port per network  https://review.openstack.org/52771609:38
openstackgerritOmer Anson proposed openstack/dragonflow master: Add upgrade script for Make Subnet a first-order model  https://review.openstack.org/52771709:38
openstackgerritOmer Anson proposed openstack/dragonflow master: Added Migration code for floatingip field removal  https://review.openstack.org/52901209:38
openstackgerritOmer Anson proposed openstack/dragonflow master: Added migration code to remove peer_bridge from OvsPort  https://review.openstack.org/53021309:38
*** yamamoto has quit IRC10:27
*** yamamoto has joined #openstack-dragonflow10:27
*** yamamoto has quit IRC12:02
*** yamamoto has joined #openstack-dragonflow12:18
*** yamamoto has quit IRC12:23
*** yamamoto has joined #openstack-dragonflow13:03
oansonsnapiri, ping13:05
openstackgerritDima Kuznetsov proposed openstack/dragonflow master: Application decoupling spec  https://review.openstack.org/50353813:06
openstackgerritDima Kuznetsov proposed openstack/dragonflow master: [WIP] New application framework  https://review.openstack.org/52935813:06
openstackgerritDima Kuznetsov proposed openstack/dragonflow master: [WIP] Connect new Datapath object to ryu base  https://review.openstack.org/52998013:06
openstackgerritDima Kuznetsov proposed openstack/dragonflow master: [WIP] Add dragonflow legacy node to new datapath  https://review.openstack.org/52998113:06
openstackgerritDima Kuznetsov proposed openstack/dragonflow master: [WIP] Port portsec app to new framework  https://review.openstack.org/52998213:06
openstackgerritDima Kuznetsov proposed openstack/dragonflow master: [WIP] Port SG app to new framework  https://review.openstack.org/53002813:06
*** yamamoto has quit IRC13:08
*** yamamoto has joined #openstack-dragonflow13:44
*** yamamoto has quit IRC13:44
openstackgerritOmer Anson proposed openstack/dragonflow master: Use NbApi where possible in df_db  https://review.openstack.org/53059413:50
*** natanbro has quit IRC13:52
oansonirenab, ping14:14
irenaboanson, pong14:14
oansonI'm looking at your comment on https://review.openstack.org/#/c/530594/14:14
irenabfirst or second?14:15
oansonIf instead of sys.exit, I throw a SystemExit exception, will that do?14:15
oansonLine 3914:15
irenabwhy not let the caller of this method sort this out?14:15
oansonIt comes out as a lot of repeated code14:16
oansonBasically, it's the same try ... catch return whenever it is called14:16
irenabIt is just a getter, so seems a bit drastic to exit the process if it cannot get the requested14:17
oansonUsually, true14:17
oansonBut this case is a very command-line-utility oriented implementation14:17
oansonIt is not meant to be called as a library. For that, the original get_model (on model_framework) exists14:17
irenabOr just rename the method to something like 'get_or_abort'14:18
irenaboanson, seens its open source, you may never know how the code is going to be 'abused'14:18
oansonI could. If that would be enough14:18
irenabhaving more meaningful name will work for me in this case14:19
oansonI refuse to code for future ignorance :) It is marked as private, and modifying it like you want (raising exception rather than exit) is exactly the behaviour of the inner function14:19
oanson^^^ That was for the 'open source is abused' comment. Not the other one14:19
irenabraising exception is much better than exiting, but still SystemExit is a bit drastic for getter14:20
irenabin python there is no strict private metod that can be guaranteed14:21
snapiriIf I may barge in, I believe that creating an exception for that purpose, throwing it, and catching it in the common ancestor would work best14:21
irenabI second snapiri14:21
oansonI think that adds a lot of bloat.14:22
snapiriSystemExit would work, and is a second-best alternative14:22
oansonI am willing to settle on a SystemExit solution14:22
snapirifine with me14:22
irenaboanson, sold :-)14:22
oansonThen that's what I'll do14:23
*** yamamoto has joined #openstack-dragonflow14:45
openstackgerritEyal Leshem proposed openstack/dragonflow master: Add add command to df-db  https://review.openstack.org/53111914:54
*** yamamoto has quit IRC14:56
openstackgerritDima Kuznetsov proposed openstack/dragonflow master: Application decoupling spec  https://review.openstack.org/50353815:18
dimaksnapiri, take a look at my comments on the app spec15:18
openstackgerritDima Kuznetsov proposed openstack/dragonflow master: [WIP] New application framework  https://review.openstack.org/52935815:41
openstackgerritDima Kuznetsov proposed openstack/dragonflow master: [WIP] Connect new Datapath object to ryu base  https://review.openstack.org/52998015:41
openstackgerritDima Kuznetsov proposed openstack/dragonflow master: [WIP] Add dragonflow legacy node to new datapath  https://review.openstack.org/52998115:41
openstackgerritDima Kuznetsov proposed openstack/dragonflow master: [WIP] Port portsec app to new framework  https://review.openstack.org/52998215:41
openstackgerritDima Kuznetsov proposed openstack/dragonflow master: [WIP] Port SG app to new framework  https://review.openstack.org/53002815:41
*** yamamoto has joined #openstack-dragonflow16:43
*** yamamoto has quit IRC16:48
*** yamamoto has joined #openstack-dragonflow16:49
*** yamamoto has quit IRC17:33
*** yamamoto has joined #openstack-dragonflow17:43
*** yamamoto has quit IRC17:46
*** yamamoto has joined #openstack-dragonflow17:46
*** yamamoto has quit IRC17:46
*** yamamoto has joined #openstack-dragonflow18:47
*** yamamoto has quit IRC18:56

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