Re: [openstack-dev] [openstackclient] Use and practices of --format shell for defining individual variables

2015-05-27 Thread Ronald Bradford
Thanks Doug, I knew there would be a more definitive and simple use. eval is that way! Ronald Ronald Bradford Web Site: http://ronaldbradford.com LinkedIn: http://www.linkedin.com/in/ronaldbradford Twitter:@RonaldBradford Skype: RonaldBradford GTalk

[openstack-dev] [openstackclient] Use and practices of --format shell for defining individual variables

2015-05-26 Thread Terry Howe
> > > I came across the following neutron client specific syntax and decided to > see if I could reproduce using the openstack client and it's flexible > formatting capabilities > > > $ NIC_ID1=$(neutron net-show public | awk '/ id /{print $4}') > > $ echo $NIC_ID1 > 210d976e-16a3-42dc-ac31-f01810

Re: [openstack-dev] [openstackclient] Use and practices of --format shell for defining individual variables

2015-05-26 Thread Doug Hellmann
Excerpts from Ronald Bradford's message of 2015-05-26 11:18:09 -0400: > Hi list, > > I came across the following neutron client specific syntax and decided to > see if I could reproduce using the openstack client and it's flexible > formatting capabilities > > > $ NIC_ID1=$(neutron net-show publ

Re: [openstack-dev] [openstackclient] Use and practices of --format shell for defining individual variables

2015-05-26 Thread Dean Troyer
On Tue, May 26, 2015 at 10:18 AM, Ronald Bradford wrote: > I came across the following neutron client specific syntax and decided to > see if I could reproduce using the openstack client and it's flexible > formatting capabilities > I'll just say off the top it is unlikely as there are only two

[openstack-dev] [openstackclient] Use and practices of --format shell for defining individual variables

2015-05-26 Thread Ronald Bradford
Hi list, I came across the following neutron client specific syntax and decided to see if I could reproduce using the openstack client and it's flexible formatting capabilities $ NIC_ID1=$(neutron net-show public | awk '/ id /{print $4}') $ echo $NIC_ID1 210d976e-16a3-42dc-ac31-f01810dbd297 I