<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-cloud-init.git/tests/data/netinfo/sample-ipaddrshow-output, branch current</title>
<subtitle> (mirror of https://github.com/vyos/vyos-cloud-init.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-cloud-init.git/atom?h=current</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-cloud-init.git/atom?h=current'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/'/>
<updated>2022-01-27T01:40:06+00:00</updated>
<entry>
<title>Add json parsing of ip addr show (SC-723) (#1210)</title>
<updated>2022-01-27T01:40:06+00:00</updated>
<author>
<name>James Falcon</name>
<email>james.falcon@canonical.com</email>
</author>
<published>2022-01-27T01:40:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=223b23e2c428aff6c1e61f49d8e2edde77801a12'/>
<id>urn:sha1:223b23e2c428aff6c1e61f49d8e2edde77801a12</id>
<content type='text'>
When obtaining information from "ip addr", default to using
"ip --json addr" rather than using regex to parse "ip addr show"
as json is machine readable as less prone to error.

Deprecate but leave fallback to use "ip addr" for older iproute2
tooling which does not support --json param. 

Fix regex parsing of "ip addr" to support peer addresses and
metrics.</content>
</entry>
<entry>
<title>net: Depend on iproute2's ip instead of net-tools ifconfig or route</title>
<updated>2018-04-18T21:22:42+00:00</updated>
<author>
<name>Chad Smith</name>
<email>chad.smith@canonical.com</email>
</author>
<published>2018-04-18T21:22:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-cloud-init.git/commit/?id=6d48d265a0548a2dc23e587f2a335d4e38e8db90'/>
<id>urn:sha1:6d48d265a0548a2dc23e587f2a335d4e38e8db90</id>
<content type='text'>
The net-tools package is deprecated and will eventually be dropped.  Use
"ip route", "link" or "address" instead of "ifconfig" or "route" calls.
Cloud-init can now run in an environment that no longer has net-tools.
This affects the network and route printing emitted to
cloud-config-output.log as well as the cc_disable_ec2_metadata module.

Additional changes:
 - separate readResource and resourceLocation into standalone test
   functions
 - Fix ipv4 address rows to report scopes represented by ip addr show
 - Formatted route/address ouput now handles multiple ipv4 and ipv6
   addresses on a single interface

Co-authored-by: James Hogarth &lt;james.hogarth@gmail.com&gt;
Co-authored-by: Robert Schweikert &lt;rjschwei@suse.com&gt;
</content>
</entry>
</feed>
