<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
I came across the following neutron client specific syntax and decided to<br>
see if I could reproduce using the openstack client and it's flexible<br>
formatting capabilities<br>
<br>
<br>
$ NIC_ID1=$(neutron net-show public | awk '/ id /{print $4}')<br>
<br>
$  echo $NIC_ID1<br>
210d976e-16a3-42dc-ac31-f01810dbd297<br>
...</blockquote><div><br></div><div>The show commands for neutron client and OSC  have a format 'value' option that may help:</div><div><br></div><div><div>$ os network show -c id -f value netty</div><div>00d7e1af-8749-411f-96da-3bda20601cb3</div><div>$ NETTY_ID=$(os network show -c id -f value netty)</div><div>$ echo $NETTY_ID</div><div>00d7e1af-8749-411f-96da-3bda20601cb3</div></div><div><br></div></div></div></div>