Re: [one-users] show IPs of VM with onevm command

2015-01-22 Thread Carlos Martín Sánchez
Hi all,

If this a common request, we can to add it to the command in a future
release.
Please open a feature request and we'll consider it.

Regards

--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula
http://twitter.com/opennebula cmar...@opennebula.org

On Thu, Jan 22, 2015 at 10:37 AM, Alejandro Feijóo alfei...@cesga.es
wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA512

 Hi.

 Maybe that Diego Martin response?

 
 You can add new columns directly in the
 /usr/lib/one/ruby/cli/one_helper/onevm_helper.rb file [1]. To make that new
 column visible, the name needs to be added to /etc/one/cli/onevm.yaml [2]
 and/or the default set [3].

 Regards

 [1]

 https://github.com/OpenNebula/one/blob/master/src/cli/one_helper/onevm_helper.rb#L142
 [2] https://github.com/OpenNebula/one/blob/master/src/cli/etc/onevm.yaml
 [3]

 https://github.com/OpenNebula/one/blob/master/src/cli/one_helper/onevm_helper.rb#L211

 



 El 22/01/15 a las 01:58, Anandharaj Subramaniam escribió:
  Hi,
 
  I did ask this question before and its actually can be enabled by
 modifying some file. I will try search back my previous post and update you.
 
 
  --
  Regards,
  Anandharaj
 
  From: Users [mailto:users-boun...@lists.opennebula.org] On Behalf Of
 Valerio Schiavoni
  Sent: Wednesday, January 21, 2015 6:37 PM
  To: users@lists.opennebula.org
  Subject: [one-users] show IPs of VM with onevm command
 
  Hello,
  the command 'onevm list' does not show a column with the IP of each of
 the available VM.
  It would be nice to add this column to the output of that command.
  I imagine this is not included because there might be cases where VMs
 have more than 1 NIC, but
 
  Currently, I need to do :
 
   onevm list | grep topico | awk -F ' ' {'print $1'}  | xargs -I {} onevm
 show {} |  grep ETH0_IP |  awk -F '' {'print $2'}
 
  Something simpler and less convoluted would be nice.
 
  Thanks,
  Valerio
 
  
  DISCLAIMER:
 
 
  This e-mail (including any attachments) is for the addressee(s) only and
 may be confidential, especially as regards personal data. If you are not
 the intended recipient, please note that any dealing, review, distribution,
 printing, copying or use of this e-mail is strictly prohibited. If you have
 received this email in error, please notify the sender immediately and
 delete the original message (including any attachments).
 
 
  MIMOS Berhad is a research and development institution under the purview
 of the Malaysian Ministry of Science, Technology and Innovation. Opinions,
 conclusions and other information in this e-mail that do not relate to the
 official business of MIMOS Berhad and/or its subsidiaries shall be
 understood as neither given nor endorsed by MIMOS Berhad and/or its
 subsidiaries and neither MIMOS Berhad nor its subsidiaries accepts
 responsibility for the same. All liability arising from or in connection
 with computer viruses and/or corrupted e-mails is excluded to the fullest
 extent permitted by law.
 
 
 
  ___
  Users mailing list
  Users@lists.opennebula.org
  http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
 

 - --
 Alejandro Feijóo Fraga
 Systems Technician
 CESGA
 -BEGIN PGP SIGNATURE-
 Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
 Comment: GPGTools - https://gpgtools.org

 iQEcBAEBCgAGBQJUwMTZAAoJEKshAoM6XWq56DkH/1rye41UsYxD9G7GGHNLMZsX
 fbMJrtxQCCfkk+cdH09Tp2kSTcDhIrip/sZqbxmP/9SEa9RK16KkhRnDt+W5xJLf
 sSx/MldD+gBaev75y4cnbnbpuk3LKRPnH8UZZHPaYD53+fBwOU+2AxijNxfG0hJ1
 28uky7hcr+THBddQ62MeSYJ45N148La4gtEW2IaHMv5E1/hNo8ks7lj5mrG+ypBl
 UGGQJBZ05VPEvd3e1PRVWRIpShoEHtX0JvCSNggox2h3bPswzSdQFewZvmn6Fzhe
 sqCXlixghozI3YoL73TII3FtWW8Q6Gx7aPx4AkKPUGmvviT8kHGe+ErD8X264Co=
 =pHP9
 -END PGP SIGNATURE-
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] show IPs of VM with onevm command

2015-01-22 Thread Alejandro Feijóo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi.

Maybe that Diego Martin response?


You can add new columns directly in the
/usr/lib/one/ruby/cli/one_helper/onevm_helper.rb file [1]. To make that new
column visible, the name needs to be added to /etc/one/cli/onevm.yaml [2]
and/or the default set [3].

Regards

[1]
https://github.com/OpenNebula/one/blob/master/src/cli/one_helper/onevm_helper.rb#L142
[2] https://github.com/OpenNebula/one/blob/master/src/cli/etc/onevm.yaml
[3]
https://github.com/OpenNebula/one/blob/master/src/cli/one_helper/onevm_helper.rb#L211





El 22/01/15 a las 01:58, Anandharaj Subramaniam escribió:
 Hi,
 
 I did ask this question before and its actually can be enabled by modifying 
 some file. I will try search back my previous post and update you.
 
 
 --
 Regards,
 Anandharaj
 
 From: Users [mailto:users-boun...@lists.opennebula.org] On Behalf Of Valerio 
 Schiavoni
 Sent: Wednesday, January 21, 2015 6:37 PM
 To: users@lists.opennebula.org
 Subject: [one-users] show IPs of VM with onevm command
 
 Hello,
 the command 'onevm list' does not show a column with the IP of each of the 
 available VM.
 It would be nice to add this column to the output of that command.
 I imagine this is not included because there might be cases where VMs have 
 more than 1 NIC, but
 
 Currently, I need to do :
 
  onevm list | grep topico | awk -F ' ' {'print $1'}  | xargs -I {} onevm show 
 {} |  grep ETH0_IP |  awk -F '' {'print $2'}
 
 Something simpler and less convoluted would be nice.
 
 Thanks,
 Valerio
 
 
 DISCLAIMER:
 
 
 This e-mail (including any attachments) is for the addressee(s) only and may 
 be confidential, especially as regards personal data. If you are not the 
 intended recipient, please note that any dealing, review, distribution, 
 printing, copying or use of this e-mail is strictly prohibited. If you have 
 received this email in error, please notify the sender immediately and delete 
 the original message (including any attachments).
 
 
 MIMOS Berhad is a research and development institution under the purview of 
 the Malaysian Ministry of Science, Technology and Innovation. Opinions, 
 conclusions and other information in this e-mail that do not relate to the 
 official business of MIMOS Berhad and/or its subsidiaries shall be understood 
 as neither given nor endorsed by MIMOS Berhad and/or its subsidiaries and 
 neither MIMOS Berhad nor its subsidiaries accepts responsibility for the 
 same. All liability arising from or in connection with computer viruses 
 and/or corrupted e-mails is excluded to the fullest extent permitted by law.
 
 
 
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
 

- -- 
Alejandro Feijóo Fraga
Systems Technician
CESGA
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJUwMTZAAoJEKshAoM6XWq56DkH/1rye41UsYxD9G7GGHNLMZsX
fbMJrtxQCCfkk+cdH09Tp2kSTcDhIrip/sZqbxmP/9SEa9RK16KkhRnDt+W5xJLf
sSx/MldD+gBaev75y4cnbnbpuk3LKRPnH8UZZHPaYD53+fBwOU+2AxijNxfG0hJ1
28uky7hcr+THBddQ62MeSYJ45N148La4gtEW2IaHMv5E1/hNo8ks7lj5mrG+ypBl
UGGQJBZ05VPEvd3e1PRVWRIpShoEHtX0JvCSNggox2h3bPswzSdQFewZvmn6Fzhe
sqCXlixghozI3YoL73TII3FtWW8Q6Gx7aPx4AkKPUGmvviT8kHGe+ErD8X264Co=
=pHP9
-END PGP SIGNATURE-
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] show IPs of VM with onevm command

2015-01-22 Thread Valerio Schiavoni
On Thu, Jan 22, 2015 at 11:22 AM, Carlos Martín Sánchez 
cmar...@opennebula.org wrote:


 If this a common request, we can to add it to the command in a future
 release.
 Please open a feature request and we'll consider it.


Done: http://dev.opennebula.org/issues/3518

Best,
Valerio
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] show IPs of VM with onevm command

2015-01-21 Thread Anandharaj Subramaniam
Hi,

I did ask this question before and its actually can be enabled by modifying 
some file. I will try search back my previous post and update you.


--
Regards,
Anandharaj

From: Users [mailto:users-boun...@lists.opennebula.org] On Behalf Of Valerio 
Schiavoni
Sent: Wednesday, January 21, 2015 6:37 PM
To: users@lists.opennebula.org
Subject: [one-users] show IPs of VM with onevm command

Hello,
the command 'onevm list' does not show a column with the IP of each of the 
available VM.
It would be nice to add this column to the output of that command.
I imagine this is not included because there might be cases where VMs have more 
than 1 NIC, but

Currently, I need to do :

 onevm list | grep topico | awk -F ' ' {'print $1'}  | xargs -I {} onevm show 
{} |  grep ETH0_IP |  awk -F '' {'print $2'}

Something simpler and less convoluted would be nice.

Thanks,
Valerio


DISCLAIMER:


This e-mail (including any attachments) is for the addressee(s) only and may be 
confidential, especially as regards personal data. If you are not the intended 
recipient, please note that any dealing, review, distribution, printing, 
copying or use of this e-mail is strictly prohibited. If you have received this 
email in error, please notify the sender immediately and delete the original 
message (including any attachments).


MIMOS Berhad is a research and development institution under the purview of the 
Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions 
and other information in this e-mail that do not relate to the official 
business of MIMOS Berhad and/or its subsidiaries shall be understood as neither 
given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS 
Berhad nor its subsidiaries accepts responsibility for the same. All liability 
arising from or in connection with computer viruses and/or corrupted e-mails is 
excluded to the fullest extent permitted by law.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org