Skip to content

Naming Resource #43

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
9 tasks
unakatsuo opened this issue Dec 19, 2016 · 0 comments
Open
9 tasks

Naming Resource #43

unakatsuo opened this issue Dec 19, 2016 · 0 comments

Comments

@unakatsuo
Copy link
Contributor

unakatsuo commented Dec 19, 2016

Set custom unique name to instance/resource.

Proposed CLI usage:

% openvdc run centos/7/lxc --name=myinstance1
% openvdc show myinstance1
%openvdc rename myinstance1 myinstance2

TODO:

  • Bring unique index feature to model. Design zNode keys and data structure on Zookeeper.
  • Update model.proto to add name field. message Instance (message ResourceTemplate?)
  • gRPC API change
    • Enable Instance.Run, Instance.Create APIs to set name.
    • Modify Instance.Show to retrieve by name.
    • Instance.List should have name if exists.
    • Add Instance.Rename API
  • Add CLI sub-command & options:
    • openvdc run --name
    • openvdc show <name>
    • openvdc rename
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants