Thursday, 2017-09-07

*** yamamoto_ has joined #openstack-dragonflow02:09
*** _pino has joined #openstack-dragonflow03:25
_pinooanson: dimak: Is there any OpenFlow/OVS register holding the tenant/project ID? If not, I'd like to set it for an experiment I'm doing. I'm thinking of just modifying03:31
_pinohttps://github.com/openstack/dragonflow/blob/master/dragonflow/controller/apps/l2.py#L32803:32
_pino... just adding another action to set a free register with the value of the tenant_id.03:33
_pinoBut I don't know how to get the tenant/project id from the lport - is it just the device_owner field?03:33
_pinoOr is the tenant_id saved in lport.topic?03:35
oanson_pino, this isn't done.03:37
oansonI suggest you use the classifier app, which also sets reg603:37
oansonThe tenant ID is usually in topic.03:37
oansonFor VM/container lports, I think it's always in 'topic'03:37
oanson_pino, see e.g. https://github.com/openstack/dragonflow/blob/master/dragonflow/controller/apps/classifier.py?utf8=%E2%9C%93#L8503:38
oansonBut note that topic is a UUID (I think that's 128 bits). Registers only have 32 bits. So I'd recommend a mapping.03:41
_pinooanson: thanks!03:48
oanson_pino, no worries. May I ask what you need this for?03:48
_pinoOne more thing... reg6 and reg7 are set to lport.unique_id03:48
_pinoWho assigns those unique IDs?03:48
oansonUnique IDs are assigned in the Neutron Server by our mechanism driver. We use the distributed database to generate the unique keys in an atomic manner so there'll be no collisions03:49
_pinoAre those OF/OVS port numbers (unique, but start at 1 and are on the order of number of VMs on the host).03:49
_pinoAh, ok, so they're unique across the entire deployment. I was just thinking that reg6/reg7 might have enough bits to encode both the port and the tenant ID.03:50
oansonYes. In essence, they already do :)03:50
oansonBut the encoding isn't very useful.03:50
_pinoAnyway, that's over-optimizing for my current purposes - I'll ask you about it again later.03:51
oansonSure.03:51
*** _pino has quit IRC03:53
openstackgerritOmer Anson proposed openstack/dragonflow master: use qos DriverBase from neutron-lib  https://review.openstack.org/50156204:05
oansondimak, lihi ^^^^^ This might be a gate fix due to https://review.openstack.org/#/c/48719404:06
*** yamamot__ has joined #openstack-dragonflow04:20
*** yamamoto_ has quit IRC04:21
*** dims has quit IRC04:40
*** lihi has quit IRC05:06
*** yamamot__ has quit IRC05:07
*** lihi has joined #openstack-dragonflow05:07
*** yamamoto_ has joined #openstack-dragonflow05:07
*** leyal has quit IRC05:08
*** leyal has joined #openstack-dragonflow05:08
*** oanson has quit IRC05:58
*** oanson has joined #openstack-dragonflow05:59
openstackgerritOmer Anson proposed openstack/dragonflow master: use neutron notifier correctly  https://review.openstack.org/49916606:11
oansonlihi, dimak, I'd be happy if you could also look at https://review.openstack.org/#/c/501240 ?06:57
oansonThanks!06:57
*** shachar has joined #openstack-dragonflow07:16
*** zenoway has joined #openstack-dragonflow07:22
openstackgerritEyal Leshem proposed openstack/dragonflow master: Compere IP to IP  https://review.openstack.org/50123307:27
openstackgerritEyal Leshem proposed openstack/dragonflow master: Compere IP to IP  https://review.openstack.org/50123307:31
openstackgerritEyal Leshem proposed openstack/dragonflow master: use neutron notifier correctly  https://review.openstack.org/49916607:43
openstackgerrityanghuichan proposed openstack/dragonflow master: Fix wrong links in dragonflow  https://review.openstack.org/50161908:09
*** omnipresent has joined #openstack-dragonflow08:09
*** zenoway has quit IRC08:12
openstackgerritMerged openstack/dragonflow master: use qos DriverBase from neutron-lib  https://review.openstack.org/50156208:40
*** omnipresent has quit IRC08:43
*** zenoway has joined #openstack-dragonflow08:46
openstackgerritMerged openstack/dragonflow master: Update log info  https://review.openstack.org/50104809:05
openstackgerritEyal Leshem proposed openstack/dragonflow master: Compere IP to IP  https://review.openstack.org/50123309:10
openstackgerritEyal Leshem proposed openstack/dragonflow master: use neutron notifier correctly  https://review.openstack.org/49916609:14
*** yamamoto_ has quit IRC09:28
*** yamamoto has joined #openstack-dragonflow09:46
openstackgerritEyal Leshem proposed openstack/dragonflow master: DHCP port per lswitch spec  https://review.openstack.org/49846410:03
openstackgerritEyal Leshem proposed openstack/dragonflow master: Fix wrong links in dragonflow  https://review.openstack.org/50161910:04
openstackgerritEyal Leshem proposed openstack/dragonflow master: DHCP port per lswitch spec  https://review.openstack.org/49846410:08
*** zenoway has quit IRC10:08
*** zenoway has joined #openstack-dragonflow10:09
*** zenoway has quit IRC10:13
*** yamamoto has quit IRC10:14
*** oanson has quit IRC10:16
*** oanson has joined #openstack-dragonflow10:18
*** zenoway has joined #openstack-dragonflow10:18
*** yamamoto has joined #openstack-dragonflow10:19
*** zenoway has quit IRC10:23
*** zenoway has joined #openstack-dragonflow10:23
*** oanson_ has joined #openstack-dragonflow10:32
*** oanson_ has quit IRC10:38
openstackgerritEyal Leshem proposed openstack/dragonflow master: DHCP port per lswitch spec  https://review.openstack.org/49846411:48
openstackgerritMerged openstack/dragonflow master: Clear db_store by calling clear method  https://review.openstack.org/50124011:57
*** dims has joined #openstack-dragonflow12:07
openstackgerritMerged openstack/dragonflow master: Add an in-memory NB database driver  https://review.openstack.org/49424812:24
*** mlavalle has joined #openstack-dragonflow14:05
*** irenab has quit IRC15:12
*** irenab has joined #openstack-dragonflow15:12
oansonmlavalle, hi, are you in?15:35
mlavalleyeah15:35
oansonCan I trouble you with an L3 flavour question?15:35
mlavallesup?15:35
mlavalleI'll try to help15:35
oansonNo complaints here :). What's with you?15:35
oansonI read the docs. I'm not sure I understand how the L3 implementation connects with the rest of the backend.15:36
oansonHow does the L3 flavour implementation get the packets? How does it send them out?15:36
mlavalleyeah the document is not very good15:37
oansonOnce Dragonflow L3 flavour is implemented, we can use it as a running example and a tutorial15:38
mlavallelet's move this conversation to the Neutron channel. running a meeting right now. But kevinbento can helpo you there15:38
oansonSure15:38
*** zenoway has quit IRC15:53
mlavalleoanson: if kevin doesn't answer in a reasonable time for you (it is the middle of the night, isn't it) I'll follow up with you on Monday during th IRC meeting16:12
oansonmlavalle, sure. Thanks. It's past midnight here, and my plane will be leaving soon :)16:12
oanson(Mostly the plane time is the issue)16:13
mlavalleI'll follow up with you16:13
oansonThanks!16:16
*** dims has quit IRC18:34
*** dims has joined #openstack-dragonflow18:36
*** dims has quit IRC18:41
*** dims has joined #openstack-dragonflow18:45
*** mlavalle has quit IRC23:49

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