summaryrefslogtreecommitdiff
path: root/cloudinit/sources/DataSourceSmartOS.py
diff options
context:
space:
mode:
authorRyan Harper <ryan.harper@canonical.com>2019-02-08 22:08:47 +0000
committerServer Team CI Bot <josh.powers+server-team-bot@canonical.com>2019-02-08 22:08:47 +0000
commitfff37e7dc6849fd16db504b0d338fae20a7beb39 (patch)
tree5407e3901f3206071a101defce2d8d24e85cc7c0 /cloudinit/sources/DataSourceSmartOS.py
parentcf30836645473c62599e838ab48b2d31677fa584 (diff)
downloadvyos-cloud-init-fff37e7dc6849fd16db504b0d338fae20a7beb39.tar.gz
vyos-cloud-init-fff37e7dc6849fd16db504b0d338fae20a7beb39.zip
netinfo: Adjust ifconfig output parsing for FreeBSD ipv6 entries
FreeBSD ifconfig output for ipv6 addrs doesn't find scopeid values when present in the output and the pformat rendering assumes that an ipv6 address will have a 'scope6' entry in the netdev info dictionary. This patch finds the scopeid value, which is not always inside <>, and in some cases v6 addrs don't have a scopeid value in the output, so when rendering the table, allow scope6 value to be replaced with the empty value. LP: #1779672
Diffstat (limited to 'cloudinit/sources/DataSourceSmartOS.py')
0 files changed, 0 insertions, 0 deletions