Monday, 2017-08-14

*** yamamoto has quit IRC00:01
*** yamamoto has joined #openstack-dragonflow00:01
*** yamamoto has quit IRC00:52
*** yamamoto has joined #openstack-dragonflow00:55
*** yamamoto has quit IRC01:26
*** yamamoto has joined #openstack-dragonflow01:48
*** yamamoto has quit IRC01:58
*** yamamoto has joined #openstack-dragonflow01:59
*** yamamoto has quit IRC02:10
*** yamamoto has joined #openstack-dragonflow02:13
oansonMorning05:38
dimakoanson, morning05:42
irenabmorning05:59
irenaboanson: welcome back from the β€œPTO”06:00
oansonirenab, thanks. Welcome back from holiday.06:00
irenabthanks06:00
*** kkxue has joined #openstack-dragonflow06:09
*** yamamoto has quit IRC06:21
openstackgerritMerged openstack/dragonflow master: BGP service: Construct function name with format  https://review.openstack.org/49242806:50
oansondimak, you in?07:11
oansonDid we ever discuss inheritance/polymorphism in our NB models?07:12
dimakoanson, I don't think we should, why?07:12
oansonIt would be helpful. Both for LBaaS and unified classification07:13
dimakElaborate?07:13
oansonGimme a sec to come up with a coherent example07:16
oansonAll right. In LBaaS, I have a 'Listener' - it says on what to listen (Protocl, port, etc.)07:16
oansonNow there can be several types: TCP, UDP, raw, http.07:16
oansonEach of these has different parameters: TCP and UDP have ports. raw has address, length, and data. http has e.g. the request URL, or a header value.07:17
oansonAnd maybe later we'll want to also add others: http2, sip, etc.07:17
oansonSo Listener (or maybe a child object) should be an 'abstract class' (in OOP terminology), and each of these should inherit from it07:18
oansondimak, ?07:20
dimakI'd rather avoid this kind of complexity07:20
oansonSo what would you suggest?07:20
dimakFor starters, using a union type07:21
oansonIt will grow whenever we add more types.07:21
oansonIt will probably lead to some strange re-uses for fields that are almost, but not exactly, the same.07:21
dimakOtherwise, you'll have to maintain a factory07:22
dimakto know what object to instantiate07:22
dimakyou can do that by tagging all instances with their type..07:22
dimakand using dynamic registration07:22
dimakbut I don't really like it tbh07:23
oansonNot sure I understood the last bit.07:23
oansonWhat's wrong with a factory?07:23
oansonWe can overload the from_* functions to call the factory. Dynamic registration isn't too bad. We have it in other places.07:24
dimakNothing wrong, I think that a simpler approach might be a better way to start07:24
oansonIf the infrastructure will hide most of the implementation details, we can come up with a clean API.07:24
oansonAll right. I'll put both options in the spec, and we'll vote for it.07:25
dimakBefore the spec, maybe implement some half baked example?07:25
dimakSo we can toy with it07:25
oansonI can try. But I want to make progress with the spec a bit.07:26
dimakSure07:26
openstackgerritDima Kuznetsov proposed openstack/dragonflow master: Move FIP status updates to L3 plugin  https://review.openstack.org/49335907:36
openstackgerritDima Kuznetsov proposed openstack/dragonflow master: Move FIP status updates to L3 plugin  https://review.openstack.org/49335907:47
dimakoanson, lihi, irenab take a look at ^ when you get a moment07:51
lihiπŸ‘07:52
oansonWill do07:52
dimaklihi, if you have more spare moments, also take a look at https://review.openstack.org/#/c/489994/ :)07:52
lihisure07:52
*** yamamoto has joined #openstack-dragonflow07:54
*** dmellado has quit IRC08:06
*** yamamoto has quit IRC08:12
*** yamamoto has joined #openstack-dragonflow08:14
*** yamamoto has quit IRC08:23
*** yamamoto has joined #openstack-dragonflow08:43
*** openstackgerrit has quit IRC08:48
*** kkxue has quit IRC09:45
*** yamamoto has quit IRC10:37
*** yamamoto has joined #openstack-dragonflow10:40
*** yamamoto has quit IRC10:40
*** openstackgerrit has joined #openstack-dragonflow10:56
openstackgerritMerged openstack/dragonflow master: [01/xx] Introduce bind/unbind port events  https://review.openstack.org/48999410:56
*** yamamoto has joined #openstack-dragonflow10:59
*** yamamoto has quit IRC11:04
*** kkxue has joined #openstack-dragonflow11:18
*** yamamoto has joined #openstack-dragonflow11:30
openstackgerritOmer Anson proposed openstack/dragonflow master: LBaaS spec  https://review.openstack.org/47746311:59
*** kkxue has quit IRC12:35
openstackgerritDima Kuznetsov proposed openstack/dragonflow master: Move FIP status updates to L3 plugin  https://review.openstack.org/49335912:55
openstackgerritOmer Anson proposed openstack/dragonflow master: [WIP] Replace usage of tenant_id with project_id  https://review.openstack.org/49353712:59
openstackgerritDima Kuznetsov proposed openstack/dragonflow master: [03/xx] Remove update_lport and cache all ports  https://review.openstack.org/48641114:17
openstackgerritDima Kuznetsov proposed openstack/dragonflow master: [02/xx] Introduce port locator  https://review.openstack.org/49307914:17
openstackgerritDima Kuznetsov proposed openstack/dragonflow master: [06/xx] Remove binding on trunk subports  https://review.openstack.org/49328214:17
openstackgerritDima Kuznetsov proposed openstack/dragonflow master: [04/xx] Dispatcher to hold apps by name  https://review.openstack.org/49355914:17
openstackgerritDima Kuznetsov proposed openstack/dragonflow master: [05/xx] Move port events handling into standalone app  https://review.openstack.org/49356014:17
openstackgerritDima Kuznetsov proposed openstack/dragonflow master: Change DNAT to rely on Provider app for bridge access  https://review.openstack.org/47536214:19
*** mlavalle has joined #openstack-dragonflow15:04
*** yamamoto has quit IRC16:21
*** yamamoto has joined #openstack-dragonflow17:22
*** yamamoto has quit IRC17:29
oansonDragonflow weekly meeting starting now19:01
oanson#openstack-meeting-419:01
dimakCool19:01
oansonleyal, irenab, lihi, dimak, mlavalle, and anyone else who wants to join19:01
leyalHi19:02
openstackgerritDima Kuznetsov proposed openstack/dragonflow master: Change DNAT to rely on Provider app for bridge access  https://review.openstack.org/47536219:03
*** lewo has quit IRC20:23
*** lewo has joined #openstack-dragonflow20:24
openstackgerritOmer Anson proposed openstack/dragonflow master: [WIP] Replace usage of tenant_id with project_id  https://review.openstack.org/49353720:30
*** yamamoto has joined #openstack-dragonflow21:08
*** yamamoto has quit IRC21:20
*** yamamoto has joined #openstack-dragonflow21:57
*** mlavalle has quit IRC22:20
*** lewo has quit IRC23:51
*** saggi has quit IRC23:51
*** dims has quit IRC23:51
*** zigo has quit IRC23:51
*** openstackgerrit has quit IRC23:51
*** oanson has quit IRC23:51
*** irenab has quit IRC23:51
*** afranc has quit IRC23:51
*** yamamoto has quit IRC23:51
*** serverascode has quit IRC23:51
*** evrardjp has quit IRC23:51
*** igordc has quit IRC23:51
*** yuval has quit IRC23:51
*** ChanServ has quit IRC23:51
*** lihi has quit IRC23:51
*** leyal has quit IRC23:51
*** yamamoto has joined #openstack-dragonflow23:55
*** lewo has joined #openstack-dragonflow23:55
*** lihi has joined #openstack-dragonflow23:55
*** oanson has joined #openstack-dragonflow23:55
*** irenab has joined #openstack-dragonflow23:55
*** leyal has joined #openstack-dragonflow23:55
*** saggi has joined #openstack-dragonflow23:55
*** afranc has joined #openstack-dragonflow23:55
*** serverascode has joined #openstack-dragonflow23:55
*** dims has joined #openstack-dragonflow23:55
*** zigo has joined #openstack-dragonflow23:55
*** evrardjp has joined #openstack-dragonflow23:55
*** ChanServ has joined #openstack-dragonflow23:56
*** tepper.freenode.net sets mode: +o ChanServ23:56
*** openstackgerrit has joined #openstack-dragonflow23:56
*** igordc has joined #openstack-dragonflow23:56
*** yuval has joined #openstack-dragonflow23:56
*** ChanServ has quit IRC23:56
*** igordc has quit IRC23:57
*** yuval has quit IRC23:57
*** openstackgerrit has quit IRC23:57
*** lewo has quit IRC23:57
*** saggi has quit IRC23:57
*** dims has quit IRC23:57
*** zigo has quit IRC23:57
*** oanson has quit IRC23:57
*** irenab has quit IRC23:57
*** afranc has quit IRC23:57
*** yamamoto has quit IRC23:57
*** serverascode has quit IRC23:57
*** evrardjp has quit IRC23:57
*** lihi has quit IRC23:57
*** leyal has quit IRC23:57

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