Earlier  
Posted Nick Remark
#openstack-sdks - 2017-06-20
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.
08:59:42 amotoki noshankus: first try some common pattern like what I showed you. then if anything does not work, read the corresponding API or code. in this case, python-novaclient
09:00:31 noshankus @amotoki - no problem, usually I can find the answer going through the code, and have looked around, but can't seem to find it. I'll keep searching, thanks for the help
09:00:53 amotoki noshankus: you're welcome
09:16:00 openstackgerrit Yi Zhao proposed openstack/python-openstacksdk master: Add query filters for find_network https://review.openstack.org/476410
09:37:58 cgoncalves could someone give another review and hopefully workflow+1 to https://review.openstack.org/#/c/458626/ ?
09:38:16 openstackgerrit Rui Chen proposed openstack/python-openstackclient master: Clean up the changes of os.environ in functional tests https://review.openstack.org/471341
09:57:54 openstackgerrit Andreas Jaeger proposed openstack/python-openstackclient master: reorganize existing documentation according to the new standard layout https://review.openstack.org/473964
09:57:55 openstackgerrit Andreas Jaeger proposed openstack/python-openstackclient master: move auto-generated api docs into contributor tree https://review.openstack.org/473990
09:57:55 openstackgerrit Andreas Jaeger proposed openstack/python-openstackclient master: update the docs URLs in the readme https://review.openstack.org/476531
10:02:26 noshankus @amotoki - FYI, looks like hypervisors is place to look for this info, rather than hosts. Using nova.hypervisors.list(), returns all the info I need.
15:02:59 openstackgerrit William Huang proposed openstack/cliff master: Fix a typo https://review.openstack.org/476940
18:43:17 openstackgerrit Doug Hellmann proposed openstack/cliff master: use openstackdocstheme html context https://review.openstack.org/476999
18:51:51 openstackgerrit Doug Hellmann proposed openstack/osc-lib master: use openstackdocstheme html context https://review.openstack.org/477004
18:54:06 openstackgerrit Doug Hellmann proposed openstack/os-client-config master: use openstackdocstheme html context https://review.openstack.org/477005
20:35:32 openstackgerrit Merged openstack/python-openstackclient master: reorganize existing documentation according to the new standard layout https://review.openstack.org/473964
20:36:18 openstackgerrit Merged openstack/python-openstackclient master: move auto-generated api docs into contributor tree https://review.openstack.org/473990
20:53:02 openstackgerrit Merged openstack/python-openstackclient master: update the docs URLs in the readme https://review.openstack.org/476531
22:03:22 openstackgerrit Monty Taylor proposed openstack/keystoneauth master: Move version discovery logic to keystoneauth1.discover https://review.openstack.org/469086
22:03:23 openstackgerrit Monty Taylor proposed openstack/keystoneauth master: Add url manipulation and microversion collection https://review.openstack.org/469087
22:19:19 openstackgerrit Monty Taylor proposed openstack/keystoneauth master: Add url manipulation and microversion collection https://review.openstack.org/469087
22:46:14 openstackgerrit Monty Taylor proposed openstack/keystoneauth master: Add url manipulation and microversion collection https://review.openstack.org/469087
23:04:23 openstackgerrit Monty Taylor proposed openstack/keystoneauth master: Add url manipulation and microversion collection https://review.openstack.org/469087

Earlier   Later