Re: [Users] new wiki for ovirt-engine-cli

2012-03-05 Thread Li, David
Hi Michael,

I installed the cli rpms and connected to the engine. But the create host 
keeps giving errors and I have no clue why:

[oVirt shell (connected)]# create host --address '10.10.62.106' --cluster-id 
'default' --name 'xxx' --root_password 'yyy'
error: incomplete command

From the help menu, the rest are optional. So why is this error?

You have examples creating vm and datacenter. Can you add some how to create 
hosts?

- David

From: Michael Pasternak [mpast...@redhat.com]
Sent: Saturday, March 03, 2012 11:14 PM
To: Li, David
Cc: users@ovirt.org
Subject: Re: [Users] new wiki for ovirt-engine-cli

On 03/02/2012 05:02 PM, Li, David wrote:
 I see the Feb 19 SDK dn CLI tar balls.

those aren't latest, you should wait for the next drop or build new ones by 
yourself (see how in wiki)

 I already have an engine up and running. Do I need to install both SDK and 
 CLI to use the cli?

yes

 Any wiki pages about installation instructions?

http://www.ovirt.org/wiki/SDK#Deployment
http://www.ovirt.org/wiki/CLI#Deployment


 - David
 
 From: Michael Pasternak [mpast...@redhat.com]
 Sent: Thursday, March 01, 2012 7:42 AM
 To: Itamar Heim
 Cc: Li, David; users@ovirt.org
 Subject: Re: [Users] new wiki for ovirt-engine-cli

 On 03/01/2012 05:09 PM, Itamar Heim wrote:
 On 03/01/2012 05:06 PM, Li, David wrote:
 Hi Michael,

 Thanks for the info. Now on to more questions:)

 1. Do you have a link where to get the ovirt-engine-cli rpm or tar ball?

 http://www.ovirt.org/releases/

 i see that ovirt-engine-cli-2.0-3 is yet not available in nightly repo,
 will ask to upload it,

 also don't forget that you need latest ovirt-engine to use it

 2. I guess my real question is if the cli package can replace the engine 
 GUI. This is necessary if I don't want to use the GUI but integrate the 
 engine management
 functionalities with my own code. I don't know in this case if I should 
 directly use the SDK or script the CLI cmds. Any suggestions?

 for coding (in python), SDK sounds the right integration level.
 if you want to code in a different language, worth discussing.

 sdk is the right tool for integration, see http://www.ovirt.org/wiki/SDK

 --

 Michael Pasternak
 RedHat, ENG-Virtualization RD


--

Michael Pasternak
RedHat, ENG-Virtualization RD
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] new wiki for ovirt-engine-cli

2012-03-04 Thread Dan Kenigsberg
On Thu, Mar 01, 2012 at 09:38:41AM +0200, Michael Pasternak wrote:
 
 On 03/01/2012 07:44 AM, Deepak C Shetty wrote:
  On 02/29/2012 08:38 PM, Michael Pasternak wrote:
  http://www.ovirt.org/wiki/CLI
 
  I would like to see something similar for VDSM cli (vdsClient) :)
  
 
 if VDSM api will expose RSDL (RESTful service description language), we could
 generate SDK [1] for it and then very same cli can be used against this sdk
 
 [1] our ovirt-engine-sdk [2] is auto-generated from RSDL exposed in 
 ovirt-engine-api
 [2] http://www.ovirt.org/wiki/SDK

REST API for Vdsm is in the works, http://gerrit.ovirt.org/2021
but I am not sure that mixing the layers and having one cli to Engine and Vdsm
makes sense. In fact, I would guess that Engine would not be surprised if you
spring a VM below its feet, or migrate an existing VM.
That's why vdsClient is considered and test and debug tool.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] new wiki for ovirt-engine-cli

2012-03-04 Thread Michael Pasternak
On 03/04/2012 04:51 PM, Dan Kenigsberg wrote:
 On Thu, Mar 01, 2012 at 09:38:41AM +0200, Michael Pasternak wrote:

 On 03/01/2012 07:44 AM, Deepak C Shetty wrote:
 On 02/29/2012 08:38 PM, Michael Pasternak wrote:
 http://www.ovirt.org/wiki/CLI

 I would like to see something similar for VDSM cli (vdsClient) :)


 if VDSM api will expose RSDL (RESTful service description language), we could
 generate SDK [1] for it and then very same cli can be used against this sdk

 [1] our ovirt-engine-sdk [2] is auto-generated from RSDL exposed in 
 ovirt-engine-api
 [2] http://www.ovirt.org/wiki/SDK
 
 REST API for Vdsm is in the works, http://gerrit.ovirt.org/2021
 but I am not sure that mixing the layers and having one cli to Engine and Vdsm
 makes sense. 

it's not mixing of two CLIs, if vdsm will expose RSDL, will be generated vdsm 
sdk,
i.e cli will be completely different as it will work against vdsm sdk,

all I'm saying that if vdsm will expose RSDL, it will get sdk/cli for free ...

 In fact, I would guess that Engine would not be surprised if you
 spring a VM below its feet, or migrate an existing VM.
 That's why vdsClient is considered and test and debug tool.

-- 

Michael Pasternak
RedHat, ENG-Virtualization RD
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] new wiki for ovirt-engine-cli

2012-03-03 Thread Michael Pasternak
On 03/02/2012 05:02 PM, Li, David wrote:
 I see the Feb 19 SDK dn CLI tar balls. 

those aren't latest, you should wait for the next drop or build new ones by 
yourself (see how in wiki)

 I already have an engine up and running. Do I need to install both SDK and 
 CLI to use the cli? 

yes

 Any wiki pages about installation instructions?

http://www.ovirt.org/wiki/SDK#Deployment
http://www.ovirt.org/wiki/CLI#Deployment

 
 - David
 
 From: Michael Pasternak [mpast...@redhat.com]
 Sent: Thursday, March 01, 2012 7:42 AM
 To: Itamar Heim
 Cc: Li, David; users@ovirt.org
 Subject: Re: [Users] new wiki for ovirt-engine-cli
 
 On 03/01/2012 05:09 PM, Itamar Heim wrote:
 On 03/01/2012 05:06 PM, Li, David wrote:
 Hi Michael,

 Thanks for the info. Now on to more questions:)

 1. Do you have a link where to get the ovirt-engine-cli rpm or tar ball?
 
 http://www.ovirt.org/releases/
 
 i see that ovirt-engine-cli-2.0-3 is yet not available in nightly repo,
 will ask to upload it,
 
 also don't forget that you need latest ovirt-engine to use it
 
 2. I guess my real question is if the cli package can replace the engine 
 GUI. This is necessary if I don't want to use the GUI but integrate the 
 engine management
 functionalities with my own code. I don't know in this case if I should 
 directly use the SDK or script the CLI cmds. Any suggestions?

 for coding (in python), SDK sounds the right integration level.
 if you want to code in a different language, worth discussing.
 
 sdk is the right tool for integration, see http://www.ovirt.org/wiki/SDK
 
 --
 
 Michael Pasternak
 RedHat, ENG-Virtualization RD


-- 

Michael Pasternak
RedHat, ENG-Virtualization RD
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] new wiki for ovirt-engine-cli

2012-03-02 Thread Li, David
I see the Feb 19 SDK dn CLI tar balls. 
I already have an engine up and running. Do I need to install both SDK and CLI 
to use the cli? Any wiki pages about installation instructions?

- David

From: Michael Pasternak [mpast...@redhat.com]
Sent: Thursday, March 01, 2012 7:42 AM
To: Itamar Heim
Cc: Li, David; users@ovirt.org
Subject: Re: [Users] new wiki for ovirt-engine-cli

On 03/01/2012 05:09 PM, Itamar Heim wrote:
 On 03/01/2012 05:06 PM, Li, David wrote:
 Hi Michael,

 Thanks for the info. Now on to more questions:)

 1. Do you have a link where to get the ovirt-engine-cli rpm or tar ball?

http://www.ovirt.org/releases/

i see that ovirt-engine-cli-2.0-3 is yet not available in nightly repo,
will ask to upload it,

also don't forget that you need latest ovirt-engine to use it

 2. I guess my real question is if the cli package can replace the engine 
 GUI. This is necessary if I don't want to use the GUI but integrate the 
 engine management
 functionalities with my own code. I don't know in this case if I should 
 directly use the SDK or script the CLI cmds. Any suggestions?

 for coding (in python), SDK sounds the right integration level.
 if you want to code in a different language, worth discussing.

sdk is the right tool for integration, see http://www.ovirt.org/wiki/SDK

--

Michael Pasternak
RedHat, ENG-Virtualization RD
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] new wiki for ovirt-engine-cli

2012-03-01 Thread Itamar Heim

On 03/01/2012 05:06 PM, Li, David wrote:

Hi Michael,

Thanks for the info. Now on to more questions:)

1. Do you have a link where to get the ovirt-engine-cli rpm or tar ball?
2. I guess my real question is if the cli package can replace the engine GUI. 
This is necessary if I don't want to use the GUI but integrate the engine 
management functionalities with my own code. I don't know in this case if I 
should directly use the SDK or script the CLI cmds. Any suggestions?


for coding (in python), SDK sounds the right integration level.
if you want to code in a different language, worth discussing.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] new wiki for ovirt-engine-cli

2012-02-29 Thread Michael Pasternak

http://www.ovirt.org/wiki/CLI

-- 

Michael Pasternak
RedHat, ENG-Virtualization RD
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] new wiki for ovirt-engine-cli

2012-02-29 Thread Li, David

Michael,
I am interested in the ovirt-shell and I might have missed some earlier 
discussions. The wiki doesn't say much about how to install it. My questions 
are:

1.  Is this part of ovirt-engine install? 
2. Can it entirely replace the engine? 

Do you have a 'how to get started' page?

David


Date: Wed, 29 Feb 2012 17:08:13 +0200
From: Michael Pasternak mpast...@redhat.com
To: users@ovirt.org
Subject: [Users] new wiki for ovirt-engine-cli
Message-ID: 4f4e3f5d.7010...@redhat.com
Content-Type: text/plain; charset=ISO-8859-1


http://www.ovirt.org/wiki/CLI

--

Michael Pasternak
RedHat, ENG-Virtualization RD


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] new wiki for ovirt-engine-cli

2012-02-29 Thread Michael Pasternak

Hi David,

On 02/29/2012 07:47 PM, Li, David wrote:
   
 Michael,
 I am interested in the ovirt-shell and I might have missed some earlier 
 discussions. The wiki doesn't say much about how to install it. My questions 
 are:
 
 1.  Is this part of ovirt-engine install? 

it shipped as another rpm (ovirt-engine-cli) / tarball in release repo,
only ovirt-engine-cli is more advanced than last release of oVirt, i.e it using 
latest
ovirt-engine-sdk which is build against latest ovirt-engine,

so to use ovirt-engine-cli-2.x you have to compile and deploy the engine by 
yourself
or wait for the next release.

 2. Can it entirely replace the engine? 

no, it doesn't replace the engine, but using it
through over-engine-sdk [1].

[1] http://www.ovirt.org/wiki/SDK

 
 Do you have a 'how to get started' page?
 
 David
 

 Date: Wed, 29 Feb 2012 17:08:13 +0200
 From: Michael Pasternak mpast...@redhat.com
 To: users@ovirt.org
 Subject: [Users] new wiki for ovirt-engine-cli
 Message-ID: 4f4e3f5d.7010...@redhat.com
 Content-Type: text/plain; charset=ISO-8859-1


 http://www.ovirt.org/wiki/CLI

 --

 Michael Pasternak
 RedHat, ENG-Virtualization RD




-- 

Michael Pasternak
RedHat, ENG-Virtualization RD
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users