Earlier  
Posted Nick Remark
#openstack-sdks - 2017-08-16
08:34:57 ldl where to invoke the api?
08:35:45 seanhandley ldl: What programming language are you most comfortable with?
08:35:51 ldl pyhton
08:35:57 ldl python djangp
08:36:02 ldl django
08:36:26 seanhandley Ok, cool. You'll want to pick up one of the OpenStack SDKs
08:36:31 seanhandley I recommend you start with Shade https://pypi.python.org/pypi/shade/
08:37:09 seanhandley if you need anything more advanced, check out https://pypi.python.org/pypi/python-openstackclient
08:38:05 seanhandley and then if you want to get even more advanced, each OpenStack project has its own python library i.e. Nova, the compute project, has a client here: https://pypi.python.org/pypi/python-novaclient
08:38:06 ldl if use the shade, it can satisfy all of the official dashboard's functions ?
08:38:21 seanhandley So you want to build your own version of Horizon?
08:38:46 ldl yes
08:38:46 ldl p
08:38:51 seanhandley probably skip shade then, and go straight to https://pypi.python.org/pypi/python-openstackclient
08:39:31 ldl Can I develop my website on my mac?
08:39:44 seanhandley ldl: Yeah, of course
08:39:52 seanhandley OSX is a Unix variant
08:40:31 ldl I have installed the HA openstack on my Windows Server2008' 3 VMs.
08:42:04 seanhandley Sorry, the link I gave you is for the command line client
08:42:12 seanhandley I believe the library you actually want is https://pypi.python.org/pypi/openstacksdk
08:42:18 ldl do you mean I only should install the shade (or python-openstackclient) on my Mac, then I can develop it
08:42:19 seanhandley (which the command line client uses itself)
08:42:50 seanhandley Well, the OpenStack SDK does the hard work for you regarding talking to the OpenStack APIs
08:43:01 seanhandley You can write your own code to talk HTTP directly etc
08:43:04 seanhandley but that's a big job
08:43:17 seanhandley and the SDK turns those request/response commands into Python methods
08:43:32 seanhandley so you can call a method and it'll return a list of instances, for example
08:43:34 ldl greate
08:43:43 seanhandley and then you can iterate over that and display it within your Django templates
08:44:23 seanhandley I'd start here ldl: https://developer.openstack.org/sdks/python/openstacksdk/users/index.html
08:44:35 ldl I have a question
08:45:15 ldl I installed the HA openstack on a remote windows server's 3 MVs( created by VMware workstation )
08:45:28 seanhandley ok
08:45:52 ldl so If I develop my new dashboard , if should connect something to the 3VMs?
08:46:05 seanhandley Ok
08:46:23 seanhandley You should be able to connect to the existing Horizon dashboard on your HA openstack install
08:46:31 ldl 3VM as controllers, and computes nodes
08:46:34 seanhandley and hopefully you have credentials to log in as an admin user
08:47:38 seanhandley OpenStack's identity service (Keystone) has a service catalog that explains to a client where it should connect for various services. So all you need to do is find out where Keystone is running, authenticate with it, and then the SDK will know the correct endpoints to send different commands to
08:47:48 seanhandley can you log into Horizon?
08:48:34 ldl do you mean such as the keystone api ? in the config file?
08:49:14 ldl I can log into the dashboard in the `192.168.8.168/dashboard/`
08:49:28 ldl do you mean this>
08:50:27 seanhandley Yeah, that'll be it
08:51:11 seanhandley once you're logged in, there's an item in the menu on the left called "API Access"
08:51:25 seanhandley though it might appear in different places depending on the version of Horizon
08:51:28 ldl wow
08:52:33 ldl thank you very much, my friend
08:54:30 seanhandley No worries - good luck with your work and do please ask in here if you need anything
11:48:18 ldl :seanhandley Hi, friend, how can I test the openstack api in postman?
11:48:19 ldl https://ask.openstack.org/en/question/109668/how-to-use-the-postman-invoke-the-openstack-api/
12:24:34 openstackgerrit Akihiro Motoki proposed openstack/python-openstackclient feature/osc4: Use cliff formattable columns in network commands https://review.openstack.org/494181
12:24:34 openstackgerrit Akihiro Motoki proposed openstack/python-openstackclient feature/osc4: Use cliff formattable columns in image commands https://review.openstack.org/494182
12:24:35 openstackgerrit Akihiro Motoki proposed openstack/python-openstackclient feature/osc4: Use cliff formattable columns in volume v1 commands https://review.openstack.org/494183
12:24:35 openstackgerrit Akihiro Motoki proposed openstack/python-openstackclient feature/osc4: Use cliff formattable columns in volume v2 commands https://review.openstack.org/494184
12:24:36 openstackgerrit Akihiro Motoki proposed openstack/python-openstackclient feature/osc4: Use cliff formattable columns in object storage commands https://review.openstack.org/494185
12:24:36 openstackgerrit Akihiro Motoki proposed openstack/python-openstackclient feature/osc4: Use cliff formattable columns in identity commands https://review.openstack.org/494186
12:43:45 openstackgerrit Akihiro Motoki proposed openstack/python-openstackclient master: Replace six.iteritems() with .items() https://review.openstack.org/481407
13:01:49 openstackgerrit Monty Taylor proposed openstack/keystoneauth master: Add method to get the api version https://review.openstack.org/494193
13:01:50 openstackgerrit Monty Taylor proposed openstack/keystoneauth master: Update discovery url normalization with catalog info https://review.openstack.org/494194
13:01:51 openstackgerrit Monty Taylor proposed openstack/keystoneauth master: Allow kwargs to be passed to adapter.get_endpoint_data https://review.openstack.org/494195
13:42:07 openstackgerrit Merged openstack/service-types-authority master: Add placement service https://review.openstack.org/462140
13:42:14 openstackgerrit Merged openstack/service-types-authority master: Only run json.dump once https://review.openstack.org/493363
13:43:29 openstackgerrit Merged openstack/service-types-authority master: Add three more transformations https://review.openstack.org/493364
15:21:02 openstackgerrit Merged openstack/python-openstackclient master: Imported Translations from Zanata https://review.openstack.org/494105
15:23:41 openstackgerrit Eric Fried proposed openstack/service-types-authority master: Historical services can violate naming rules https://review.openstack.org/494241
15:27:18 openstackgerrit Eric Fried proposed openstack/service-types-authority master: Use 'clustering' as senlin's official service_type https://review.openstack.org/484011
15:29:03 openstackgerrit Eric Fried proposed openstack/service-types-authority master: Historical services can violate naming rules https://review.openstack.org/494241
15:38:44 openstackgerrit Eric Fried proposed openstack/service-types-authority master: Historical services can violate naming rules https://review.openstack.org/494241
15:48:25 openstackgerrit Akihiro Motoki proposed openstack/python-openstackclient feature/osc4: Use cliff formattable columns in object storage commands https://review.openstack.org/494185
15:48:26 openstackgerrit Akihiro Motoki proposed openstack/python-openstackclient feature/osc4: Use cliff formattable columns in volume v2 commands https://review.openstack.org/494184
15:48:26 openstackgerrit Akihiro Motoki proposed openstack/python-openstackclient feature/osc4: Use cliff formattable columns in identity commands https://review.openstack.org/494186
15:48:26 openstackgerrit Akihiro Motoki proposed openstack/python-openstackclient feature/osc4: Use cliff formattable columns in network commands https://review.openstack.org/494181
15:48:27 openstackgerrit Akihiro Motoki proposed openstack/python-openstackclient feature/osc4: Use cliff formattable columns in volume v1 commands https://review.openstack.org/494183
15:48:28 openstackgerrit Akihiro Motoki proposed openstack/python-openstackclient feature/osc4: Use cliff formattable columns in image commands https://review.openstack.org/494182
17:16:35 openstackgerrit Monty Taylor proposed openstack/keystoneauth master: Add method to get the api major version https://review.openstack.org/494193
17:16:36 openstackgerrit Monty Taylor proposed openstack/keystoneauth master: Update discovery url normalization with catalog info https://review.openstack.org/494194
17:33:12 openstackgerrit Merged openstack/service-types-authority master: Historical services can violate naming rules https://review.openstack.org/494241
18:57:45 openstackgerrit Morgan Fainberg proposed openstack/keystoneauth master: Add method to get the api major version https://review.openstack.org/494193
18:58:53 openstackgerrit Morgan Fainberg proposed openstack/keystoneauth master: Add method to get the api major version https://review.openstack.org/494193
18:59:00 openstackgerrit Merged openstack/keystoneauth master: Remove use of positional decorator https://review.openstack.org/491632
19:35:45 openstackgerrit Morgan Fainberg proposed openstack/keystoneauth master: Add method to get the api major version https://review.openstack.org/494193
20:38:22 openstackgerrit Monty Taylor proposed openstack/keystoneauth master: Update discovery url normalization with catalog info https://review.openstack.org/494194
20:38:23 openstackgerrit Monty Taylor proposed openstack/keystoneauth master: Don't use mutable defaults in allow arguments https://review.openstack.org/494320
21:11:28 openstackgerrit Merged openstack/python-openstackclient feature/osc4: Use cliff formattable columns in network commands https://review.openstack.org/494181
21:16:58 openstackgerrit Merged openstack/python-openstackclient feature/osc4: Use cliff formattable columns in image commands https://review.openstack.org/494182
21:26:52 openstackgerrit Dean Troyer proposed openstack/python-openstackclient feature/osc4: Use cliff formattable columns in object storage commands https://review.openstack.org/494185
21:28:35 openstackgerrit Dean Troyer proposed openstack/python-openstackclient feature/osc4: Use cliff formattable columns in identity commands https://review.openstack.org/494186
22:48:59 openstackgerrit Merged openstack/python-openstackclient feature/osc4: Use cliff formattable columns in volume v1 commands https://review.openstack.org/494183
23:49:18 openstackgerrit Merged openstack/service-types-authority master: Use 'clustering' as senlin's official service_type https://review.openstack.org/484011
#openstack-sdks - 2017-08-17
01:24:04 openstackgerrit Merged openstack/python-openstackclient feature/osc4: Use cliff formattable columns in identity commands https://review.openstack.org/494186
02:44:48 openstackgerrit Reedip proposed openstack/python-openstackclient master: Allow PD as Subnetpool during Subnet creations https://review.openstack.org/491664
06:55:33 openstackgerrit Akihiro Motoki proposed openstack/python-openstackclient master: Use flake8-import-order plugin https://review.openstack.org/494400
07:07:03 openstackgerrit Akihiro Motoki proposed openstack/python-openstackclient master: Revert "Disable karborclient until a fixed version is released" https://review.openstack.org/494403
10:23:17 openstackgerrit Steve Martinelli proposed openstack/python-openstackclient master: testo https://review.openstack.org/494469
11:48:25 openstackgerrit Andreas Jaeger proposed openstack/service-types-authority master: Revert "Use 'clustering' as senlin's official service_type" https://review.openstack.org/494486
12:47:37 openstackgerrit Merged openstack/service-types-authority master: Revert "Use 'clustering' as senlin's official service_type" https://review.openstack.org/494486
12:54:34 openstackgerrit Eric Fried proposed openstack/service-types-authority master: Revert "Revert "Use 'clustering' as senlin's official service_type"" https://review.openstack.org/494529
13:40:44 cdent efried: are you up to date on what happened with the need to revert the stuff in STA? is there a quick summary?
13:40:57 efried cdent Join us in -infra

Earlier   Later