Placement OpenStackClient Plugin (Queens)

Registered by Matt Riedemann

This blueprint is for creating an openstackclient plugin for the placement service.

The plugin will not live in the nova tree, or python-novaclient. It will live in it's own repo (maybe openstack/placement-osc-plugin).

We can follow Dean Troyer's osc plugin reference here: https://github.com/dtroyer/osc-plugin

The placement REST API version history is here:

https://docs.openstack.org/developer/nova/placement.html#rest-api-version-history

The purpose of the placement osc plugin is simply to provide CLIs for the placement API.

There is no plan to write a python API binding client for placement. The OSC plugin should use keystoneauth1 to find the placement endpoint in the service catalog and make requests, then get the json response data and use that to provide output in whatever form is requested, e.g. a table of existing resource providers or a specific field value for a specific resource provider.

Examples of CLIs we'd like to see are in the original nova spec for generic resource providers:

https://specs.openstack.org/openstack/nova-specs/specs/newton/implemented/generic-resource-pools.html#other-end-user-impact

Here are is the guide for creating new projects in openstack:

https://docs.openstack.org/infra/manual/creators.html

This would go under the compute program in governance.

Blueprint information

Status:
Complete
Approver:
Matt Riedemann
Priority:
Medium
Drafter:
Matt Riedemann
Direction:
Approved
Assignee:
Roman Podoliaka
Definition:
Approved
Series goal:
Accepted for queens
Implementation:
Implemented
Milestone target:
milestone icon queens-3
Started by
Roman Podoliaka
Completed by
Matt Riedemann

Related branches

Sprints

Whiteboard

https://review.openstack.org/#/q/project:openstack/osc-placement

Deferring this to Queens since the OSC plugin isn't merged. -- mriedem 20170803

osc-placement 1.0.0 was released today for Queens which includes a good set of minimal functionality for working with placement resource providers and classes (including inventories, allocations and aggregates); supports up to the 1.2 microversion in Placement. There are other outstanding changes for osc-placement but we'll defer those to Rocky. -- mriedem 20180124

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.