blackboxsw | nice meena will look that over tomorrow. | 03:07 |
---|---|---|
blackboxsw | community: downstream release or 22.3.3 just posted for review in Ubuntu Bionic/Focal/Jammy `-proposed` pockets. Expect that will be present for download/testing verification tomorrow with some bug fixes for Azure/Oracle datasources | 03:08 |
blackboxsw | We'll be pinging Ubuntu SRU package upload reviewers tomorrow to see if we can get that let in for testing | 03:09 |
blackboxsw | might want to tease out private methods or functions for more signficant token processing for flags and 'inet' https://github.com/canonical/cloud-init/compare/main...igalic:cloud-init:net/add-ifconfig-parsers?expand=1#diff-f143a014d8daaa1671a7feef90cc2b3f5c5759e234e5cd3382e438dde3703fd3R106 and R147 | 03:13 |
holman | meena: fwiw python should be able to consume hex of the ip | 04:51 |
holman | meena: either #2 or #3 as inputs would do it: https://docs.python.org/3/library/ipaddress.html#ipaddress.IPv4Address | 04:53 |
=== EugenMayer3 is now known as EugenMayer | ||
meena | holman: oh cool, so i can skip the conversion… well, sort of… I need to convert it to int | 08:48 |
meena | blackboxsw: yeah, the commit message says that :P | 08:51 |
meena | instead of int("hex", 16), I can also do int("hex", 0), and that feels more… better… somehow | 08:52 |
blackboxsw | cjp256: we've uploaded 22.3.3 to ppa:cloud-init-dev/proposed while it is undergoing SRU upload review to ubuntu -proposed pocket https://launchpad.net/~cloud-init-dev/+archive/ubuntu/proposed | 13:17 |
cjp256 | blackboxsw: ack, thanks | 15:02 |
=== EugenMayer8 is now known as EugenMayer | ||
=== EugenMayer0 is now known as EugenMayer | ||
blackboxsw | looks like Ubuntu -proposed uploads just got reviewed approved | 15:50 |
blackboxsw | so we can expect -proposed to contain 22.3.3 in about an hour | 15:51 |
=== EugenMayer9 is now known as EugenMayer | ||
=== EugenMayer3 is now known as EugenMayer | ||
=== EugenMayer0 is now known as EugenMayer | ||
=== EugenMayer3 is now known as EugenMayer | ||
=== EugenMayer0 is now known as EugenMayer | ||
=== EugenMayer8 is now known as EugenMayer | ||
=== esv_ is now known as esv | ||
holman | meena: If you open the file in binary mode you can read it as a bytes object. If the address is all that's in the file then no need to convert to read as a string and convert. | 23:14 |
meena | holman: the file would be a byte stream from calling ifconfig -a | 23:34 |
meena | anyway, progress for tonight: https://github.com/igalic/cloud-init/commit/f1eba9c05cfe05a1dbaa726369b6eeaf9a709c06 | 23:34 |
ubottu | Commit f1eba9c in igalic/cloud-init "ifconfig parser: add inet6, and extract inet, inet6 and flags into its own functions" | 23:34 |
holman | oh I see | 23:35 |
holman | have to parse anyways | 23:35 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!