*** bobh has joined #tacker | 00:16 | |
*** bobh has quit IRC | 00:22 | |
*** prashantD_ has joined #tacker | 01:05 | |
*** bobh has joined #tacker | 01:18 | |
*** bobh has quit IRC | 01:23 | |
*** trozet has joined #tacker | 02:03 | |
*** bobh has joined #tacker | 02:19 | |
*** yifei has quit IRC | 02:19 | |
*** yifei1 has joined #tacker | 02:19 | |
*** yifei1 is now known as yifei | 02:21 | |
*** bobh has quit IRC | 02:24 | |
*** trozet has quit IRC | 02:31 | |
*** bobh has joined #tacker | 02:31 | |
*** bobh has quit IRC | 03:22 | |
*** bobh has joined #tacker | 03:26 | |
*** vishwanathj has joined #tacker | 03:28 | |
*** diga has joined #tacker | 03:44 | |
*** bobh has quit IRC | 04:04 | |
*** vishwanathj has quit IRC | 04:11 | |
*** janki has joined #tacker | 04:20 | |
*** prashantD_ has quit IRC | 04:35 | |
*** amotoki has joined #tacker | 05:11 | |
*** links has joined #tacker | 05:38 | |
*** links has quit IRC | 05:38 | |
*** diga has quit IRC | 05:44 | |
*** Murali has quit IRC | 05:53 | |
*** saju_m has joined #tacker | 06:09 | |
*** yifei has quit IRC | 06:46 | |
*** yifei1 has joined #tacker | 06:46 | |
*** yifei1 is now known as yifei | 06:48 | |
*** yifei has quit IRC | 06:52 | |
openstackgerrit | Merged openstack/tacker: Enables soft deletion for VIM, VNFD and VNF https://review.openstack.org/325718 | 07:01 |
---|---|---|
openstackgerrit | Merged openstack/tacker: Adds common services plugin for audit support https://review.openstack.org/326102 | 07:19 |
openstackgerrit | Merged openstack/tacker: Logs events for VIM, VNFD and VNF operations https://review.openstack.org/349153 | 07:28 |
*** yifei has joined #tacker | 07:31 | |
*** KanagarajM has joined #tacker | 09:55 | |
*** KanagarajM has quit IRC | 10:08 | |
*** tbh has joined #tacker | 10:22 | |
*** bharatht_ has joined #tacker | 10:22 | |
*** tbh has quit IRC | 10:22 | |
*** bharatht_ is now known as tbh | 10:22 | |
*** janki has quit IRC | 10:30 | |
*** janki has joined #tacker | 10:31 | |
*** prashantD_ has joined #tacker | 10:31 | |
*** prashantD_ has quit IRC | 10:36 | |
*** openstackgerrit has quit IRC | 11:03 | |
*** openstackgerrit has joined #tacker | 11:04 | |
*** amotoki has quit IRC | 11:15 | |
*** amotoki has joined #tacker | 11:15 | |
*** afranc has quit IRC | 11:17 | |
*** afranc has joined #tacker | 11:18 | |
*** tbh has quit IRC | 11:21 | |
*** openstackstatus has quit IRC | 11:36 | |
*** openstackstatus has joined #tacker | 11:39 | |
*** ChanServ sets mode: +v openstackstatus | 11:39 | |
*** saju_m has quit IRC | 11:51 | |
*** neel has joined #tacker | 11:59 | |
*** saju_m has joined #tacker | 12:03 | |
*** neel has quit IRC | 12:05 | |
*** haiwei has quit IRC | 12:08 | |
*** bobh has joined #tacker | 12:37 | |
*** uck has joined #tacker | 12:53 | |
*** DaveJ__ has joined #tacker | 12:56 | |
*** bobh has quit IRC | 12:57 | |
*** mike_m has joined #tacker | 13:06 | |
*** mike_m has quit IRC | 13:08 | |
*** mike_m has joined #tacker | 13:09 | |
*** trozet has joined #tacker | 13:21 | |
*** tbh has joined #tacker | 13:23 | |
*** bharatht_ has joined #tacker | 13:23 | |
*** bharatht_ has quit IRC | 13:26 | |
*** bobh has joined #tacker | 13:30 | |
*** bobh has quit IRC | 13:35 | |
*** bobh has joined #tacker | 13:41 | |
*** KanagarajM has joined #tacker | 13:41 | |
*** vishwanathj has joined #tacker | 13:44 | |
janki | sridhar_ram, ping | 13:46 |
*** diga has joined #tacker | 14:01 | |
*** KanagarajM has quit IRC | 14:03 | |
*** uck has quit IRC | 14:28 | |
openstackgerrit | vishwanath jayaraman proposed openstack/tacker: Adds functional tests for common services plugin https://review.openstack.org/358678 | 14:36 |
*** tbh has quit IRC | 14:40 | |
*** vishwanathj has quit IRC | 14:53 | |
*** vishwanathj has joined #tacker | 14:53 | |
*** janki has quit IRC | 15:12 | |
*** uck has joined #tacker | 15:17 | |
*** uck has quit IRC | 15:22 | |
*** prashantD has joined #tacker | 15:44 | |
*** uck has joined #tacker | 16:01 | |
*** uck has quit IRC | 16:01 | |
*** janki has joined #tacker | 16:09 | |
janki | sridhar_ram, ping | 16:09 |
*** DaveJ__ has quit IRC | 16:31 | |
sridhar_ram | janki: pong | 16:34 |
janki | sridhar_ram, for BP for creating VNF from template directly, should I send the template file as an "attribute" or a seaparate variable? | 16:36 |
janki | content type would be json to be in line with this bug https://bugs.launchpad.net/tacker/+bug/1591361 | 16:36 |
openstack | Launchpad bug 1591361 in tacker "Fix data handling for vnfd, config and param yaml templates" [Medium,New] - Assigned to Janki Chhatbar (jankihchhatbar) | 16:36 |
sridhar_ram | janki: content type shd definitely be json. However i'd suggest some other meaningful name instead of sending this as "attribute" | 16:40 |
janki | sridhar_ram, i am thinking of keeping it as "vnfd-file" or "vnfd-template" | 16:41 |
sridhar_ram | "vnfd" is probably sufficient | 16:41 |
sridhar_ram | ... definitely not "-file" | 16:42 |
janki | What I initially meant was, shoud it be a part of "attributes" like https://github.com/openstack/python-tackerclient/blob/master/tackerclient/tacker/v1_0/vm/vnf.py#L109 | 16:42 |
janki | won't just "vnfd" be confusing. | 16:42 |
janki | currently, there are vnfd-name and vnfd-id options. with this feature, there would be vnfd-name, vnfd-id and nfd-file/template | 16:43 |
janki | sridhar_ram, ^^ | 16:43 |
sridhar_ram | janki: then the next choice would be "vnfd-template" | 16:45 |
sridhar_ram | janki: .. which btw shd get precedence over vnfd-id/name if both are specified | 16:45 |
*** diga has quit IRC | 16:46 | |
janki | sridhar_ram, ok. will go with vnfd-template. would it be part of "attributes" like https://github.com/openstack/python-tackerclient/blob/master/tackerclient/tacker/v1_0/vm/vnf.py#L109 or a separate entity in API? | 16:46 |
janki | sridhar_ram, precedence - noted | 16:46 |
sridhar_ram | janki: separate entity outside "attributes" | 16:47 |
janki | sridhar_ram, ok. I noticed that this BP is targeted for Ocata right? | 16:48 |
sridhar_ram | janki: that's exactly what I was abt to talk to u | 16:48 |
sridhar_ram | janki: what is ur estimate to finish this? | 16:48 |
janki | sridhar_ram, I can finish in 2 days max. | 16:49 |
sridhar_ram | janki: I'd love to have this in Newton but it has client changes | 16:49 |
janki | both the client and server | 16:49 |
*** bobh has quit IRC | 16:49 | |
janki | sridhar_ram, we can have this in Newton and this bug https://bugs.launchpad.net/tacker/+bug/1591361 in Ocata | 16:49 |
openstack | Launchpad bug 1591361 in tacker "Fix data handling for vnfd, config and param yaml templates" [Medium,New] - Assigned to Janki Chhatbar (jankihchhatbar) | 16:49 |
sridhar_ram | janki: we are cutting close to the client release deadline (this Friday). | 16:50 |
sridhar_ram | janki: for server side, we have sometime..so if u can take care of the API parts in both the client and server we have a chance of making it in Newton | 16:51 |
janki | sridhar_ram, Can work extra and finish it in by wednesday eod | 16:52 |
sridhar_ram | janki: cool, I'll put this in the agenda in tomorrow's mtg | 16:52 |
janki | sridhar_ram, ok. | 16:52 |
janki | earlier mentioned bug too is assigned to me and is under Newton priority as per the etherpad. Could that be moved to Ocata? | 16:53 |
janki | sridhar_ram, https://etherpad.openstack.org/p/tacker-newton-release-priority | 16:54 |
* sridhar_ram is checking | 16:54 | |
sridhar_ram | janki: u mean support vnfd template using json ? | 16:55 |
janki | sridhar_ram, yes. Not just vnfd template but param and config files too | 16:56 |
janki | sridhar_ram, this bug - https://bugs.launchpad.net/tacker/+bug/1591361 | 16:57 |
openstack | Launchpad bug 1591361 in tacker "Fix data handling for vnfd, config and param yaml templates" [Medium,New] - Assigned to Janki Chhatbar (jankihchhatbar) | 16:57 |
sridhar_ram | janki: okay, we can punt that to ocata | 16:57 |
janki | sridhar_ram, cool. thanks | 16:57 |
*** janki has quit IRC | 17:00 | |
*** amotoki has quit IRC | 17:06 | |
*** sripriya has joined #tacker | 17:10 | |
*** uck has joined #tacker | 17:13 | |
*** tbh has joined #tacker | 17:24 | |
*** prashantD_ has joined #tacker | 17:34 | |
*** prashantD has quit IRC | 17:38 | |
*** bobh has joined #tacker | 17:50 | |
*** prashantD has joined #tacker | 17:51 | |
*** prashantD_ has quit IRC | 17:54 | |
*** bobh has quit IRC | 17:54 | |
trozet | sridhar_ram, sripriya: ping? | 17:55 |
*** s3wong has joined #tacker | 17:58 | |
*** bobh has joined #tacker | 17:58 | |
sripriya | trozet: hello | 18:02 |
trozet | hi sripriya | 18:02 |
trozet | sripriya: https://review.openstack.org/#/c/340838/22/tacker/vm/plugin.py | 18:03 |
trozet | sripriya: the last comment I left there - Janki is saying thta the API expects a list? Why is that? Something about specific to how it is included into the extension? | 18:04 |
sripriya | trozet: the url that gets invoked is an index call, i discussed this earlier in detail with janki | 18:05 |
sripriya | trozet: refert to my comment in https://review.openstack.org/#/c/340838/18/tacker/vm/plugin.py@630 | 18:06 |
trozet | sripriya: sure, but then it needs to be a real list, not a dictionary wrapped in a list... | 18:06 |
sripriya | trozet: we could have sent this as a dictionary to the api layer instead of list | 18:07 |
sripriya | trozet: but there are few assertions tha happen to the first element in the list https://github.com/openstack/tacker/blob/master/tacker/api/v1/base.py#L249 | 18:07 |
trozet | sripriya: why dont we just change it to be | 18:08 |
trozet | sripriya: get_vnf_detail? | 18:08 |
trozet | sripriya: wrapping it into a list doesn't make sense | 18:09 |
sripriya | trozet: the url wont invoke get on the detail | 18:09 |
sripriya | trozet: a show/get expects a resource id to the end in the url | 18:09 |
sripriya | trozet: only then will the plugin get_vnf_detail be invoked | 18:09 |
trozet | sripriya: the resource is the vnf_id? | 18:10 |
sripriya | trozet: well in this case, it is expected to be the detail resource id | 18:11 |
sripriya | trozet: which again doesnt make sense | 18:11 |
trozet | sripriya: lo.l | 18:11 |
trozet | sripriya: cant we just change it to get get_vnf_detail, and the resource is vnf_id | 18:11 |
trozet | sripriya: and returna dict | 18:11 |
sripriya | trozet: you mean like /vnfs/<vnf_id>/details/<vnf_id> ? | 18:12 |
trozet | sripriya: hmm | 18:12 |
sripriya | trozet: :-) | 18:12 |
sripriya | trozet: these are some limitations we have in api layer | 18:13 |
trozet | sripriya: so in the extension the 'details' section here https://review.openstack.org/#/c/340838/22/tacker/extensions/vnfm.py | 18:13 |
sripriya | trozet: the way the other projects do is to customize the index call from the wsgi layer and return whatever the resource wants to send | 18:13 |
trozet | sripriya: provides that url extension of /vnf/<vnf_id>/details? | 18:13 |
sripriya | trozet: yes , a GET on /vnf/<vnf_id>/details | 18:14 |
trozet | sripriya: ok. Why not just move the details into the vnf itself | 18:14 |
trozet | so /vnf/<vnf_id> returns the details included | 18:15 |
trozet | and make it a dict | 18:15 |
sripriya | trozet: that was the earlier approach, but a regular VNF get response today has to make additional heat client calls everytime to fetch the redundant stack resource information | 18:16 |
trozet | sripriya: I see | 18:16 |
sripriya | trozet: a GET on vnf can happen multiple times which has this additional info always invoked and sent | 18:17 |
sripriya | trozet: a GET workflow is expected to do a dump on resource , AFAIK | 18:17 |
trozet | sripriya: ok I guess there is no way around this then | 18:17 |
trozet | sripriya: so when I call the plugin method from VNFFG, I will just have to index into a list first | 18:18 |
sripriya | trozet: i burnt my head a lot on this and had to compromise with this “hack”, i understand this may not be the best way to to do this ‘details’ workflow | 18:18 |
trozet | sripriya: sure, thanks for the explanation | 18:18 |
trozet | sripriya: what about adding a get_vnf_detail | 18:19 |
sripriya | trozet: the way i assumed this to happen was to to pass extra parameter to the get/vnfs/<uuid> itself | 18:19 |
sripriya | trozet: with a verbose=true or whatever | 18:19 |
trozet | sripriya: with /vnf/<vnf_id>/detail/CP11, for example? | 18:19 |
sripriya | trozet: that is doable | 18:20 |
trozet | sripriya: that is what I want to do anyway in my code, because I already know the CP names | 18:20 |
sripriya | trozet: you want to a direct query on the resource id? | 18:20 |
sripriya | trozet: i see | 18:20 |
sripriya | trozet: but then you will have to do multiple GETS on cp resources of the same vnf right? | 18:21 |
trozet | sripriya: yeah if they are in the same VNF | 18:21 |
trozet | sripriya: I mean if it creates more patch iterations, then we can just leave it for later | 18:21 |
trozet | sripriya: since time is of the essence, i can handle doing [0] :) | 18:22 |
sripriya | trozet: why do you need to index [0]? | 18:22 |
trozet | sripriya: because the dictionary is returned back in a list | 18:22 |
trozet | of one | 18:22 |
sripriya | trozet: can’t you expect it as a list? | 18:23 |
trozet | sripriya: What do you mean? | 18:23 |
sripriya | trozet: do you consume the response as a list or a dict? | 18:24 |
trozet | sripriya: well i need to fix it to pop the dict out of the list, because I expected it to be a dict: | 18:24 |
sripriya | trozet: i think it is better to do that instead of indexing [0] | 18:25 |
trozet | sripriya: yeah | 18:26 |
sripriya | trozet: given the time constraints, let us plan to revisit this ‘details’ workflow in follow-ons | 18:27 |
trozet | sripriya: makes sense | 18:27 |
trozet | sripriya: do you mind reviewing https://review.openstack.org/#/c/347563/ ? | 18:28 |
sripriya | trozet: sure will do | 18:28 |
trozet | sripriya: thanks! | 18:28 |
*** tbh has quit IRC | 18:52 | |
*** uck has quit IRC | 19:09 | |
*** mike_m has quit IRC | 19:49 | |
*** uck has joined #tacker | 20:09 | |
*** uck has quit IRC | 20:14 | |
*** sripriya has quit IRC | 20:25 | |
*** sripriya has joined #tacker | 20:30 | |
*** bobh has quit IRC | 20:42 | |
*** prashantD_ has joined #tacker | 21:03 | |
*** prashantD has quit IRC | 21:07 | |
*** uck has joined #tacker | 21:10 | |
*** uck has quit IRC | 21:15 | |
*** bobh has joined #tacker | 21:19 | |
*** bobh has quit IRC | 22:04 | |
*** prashantD__ has joined #tacker | 22:18 | |
*** prashantD_ has quit IRC | 22:18 | |
*** saju_m has quit IRC | 22:26 | |
*** sripriya has quit IRC | 22:30 | |
*** sripriya has joined #tacker | 22:37 | |
sridhar_ram | trozet: sripriya: we need to wrap up vnf details patchset asap .. https://review.openstack.org/#/q/topic:bug/1602112 | 22:38 |
sridhar_ram | trozet: sripriya: do u see any *major* issues landing these two now..? | 22:38 |
sripriya | sridhar_ram: not from my end, let me review the client patch now | 22:40 |
sridhar_ram | sripriya: thanks! | 22:41 |
sripriya | sridhar_ram: are we waiting for a new patch on the server side? | 22:49 |
sridhar_ram | sripriya: hmm, yeah.. i don't see the unit tests yet.. | 22:50 |
sripriya | sridhar_ram: well we dont have one on client side too | 22:50 |
sridhar_ram | sripriya: yeah, but client side is bit more urgent.. the release team term around time is long.. | 22:51 |
sripriya | sridhar_ram: ok will wait for a new patch then | 22:51 |
sridhar_ram | sripriya: okay.. we can wait for unit test in server patch.. trozet need to keep that in the dependency for little longer | 22:52 |
sridhar_ram | sripriya: I'll merge the client patchset now | 22:52 |
sripriya | sridhar_ram: ack | 22:52 |
sridhar_ram | s3wong: ping | 22:56 |
s3wong | sridhar_ram: pong | 22:56 |
*** bobh has joined #tacker | 22:57 | |
sridhar_ram | s3wong: our client release deadline is approaching fast (just 3 more days left). I was wondering if you had a chance to try VNFFG plugin with your n-sfc driver ? | 22:57 |
s3wong | sridhar_ram: running it? not yet... | 22:57 |
s3wong | sridhar_ram: was the code approved? | 22:57 |
sridhar_ram | s3wong: just want to make sure the client changes (and the API) portion is functional end-2-end | 22:57 |
sridhar_ram | s3wong: not yet, but looks we are getting close, at least for the client changes.. | 22:58 |
s3wong | sridhar_ram: trozet has tested it against his code? | 22:58 |
sridhar_ram | s3wong: yes, i believe he tested it against a dummy ffg driver | 22:58 |
openstackgerrit | Merged openstack/python-tackerclient: Creates details API to fetch VNF detials https://review.openstack.org/354057 | 22:59 |
s3wong | sridhar_ram: then I need to get his code also --- I haven't tested the integration with his code yet | 22:59 |
sridhar_ram | s3wong: it will be great if you can work w/ trozet to give this a spin .. | 23:00 |
s3wong | sridhar_ram: I will give it a shot tonight... and will ping trozet (tomorrow) if I hit any problem | 23:01 |
sridhar_ram | s3wong: I'd like to avoid a scenario where the client release deadline passes with a FFG client / CLI in place but an end-2-end n-sfc port-pairs & classifiers are not punched in properly.. | 23:01 |
sridhar_ram | s3wong: thanks a lot Stephen | 23:01 |
s3wong | sridhar_ram: I would imagine that could only arise in plugin side bug | 23:02 |
s3wong | sridhar_ram: Neutron port info is not part of client code anyway | 23:02 |
s3wong | sridhar_ram: and the get_detail thing should do its job right (I would imagine) | 23:02 |
sridhar_ram | s3wong: true but we are introducing tons in the client / API side..a test w/ a FFG translating to a simple n-sfc chain create will increase the confidence .. | 23:04 |
sridhar_ram | s3wong: release-team deadline are cut-throat, learnt the hard way last time around (in Mitaka release) | 23:05 |
s3wong | sridhar_ram: sure, will give it a spin ASAP | 23:05 |
sridhar_ram | s3wong: thanks! | 23:05 |
sridhar_ram | trozet: haiwei: next in the target merge list is https://review.openstack.org/#/c/341389 (VNFFG client).. do you see any *major* outstanding items to fix ? | 23:09 |
sridhar_ram | sripriya: ^^^ | 23:09 |
*** uck has joined #tacker | 23:13 | |
*** bobh has quit IRC | 23:13 | |
*** uck has quit IRC | 23:18 | |
sripriya | sridhar_ram: reviewing it currently, the only *major* concern was the vnffd template attribute as a string instead of json | 23:22 |
sridhar_ram | sripriya: ouch, that is a biggee.. | 23:23 |
sripriya | sridhar_ram: well it has impact on both server and client | 23:24 |
sridhar_ram | sripriya: yes, and i meant.. it is ugly to let that be a string having known the impact | 23:25 |
sridhar_ram | trozet: ^^^ | 23:25 |
sripriya | sridhar_ram: left a comment on the patch, we can try to see if the impact is a lot. AFAIK, it should be fine to address this | 23:28 |
sridhar_ram | sripriya: gr8, thanks | 23:29 |
*** xuhaiwei has joined #tacker | 23:31 | |
*** prashantD__ has quit IRC | 23:37 | |
*** prashantD__ has joined #tacker | 23:39 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!