On Tue, Nov 10, 2015 at 11:14 AM, Dean Troyer <dtro...@gmail.com> wrote:
> On Tue, Nov 10, 2015 at 9:46 AM, Dmitry Tantsur <dtant...@redhat.com> wrote:
>>
>>  inspect, manage, provide, active and abort are all provisioning verbs
>> used in ironic API. they usually represent some complex operations on a
>> node. Inspection is not related to showing, it's about fetching hardware
>> properties from hardware itself and updating ironic database. manage sets a
>> node to a specific ("manageable") state. etc.
>
>
> inspect seems like a very specific action and is probably OK as-is.  We
> should sanity-check other resources in OpenStack that it might also be used
> with down the road and how different the action might be.
>
> Those that are states of a resource should be handled with a set command.
>
>>
>> boot and shutdown are natural opposites, aka power on and power off.
>
>
> The analogous server commands (create/delete) may not make sense here
> because, unlike with a server (VM), a resource is not being created or
> deleted.  But a user might expect to use the same commands in both places.
> We need to consider which of those is more important.  I like to break ties
> on the side of user experience consistency.

baremetal create (the current command) does something different. It
creates the node in ironic. So I would agree that create/delete are
not analogous to the way Nova uses those verbs.

>
> Honestly, at some point as a user, I'd like to forget whether my server is a
> bare metal box or not and just use the same commands to manage it.
>
> Also, I'd LOVE to avoid using 'boot' at all just to get away from the nova
> command's use of it.
>
> dt
>
> --
>
> Dean Troyer
> dtro...@gmail.com
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>



-- 
Brad P. Crochet, RHCA, RHCE, RHCVA, RHCDS
Principal Software Engineer
(c) 704.236.9385 (w) 919.301.3231

__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to