digitalsimboja | Hello! | 08:13 |
---|---|---|
digitalsimboja | @maysams, @ltomasbo: I suppose there can be more than one listeners in the KuryrLoadBalancer CRD? Correct? | 08:14 |
ltomasbo | yep | 08:14 |
maysams | yup, it's a list | 08:14 |
digitalsimboja | different 'id's? | 08:15 |
maysams | yes, all openstack resources have different IDs | 08:17 |
sunday_ | Hello! | 15:07 |
digitalsimboja | @ltomasbo, @maysams: I am having trouble retrieving the listeners from openstack? | 15:08 |
digitalsimboja | could you point me to where I can find this. I am looking at the _find_listener implementation | 15:09 |
ltomasbo | what problem are you having? what error? | 15:10 |
digitalsimboja | But I wonder if that is the right way of retrieving all listeners on OS | 15:10 |
ltomasbo | yeah, that methods should be a good pointer | 15:10 |
digitalsimboja | great | 15:10 |
maysams | digitalsimboja: https://docs.openstack.org/openstacksdk/latest/user/proxies/load_balancer_v2.html | 15:16 |
digitalsimboja | Awesome! | 15:17 |
maysams | this link might be helpful, it contains all the possible openstackSDK calls with regards to load balancer and its resources | 15:17 |
digitalsimboja | Sure! | 15:18 |
digitalsimboja | @maysams: One more thing. | 15:36 |
digitalsimboja | How to access the contents of the generator | 15:37 |
digitalsimboja | object | 15:37 |
digitalsimboja | returned? | 15:37 |
digitalsimboja | I tried with the 'id' field but returned None | 15:37 |
maysams | digitalsimboja: if the type returned is a generator, you need to transform it to a list and access the data from there | 16:13 |
digitalsimboja | I did this: | 16:14 |
digitalsimboja | listeners_id = [l for l in listeners] | 16:14 |
digitalsimboja | Got it! | 16:16 |
digitalsimboja | Thanks | 16:16 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!