16:00:47 #startmeeting networking_ml2 16:00:48 Meeting started Wed Mar 9 16:00:47 2016 UTC and is due to finish in 60 minutes. The chair is Sukhdev. Information about MeetBot at http://wiki.debian.org/MeetBot. 16:00:49 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 16:00:52 The meeting name has been set to 'networking_ml2' 16:00:57 yamamoto : hi 16:01:18 #topic: Agenda 16:01:25 #link: https://wiki.openstack.org/wiki/Meetings/ML2#Meeting_March_9.2C_2016 16:01:35 #topic: Announcements 16:01:42 rkukura is off today 16:01:55 who is here to attend the meeting? 16:02:33 I was hoping yalie will attend today - had some questions for him 16:02:54 yamamoto: it seems like it is just you and me today 16:03:14 yea 16:03:48 Do you have anything specific to discuss 16:04:00 nothing 16:04:11 since it is just two of us - we can go with customized agenda :-) 16:04:20 yamamoto : I have a question for you - 16:04:46 have you implemented or are familiar with Security Groups in ML2? 16:05:28 #topic: Open Agenda 16:05:38 my coworker implemented SG for ml2/midonet. 16:06:05 so i'm kinda familiar with it. 16:06:26 I see - so, let me ask you couple of questions related to it 16:06:51 sure 16:08:03 when one creates security groups (defines security rules, etc) and then launches an instance, sec groups is passed as a parameter to port create request in ML2 16:08:53 ML2 driver can then act on those and implement the back-end 16:09:42 however, when the instance(s) are already running and a security group is modified 16:10:29 In order to modify the security policy on the instance, ML2 driver has to register for the callbacks 16:10:56 yes 16:12:24 so, in the callback, when a notification comes for the sec group change, ML2 has to figure out which ports are impacted or the impacted ports are in the notification? 16:13:50 a driver need to figure out affected ports by itself. 16:14:44 that is what I thought, but, wanted to check - 16:14:59 in case of midonet, the driver just pass-through and the backend maintains the association. 16:15:53 can you point me to where in midonet are callbacks processed? 16:16:11 driver? or backend? 16:16:14 Also are the sec groups stored somewhere in the ML2 tables in DB 16:16:31 driver 16:16:44 may be backend as well - if available 16:17:00 https://github.com/openstack/networking-midonet/blob/master/midonet/neutron/ml2/sg_callback.py 16:18:18 backend: https://github.com/midonet/midonet/blob/master/midonet-cluster/src/main/scala/org/midonet/cluster/services/c3po/translators/SecurityGroupRuleTranslator.scala 16:18:57 got it - thanks 16:18:58 and this https://github.com/midonet/midonet/blob/master/midonet-cluster/src/main/scala/org/midonet/cluster/services/c3po/translators/SecurityGroupTranslator.scala 16:19:42 in your driver, do you support more than one security group on a given port? 16:20:20 or all the security rules related to a port are folded into a single group? 16:22:57 what do you mean by folded? 16:23:47 meaning all the sec rules are put into one group 16:25:16 it supports multiple groups 16:25:37 got it - that is what I guessed from looking at the driver code 16:25:57 that answers my question 16:26:20 Anybody else has joined the meeting? 16:26:43 given remote-group-id functionality, i'm not sure how folding into a single group work. 16:27:13 yamamoto : it probably will not 16:27:41 are you going to implement SG for some driver? 16:27:53 yes 16:28:10 which driver? just curious 16:28:18 Arista ML2 16:28:39 hence, wanted to see what is out there and pointers :-) 16:29:11 btw, regarding to sg, can you please help to review https://review.openstack.org/#/c/281693/ ? 16:29:35 SG is complex to implement. good luck. 16:30:05 hi yamahata 16:30:11 hi yamamoto 16:30:36 * yamahata joined this meeting late 16:30:54 yamahata : welcome 16:31:05 Sukhdev: i guess you can ask a question for yalie to yamahata 16:31:22 we were discussing security groups and ML2 16:31:28 Yeah, I'm closely working with Yalei. 16:32:23 yamahata : I had questions for yalie regarding SG, but, I think yamamoto sort of answered those for me 16:32:36 oh yamamoto knows everything... 16:32:41 heh 16:32:53 yup 16:33:21 yamahata : I may ping you later in the week or next week - if I have more questions 16:33:31 sure. 16:33:38 yamahata : in the mean time, I will review your patch and provide comments 16:33:44 Due to timezone issue, it's difficult for yalei to join this meeting. 16:33:54 Sukhdev: thanks. 16:34:07 which time zone are you guys in? 16:34:31 yamahata in PST, yalei in china 16:35:32 i'm in japan (UTC+9) 16:35:55 Oh I see 16:36:06 I am in PST 16:36:45 yamahata : do you have any agenda Item that you want to discuss? 16:36:55 only patch review. 16:37:31 it's done. 16:37:58 OK cool 16:38:05 I guess in that case we are done 16:38:18 Thanks for attending the meeting 16:38:40 thank you 16:38:46 thanks 16:39:13 bye 16:39:17 #endmeeting