<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/NetworkManager.git/cli/src, branch th/NMStringTable</title>
<subtitle>gitlab.freedesktop.org: NetworkManager/NetworkManager.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/'/>
<entry>
<title>cli: fix bridge priority default value (rh #1073664)</title>
<updated>2014-03-17T08:08:23+00:00</updated>
<author>
<name>Jiří Klimeš</name>
<email>jklimes@redhat.com</email>
</author>
<published>2014-03-17T08:08:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=a1e89b4d29b97695f21e0070888f7910f7fe7a87'/>
<id>a1e89b4d29b97695f21e0070888f7910f7fe7a87</id>
<content type='text'>
It is 32768 (0x8000) instead of 128 (0x80). 13c348d fixes that in the setting.

https://bugzilla.redhat.com/show_bug.cgi?id=1073664
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It is 32768 (0x8000) instead of 128 (0x80). 13c348d fixes that in the setting.

https://bugzilla.redhat.com/show_bug.cgi?id=1073664
</pre>
</div>
</content>
</entry>
<entry>
<title>cli: sanitize team config before setting it into property</title>
<updated>2014-03-12T09:44:29+00:00</updated>
<author>
<name>Jiří Klimeš</name>
<email>jklimes@redhat.com</email>
</author>
<published>2014-03-05T12:59:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=08ed6c5be23dea47043f8b49e8e8d65584011bf3'/>
<id>08ed6c5be23dea47043f8b49e8e8d65584011bf3</id>
<content type='text'>
Replace '\r' and '\n' chareacter with a space in the configuration.
libteamdctl sends the config to team daemon using its usock interface that
separates parameters with '\n'.

Related: rh #1051517
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replace '\r' and '\n' chareacter with a space in the configuration.
libteamdctl sends the config to team daemon using its usock interface that
separates parameters with '\n'.

Related: rh #1051517
</pre>
</div>
</content>
</entry>
<entry>
<title>cli: accept prefix "ifname/", "uuid/" or "id/" for 'master' argument</title>
<updated>2014-03-12T09:32:37+00:00</updated>
<author>
<name>Jiří Klimeš</name>
<email>jklimes@redhat.com</email>
</author>
<published>2014-03-11T12:21:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=d7e1ec9183a10d303dcb583c29ebc7cd4b7858e9'/>
<id>d7e1ec9183a10d303dcb583c29ebc7cd4b7858e9</id>
<content type='text'>
nmcli con add type team-slave ifname em2 master team-master0
nmcli con add type team-slave ifname em2 master id/team-master0

It helps to disambiguate values for cases where they may overlap,
e.g. "team0" -&gt; "ifname/team0" or "id/team0"
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
nmcli con add type team-slave ifname em2 master team-master0
nmcli con add type team-slave ifname em2 master id/team-master0

It helps to disambiguate values for cases where they may overlap,
e.g. "team0" -&gt; "ifname/team0" or "id/team0"
</pre>
</div>
</content>
</entry>
<entry>
<title>cli: allow specifying 'master' for slaves as connection ID (rh #1057494)</title>
<updated>2014-03-12T09:32:11+00:00</updated>
<author>
<name>Jiří Klimeš</name>
<email>jklimes@redhat.com</email>
</author>
<published>2014-03-11T11:10:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=90c02cafdc7a6076bb6a07dc19f29eef768ca63f'/>
<id>90c02cafdc7a6076bb6a07dc19f29eef768ca63f</id>
<content type='text'>
nmcli con add type *-slave ifname em1 master &lt;ifname|UUID|name&gt;

'master' property of 'connection' setting has to be either interface name or
connection UUID of master connection. However, to make nmcli more convenient
for users, we also allow specifying connection name and translating it to UUID
automatically.

https://bugzilla.redhat.com/show_bug.cgi?id=1057494
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
nmcli con add type *-slave ifname em1 master &lt;ifname|UUID|name&gt;

'master' property of 'connection' setting has to be either interface name or
connection UUID of master connection. However, to make nmcli more convenient
for users, we also allow specifying connection name and translating it to UUID
automatically.

https://bugzilla.redhat.com/show_bug.cgi?id=1057494
</pre>
</div>
</content>
</entry>
<entry>
<title>cli: fix a crash when trying to set a white-space string as IP (rh #1071394)</title>
<updated>2014-03-03T11:50:02+00:00</updated>
<author>
<name>Jiří Klimeš</name>
<email>jklimes@redhat.com</email>
</author>
<published>2014-03-03T11:21:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=296d7f6ec719ffc3baff72c36090318c54316974'/>
<id>296d7f6ec719ffc3baff72c36090318c54316974</id>
<content type='text'>
nmcli con modify my-profile ipv4.addr "   "
nmcli con modify my-profile ipv6.addr "   "

Note:
Empty string should be used to remove IPs, and 'method' might be needed to set
to 'auto' simultaneously, as well.
$ nmcli con modify profile1 ipv4.addr "" ipv4.method auto

https://bugzilla.redhat.com/show_bug.cgi?id=1071394
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
nmcli con modify my-profile ipv4.addr "   "
nmcli con modify my-profile ipv6.addr "   "

Note:
Empty string should be used to remove IPs, and 'method' might be needed to set
to 'auto' simultaneously, as well.
$ nmcli con modify profile1 ipv4.addr "" ipv4.method auto

https://bugzilla.redhat.com/show_bug.cgi?id=1071394
</pre>
</div>
</content>
</entry>
<entry>
<title>cli: update 'nmcli con modify' help</title>
<updated>2014-02-28T10:44:34+00:00</updated>
<author>
<name>Jiří Klimeš</name>
<email>jklimes@redhat.com</email>
</author>
<published>2014-02-28T10:31:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=ebb601302aecad06f5a5edf02e20a17e8d135360'/>
<id>ebb601302aecad06f5a5edf02e20a17e8d135360</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>cli: update 'remove' command description for 'nmcli con edit'</title>
<updated>2014-02-28T10:17:49+00:00</updated>
<author>
<name>Jiří Klimeš</name>
<email>jklimes@redhat.com</email>
</author>
<published>2014-02-25T10:59:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=a5673d113c901fb262712748274f4e85549e97ed'/>
<id>a5673d113c901fb262712748274f4e85549e97ed</id>
<content type='text'>
to reflect that user can specify a value or index to remove values.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
to reflect that user can specify a value or index to remove values.
</pre>
</div>
</content>
</entry>
<entry>
<title>cli: allow removing properties by-value (in addition to by-index)</title>
<updated>2014-02-28T10:17:17+00:00</updated>
<author>
<name>Jiří Klimeš</name>
<email>jklimes@redhat.com</email>
</author>
<published>2014-02-24T10:50:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=f29ad0bd52cb1df58e814b0a189567de2f6aa14a'/>
<id>f29ad0bd52cb1df58e814b0a189567de2f6aa14a</id>
<content type='text'>
It works both in 'nmcli con modify' and 'nmcli con edit'.

The following properties are supported (all container-type properties except
properties with option names):
ipv4.dns
ipv4.dns-searches
ipv4.addresses
ipv4.routes

ipv6.dns
ipv6.dns-searches
ipv6.addresses
ipv6.routes

802-1x.eap
802-1x.altsubject-matches
802-1x.phase2-altsubject-matches

connection.permissions
connection.secondary

802-3-ethernet.mac-address-blacklist

802-11-wireless.mac-address-blacklist

802-11-wireless-security.proto
802-11-wireless-security.pairwise
802-11-wireless-security.group

vlan.ingress-priority-map
vlan.egress-priority-map
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It works both in 'nmcli con modify' and 'nmcli con edit'.

The following properties are supported (all container-type properties except
properties with option names):
ipv4.dns
ipv4.dns-searches
ipv4.addresses
ipv4.routes

ipv6.dns
ipv6.dns-searches
ipv6.addresses
ipv6.routes

802-1x.eap
802-1x.altsubject-matches
802-1x.phase2-altsubject-matches

connection.permissions
connection.secondary

802-3-ethernet.mac-address-blacklist

802-11-wireless.mac-address-blacklist

802-11-wireless-security.proto
802-11-wireless-security.pairwise
802-11-wireless-security.group

vlan.ingress-priority-map
vlan.egress-priority-map
</pre>
</div>
</content>
</entry>
<entry>
<title>cli: support removing items from container-type properties in 'nmcli con modify'</title>
<updated>2014-02-28T09:31:41+00:00</updated>
<author>
<name>Jiří Klimeš</name>
<email>jklimes@redhat.com</email>
</author>
<published>2014-02-17T11:42:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=c1ace1b5b2e6815fd1e6cfe650218b0de32d7d76'/>
<id>c1ace1b5b2e6815fd1e6cfe650218b0de32d7d76</id>
<content type='text'>
Synopsis:
nmcli con modify -&lt;property&gt;.&lt;setting&gt; &lt;value&gt;

'value' can be empty ("") to remove the whole property value value (in this
case the behaviour is the same as without '-').
Or the 'value' is an index of the item to remove, or an option name (for a few
properties that have option names, like bond.options or ethernet.s390-options).

$ nmcli con mod myeth ipv4.dns "10.0.0.55 10.0.0.66 8.8.8.8 8.8.4.4"
---&gt; ipv4.dns: 10.0.0.55, 10.0.0.66, 8.8.8.8, 8.8.4.4
$ nmcli con mod myeth -ipv4.dns 1
---&gt; ipv4.dns: 10.0.0.55, 8.8.8.8, 8.8.4.4

---&gt; bond.options: mode=balance-rr
$ nmcli con mod bond0 +bond.options "mii=500, downdelay=800"
---&gt; bond.options: downdelay=800,miimon=500,mode=balance-rr
$ nmcli con mod bond0 -bond.options downdelay
---&gt; bond.options: miimon=500,mode=balance-rr
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Synopsis:
nmcli con modify -&lt;property&gt;.&lt;setting&gt; &lt;value&gt;

'value' can be empty ("") to remove the whole property value value (in this
case the behaviour is the same as without '-').
Or the 'value' is an index of the item to remove, or an option name (for a few
properties that have option names, like bond.options or ethernet.s390-options).

$ nmcli con mod myeth ipv4.dns "10.0.0.55 10.0.0.66 8.8.8.8 8.8.4.4"
---&gt; ipv4.dns: 10.0.0.55, 10.0.0.66, 8.8.8.8, 8.8.4.4
$ nmcli con mod myeth -ipv4.dns 1
---&gt; ipv4.dns: 10.0.0.55, 8.8.8.8, 8.8.4.4

---&gt; bond.options: mode=balance-rr
$ nmcli con mod bond0 +bond.options "mii=500, downdelay=800"
---&gt; bond.options: downdelay=800,miimon=500,mode=balance-rr
$ nmcli con mod bond0 -bond.options downdelay
---&gt; bond.options: miimon=500,mode=balance-rr
</pre>
</div>
</content>
</entry>
<entry>
<title>cli: allow modifying multiple properties by 'nmcli con modify'</title>
<updated>2014-02-28T09:31:41+00:00</updated>
<author>
<name>Jiří Klimeš</name>
<email>jklimes@redhat.com</email>
</author>
<published>2014-02-12T09:56:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/NetworkManager.git/commit/?id=a1c3021aa9b7e0f50fda7cb772b1374d2de12ee1'/>
<id>a1c3021aa9b7e0f50fda7cb772b1374d2de12ee1</id>
<content type='text'>
This is necessary especially for cases where properties depend on each other.
So you need to set them in one command, else the profile won't validate.

Examples:
nmcli con mod em1-1 ipv4.method manual ipv4.addr "192.168.1.2/24,10.10.1.5/8"
nmcli con mod profile ipv4.method link-local ipv4.addr ""
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is necessary especially for cases where properties depend on each other.
So you need to set them in one command, else the profile won't validate.

Examples:
nmcli con mod em1-1 ipv4.method manual ipv4.addr "192.168.1.2/24,10.10.1.5/8"
nmcli con mod profile ipv4.method link-local ipv4.addr ""
</pre>
</div>
</content>
</entry>
</feed>
