How to create a keystone extension? [closed]

asked 2013-07-19 04:21:44 -0500

Sudheesh gravatar image

What all are the steps in creating a Keystone extension?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Sudheesh
close date 2013-08-27 02:57:19.009533

2 answers

Sort by » oldest newest most voted
1

answered 2013-07-19 16:30:43 -0500

smaffulli gravatar image

updated 2013-07-19 16:31:00 -0500

I suggest you to start from http://docs.openstack.org and from the source code of other extensions. If you have specific problems ask them here.

edit flag offensive delete link more
1

answered 2013-07-20 04:26:03 -0500

Sudheesh gravatar image

I created my own extension. I am adding below note to help anybody else who will need the same

acess admin_crud are some examples of extensions that comes along with the keystone installation itself

As you can see any extension will have a seperate directory inside the contrib directory of keystone installation. It has primarily two python files in it 1) __init__.py 2) core.py (you can see controllers and routers here)

This is a standard naming convention followed by all keystone extensions and we will also follow it. “backends” is a folder which has all the database or any ldap related operations.

Restart the keystone service once you have created it.

edit flag offensive delete link more

Comments

1

Can you close this question, as it seems answered. :)

koolhead17 gravatar imagekoolhead17 ( 2013-08-12 15:59:10 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2013-07-19 04:21:44 -0500

Seen: 141 times

Last updated: Jul 20 '13