Earlier  
Posted Nick Remark
#openstack-sdks - 2017-06-19
12:04:25 openstackgerrit Merged openstack/api-wg master: Update Liaison Information https://review.openstack.org/475027
12:45:20 openstackgerrit Doug Hellmann proposed openstack/python-openstackclient master: reorganize existing documentation according to the new standard layout https://review.openstack.org/473964
12:45:21 openstackgerrit Doug Hellmann proposed openstack/python-openstackclient master: move auto-generated api docs into contributor tree https://review.openstack.org/473990
18:14:22 openstackgerrit Harry Rybacki proposed openstack/python-openstackclient master: Implied Roles https://review.openstack.org/290253
#openstack-sdks - 2017-06-20
03:09:23 reedip amotoki : ping
03:11:18 amotoki reedip: pong
03:11:29 reedip amotoki : regarding https://review.openstack.org/#/c/356263
03:12:04 reedip amotoki : It seems currently there is no exact way to clear the dhcp options
03:12:48 amotoki reedip: the api implementation of extra_dhcp_opts is a bit tricky and it does not follow the API convention in neutron
03:13:08 reedip amotoki: https://github.com/openstack/neutron/blob/master/neutron/db/extradhcpopt_db.py#L43
03:13:21 amotoki reedip: to clear a specific dhcp option, IIRC you need to pass name only
03:13:32 reedip ??
03:13:32 amotoki reedip: just a minute. looking at the neutron code
03:13:52 reedip ok amotoki , let me also check the point you just stated
03:15:07 amotoki reedip: https://github.com/openstack/neutron/blob/master/neutron/db/extradhcpopt_db.py#L90
03:15:52 amotoki reedip: it seems a corresponding dhcp option can be deleted by passing {'opt_name': <name1>, 'opt_value': None}
03:15:53 reedip amotoki : makes sense
03:16:16 amotoki reedip: however, I don't think it should be handled in OSC side.
03:16:28 amotoki reedip: this kind of thing should be handled in openstacksdk side I belive.
03:16:33 reedip amotoki : ok, what do you think ?
03:16:54 amotoki reedip: ^see my last comment
03:17:11 reedip amotoki : hmm, so you mean if we send extradhcpopts as [] , it should be substituted with opt-name="Name, opt-value=None ?
03:17:51 amotoki reedip: yes. if [] is specified as extradhcpopts, you need to send opt_value=None for all options.
03:18:43 reedip amotoki : yeah, that can be done at the SDK side, but I think if OSC gets the object value, it can also be done in the OSC itsefl
03:18:48 reedip itself*
03:18:54 amotoki reedip: my point is that openstacksdk should provide some abstraction for the underlying API behavior and it is reasonable to provide consistent user experience of SDK users.
03:19:11 reedip amotoki : hmm, agreed. Let me check
03:19:24 amotoki reedip: what do you mean by 'object value'?
03:21:00 reedip I mean the object's attributes
03:21:50 amotoki reedip: I think we have time for Pike-3 library freeze, so I think it is worth fixed in the sdk side.
03:22:14 reedip amotoki : Yeah. looking at that. Will update today . Thanks
03:22:17 amotoki reedip: I have a flight from now. will be back online several hours later
03:28:29 reedip amotoki : safe travel
04:24:04 openstackgerrit Reedip proposed openstack/python-openstackclient master: Add extra dhcp option to 'port create/set/unset' https://review.openstack.org/356263
04:29:19 openstackgerrit Reedip proposed openstack/python-openstackclient master: Add extra dhcp option to 'port create/set/unset' https://review.openstack.org/356263
04:31:04 openstackgerrit Reedip proposed openstack/python-openstackclient master: Add extra dhcp option to 'port create/set/unset' https://review.openstack.org/356263
04:36:23 openstackgerrit Merged openstack/python-openstackclient master: Add support for Karbor Plugin https://review.openstack.org/473675
08:40:36 openstackgerrit Rodolfo Alonso Hernandez proposed openstack/python-openstackclient master: Add direction field to QoS bandwidth limit. https://review.openstack.org/458056
09:46:30 openstackgerrit Reedip proposed openstack/python-openstacksdk master: Add support to clear DHCP options in port https://review.openstack.org/475714
14:41:24 openstackgerrit Harry Rybacki proposed openstack/python-openstackclient master: Implied Roles https://review.openstack.org/290253
17:12:42 openstackgerrit Doug Hellmann proposed openstack/python-openstackclient master: reorganize existing documentation according to the new standard layout https://review.openstack.org/473964
17:12:43 openstackgerrit Doug Hellmann proposed openstack/python-openstackclient master: move auto-generated api docs into contributor tree https://review.openstack.org/473990
#openstack-sdks - 2017-06-21
04:28:34 adriant hmmm, that was odd irc seemed confused there for a sec
04:28:36 adriant anyway
04:28:44 adriant I need to be added to 'adjutant-release' and 'adjutant-core' as this has been merged: https://review.openstack.org/#/c/474867
06:05:48 adriant Oh, silly me wrong channel! *facepalm*
07:46:35 openstackgerrit Rodolfo Alonso Hernandez proposed openstack/python-openstackclient master: Add direction field to QoS bandwidth limit. https://review.openstack.org/458056
12:35:10 openstackgerrit Gábor Antal proposed openstack/python-openstackclient master: Handle log message interpolation by the logger in volume/ https://review.openstack.org/433161
16:03:36 openstackgerrit Honza Pokorny proposed openstack/python-openstackclient master: Allow objects to be streamed to stdout https://review.openstack.org/476199
18:36:51 openstackgerrit Honza Pokorny proposed openstack/python-openstackclient master: Allow objects to be streamed to stdout https://review.openstack.org/476199
19:13:57 openstackgerrit Samuel de Medeiros Queiroz proposed openstack/python-openstackclient master: Use identity auth v3 the README examples https://review.openstack.org/476240
19:31:04 openstackgerrit Samuel de Medeiros Queiroz proposed openstack/python-openstackclient master: Default identity version to 3 https://review.openstack.org/476243
19:35:30 openstackgerrit Samuel de Medeiros Queiroz proposed openstack/python-openstackclient master: Default identity version to 3 https://review.openstack.org/476243
#openstack-sdks - 2017-06-22
06:54:33 openstackgerrit lan proposed openstack/python-openstackclient master: Enable some off-by-default checks https://review.openstack.org/476377
07:28:24 openstackgerrit M V P Nitesh proposed openstack/python-openstackclient master: Show neutron tags in OSC network show https://review.openstack.org/476387
08:37:26 openstackgerrit Yi Zhao proposed openstack/python-openstacksdk master: Add query filters for find_network https://review.openstack.org/476410
08:39:09 openstackgerrit Yi Zhao proposed openstack/python-openstacksdk master: Add query filters for find_network https://review.openstack.org/476410
08:42:51 openstackgerrit Yi Zhao proposed openstack/python-openstacksdk master: Add query filters for find_network https://review.openstack.org/476410
08:44:17 openstackgerrit Yi Zhao proposed openstack/python-openstackclient master: Support create subnet with same network name in different project Edit https://review.openstack.org/476414
08:45:41 openstackgerrit Yi Zhao proposed openstack/python-openstackclient master: Support create subnet with same network name in different project https://review.openstack.org/476414
08:50:19 openstackgerrit Yi Zhao proposed openstack/python-openstacksdk master: Add query filters for find_network https://review.openstack.org/476410
08:53:30 openstackgerrit lan proposed openstack/python-openstackclient master: Enable some off-by-default checks https://review.openstack.org/476377
11:50:36 noshankus Hi Guys - does anyone have an example they can share of a basic client connection and running a command, such as "openstack host list" - using openstackclient programmatically, i.e. within a python script, as opposed to directly on the command line? All pointers welcome!
12:40:02 amotoki noshankus: I think openstackclient itself focues on CLI usage. if you want to talk API from your python scirpt, it is betetr to use some SDK
12:40:40 amotoki noshankus: os-client-config allows us to instantiate individual python client bindings (or openstacksdk) easily.
12:41:14 amotoki noshankus: there are several options like openstacksdk, shade, individual python client libraries.
12:45:37 amotoki noshankus: very simple example with os-client-config + novaclient: http://paste.openstack.org/show/613386/
12:56:49 noshankus @amotoki - great thanks, I'm using shade for most things, but for specifics that are not yet supported, your example is enough to get me out of a hole! Thanks a million
13:39:48 openstackgerrit M V P Nitesh proposed openstack/python-openstackclient master: Now OSC can filter image by project https://review.openstack.org/476521
13:43:12 openstackgerrit Ilya Shakhat proposed openstack/osc-lib master: Optimize find_resource: do not run the same query twice https://review.openstack.org/476523
14:03:52 openstackgerrit Doug Hellmann proposed openstack/python-openstackclient master: update the docs URLs in the readme https://review.openstack.org/476531
15:59:54 openstackgerrit Dean Troyer proposed openstack/python-openstackclient master: Add direction field to QoS bandwidth limit. https://review.openstack.org/458056
16:41:38 openstackgerrit Kristi Nikolla proposed openstack/python-openstackclient master: When creating a trust, send role_ids instead or role_names https://review.openstack.org/475068
17:08:12 openstackgerrit Steve Martinelli proposed openstack/python-openstackclient master: When creating a trust, send role_ids instead or role_names https://review.openstack.org/475068
17:10:23 openstackgerrit Merged openstack/python-openstackclient master: Don't show hint about vlan transparent in network set https://review.openstack.org/466002
17:11:29 openstackgerrit Kristi Nikolla proposed openstack/python-openstackclient master: Add domain parameter to Identity Provider https://review.openstack.org/475058
17:32:58 openstackgerrit Doug Hellmann proposed openstack/cliff master: switch from oslosphinx to openstackdocstheme https://review.openstack.org/476639
17:32:58 openstackgerrit Doug Hellmann proposed openstack/cliff master: rearrange existing content to follow new standard https://review.openstack.org/476638
18:10:38 openstackgerrit Merged openstack/python-openstackclient master: Add project purge command to osc https://review.openstack.org/367673
18:47:46 openstackgerrit Doug Hellmann proposed openstack/osc-lib master: rearrange existing documentation to fit the new standard layout https://review.openstack.org/476657
18:47:47 openstackgerrit Doug Hellmann proposed openstack/osc-lib master: switch from oslosphinx to openstackdocstheme https://review.openstack.org/476659
18:47:47 openstackgerrit Doug Hellmann proposed openstack/osc-lib master: turn on warning-is-error for sphinx https://review.openstack.org/476658
19:02:12 openstackgerrit Doug Hellmann proposed openstack/osc-lib master: update links to docs in readme https://review.openstack.org/476662
19:02:35 openstackgerrit Merged openstack/python-openstackclient master: Add direction field to QoS bandwidth limit. https://review.openstack.org/458056
19:26:53 openstackgerrit Doug Hellmann proposed openstack/os-client-config master: rearrange existing documentation to follow the new standard layout https://review.openstack.org/476667
19:26:55 openstackgerrit Doug Hellmann proposed openstack/os-client-config master: turn on warning-is-error in documentation build https://review.openstack.org/476668
19:26:56 openstackgerrit Doug Hellmann proposed openstack/os-client-config master: switch from oslosphinx to openstackdocstheme https://review.openstack.org/476669
19:53:04 openstackgerrit Merged openstack/python-openstackclient master: When creating a trust, send role_ids instead or role_names https://review.openstack.org/475068
20:32:13 openstackgerrit Doug Hellmann proposed openstack/python-openstackclient master: update the docs URLs in the readme https://review.openstack.org/476531
20:32:13 openstackgerrit Doug Hellmann proposed openstack/python-openstackclient master: reorganize existing documentation according to the new standard layout https://review.openstack.org/473964
20:32:14 openstackgerrit Doug Hellmann proposed openstack/python-openstackclient master: move auto-generated api docs into contributor tree https://review.openstack.org/473990
#openstack-sdks - 2017-06-23
01:23:04 openstackgerrit lan proposed openstack/python-openstackclient master: Enable some off-by-default checks https://review.openstack.org/476377
01:36:41 openstackgerrit lan proposed openstack/python-openstackclient master: Enable some off-by-default checks https://review.openstack.org/476377
02:50:44 openstackgerrit Merged openstack/keystoneauth master: Updated from global requirements https://review.openstack.org/474649
07:49:39 openstackgerrit M V P Nitesh proposed openstack/python-openstackclient master: Now OSC server create check keys in --nic https://review.openstack.org/474190
08:32:30 openstackgerrit lan proposed openstack/python-openstackclient master: Enable some off-by-default checks https://review.openstack.org/476377
08:35:31 openstackgerrit Van Hung Pham proposed openstack/keystoneauth master: Using assertFalse(A) instead of assertEqual(False, A) https://review.openstack.org/476837
08:54:52 noshankus closest I've found was in the endpoints.txt definition for host_show...
08:54:52 noshankus @amotoki - thanks against for helping me out yesterday with the "openstack hosts list" command --> nova.hosts.list() - that really seems straight forward. I've stumbled into the issue now where I can't seem access/call "openstack host show", nova.hosts.show(host.name) didn't work for example. Could I bother you for another pearl of wisdom on how to query for the host show command... I've been searching through the python packages, and the
08:58:42 amotoki noshankus: acutally I am not familiar with it. when I do things like you, i usually read corresponding code.

Earlier   Later