Commit Graph

42 Commits

Author SHA1 Message Date
Jérôme Justet fa8d0da0c6 Adding Vagrant based demo for Alexandria 2016-03-30 15:48:27 +02:00
Bruno Cornec e1d6e5afd3 Rename _push functions into set (for coherency with get) 2015-12-23 12:08:44 +01:00
Bruno Cornec 12b04cf251 Merge pull request #1 from vmisson/prototype
Thanks Vincent for these improvements !
2015-12-22 15:39:08 +01:00
root 881682cbc9 Add Redfish model 1.0 2015-12-22 15:18:14 +01:00
vmisson f37370484f Fix bug + move Redfish model file in 0.96 directory to manage several version 2015-12-22 15:12:47 +01:00
vmisson 928b23a122 Redfish and iTop integration 2015-12-21 11:11:04 +01:00
vmisson d92d434bfa Fix iTop in docker + documentation in Readme-itop.txt 2015-11-19 16:39:07 +01:00
vmisson d771efbdd0 Move iTop to examples directory 2015-11-16 17:54:21 +01:00
vmisson 49ba582e56 Add iTop dockerfile 2015-11-16 17:48:39 +01:00
Uggla 7c0a8a2de1 Add LICENCE file.
Apache2 Licence.
2015-10-15 14:03:02 +02:00
Uggla 0ee7e29dfd Add http request sample to itop. Boulala....
Bobo tete....
2015-09-03 21:00:21 +02:00
René Ribaud bc4675efc6 Update README.md 2015-07-15 00:31:09 +02:00
René Ribaud 0fd322c72f Update README.md 2015-07-15 00:28:07 +02:00
uggla 378b688e48 TODO and logger modifications.
Add TODO ideas in the code.
Create a config.logger global object to log from anywhere in the code.
2015-07-11 22:34:12 +02:00
uggla 99d2eadad6 Fix ExtendedInfo.0.96.0.json json file. 2015-07-10 23:25:30 +02:00
uggla ed1f2cacdb Add all dmtf redfish files.
Print loaded files to the console.
2015-07-10 23:14:20 +02:00
uggla 7e1bd64771 Put in place synchronization.
Synchronization is done between all drivers.
In fact, only the fake drivers are doing something.
Fakeprovider is updating the manager date add some fields.
Fakecmdb is just writting the content of ci.data to a json file.

This commit is a fist step in the implementation.
2015-07-10 14:31:05 +02:00
uggla da4f890e84 Make reference models attribute private.
Create a get_model method to get a copy of reference data model.
2015-07-10 14:27:20 +02:00
uggla 925e4ced0a Use format method instead of old style %.
From what I have read using format is a prefered and more powerful method.
http://stackoverflow.com/questions/5082452/python-string-formatting-vs-format
2015-07-10 12:22:09 +02:00
uggla 8fb8a77dca Copy reference object example.
This commit is just implemented to validate the medhod.
But this is not conveniant, because reference models must not be
changed.
So next step is to make them private attributes.
2015-07-10 12:11:22 +02:00
uggla ad8908753e Add ci parameter to get_ci() and push_ci() methods. 2015-07-10 11:49:35 +02:00
uggla 370cff7c6b Encapsulate ci_type and data into methods. 2015-07-10 11:49:35 +02:00
uggla 3a27498841 Move Alexandria class to module config.
Goal is to defined an alexandria global object that can be called from
anywhere.
I'm not sure that's the best code organisation and naming, however the
idea is to follow that advice :
https://docs.python.org/2/faq/programming.html#how-do-i-share-global-variables-across-modules

Fix : remove unreachable code into config.py.
2015-07-10 11:48:22 +02:00
uggla 9acb9e9b5e Cleanup to respect pep8 coding standard. 2015-07-09 14:49:25 +02:00
uggla 6dbed9f32b Add etherpad link. 2015-07-09 14:48:54 +02:00
uggla 49979a0475 Update app.py to reflect latest renaming methods. 2015-07-08 16:07:20 +02:00
uggla d97e33e87d Create a get_driver_type() method.
Trying to respect that attribute can be accessed/modified by method
call.
2015-07-08 16:05:45 +02:00
uggla bc9cb6eae5 Add new common method get_ci() and push_ci() to Driver class. 2015-07-08 15:55:02 +02:00
uggla 731be163d6 Add driver_type. 2015-07-08 14:39:44 +02:00
uggla c16cfd05bd Add logging to Alexandria.
This will be helpful later to debug the application.
2015-07-08 14:37:44 +02:00
uggla 19fb04ed21 Change models file hierarchy. 2015-07-08 13:27:43 +02:00
uggla b68e4a3589 Driver part working as expected. 2015-07-08 13:18:45 +02:00
uggla 6bf5f4b375 Elaborate around drivers. 2015-07-08 00:08:49 +02:00
René Ribaud 926a22216e Update README.md 2015-07-05 14:14:07 +02:00
uggla 6d40985f10 Hackaton #1. 2015-07-02 00:43:57 +02:00
Uggla 2f7c61cf7d Add docstring examples. 2015-06-30 23:57:23 +02:00
Uggla 63718ffd19 Update skeleton and put code samples in order to have materials for hackaton. 2015-06-30 23:46:21 +02:00
uggla d677e12ed8 Add bruno post method as an example. 2015-06-26 17:53:56 +02:00
Uggla 9739bfe06e Add server running port from configuration file.
Add a method to shutdown the server.
Refine some code.
2015-06-26 01:10:48 +02:00
Uggla 6bc505011f Implement REST API example with Flask. 2015-06-26 00:33:57 +02:00
uggla 99c22b0d1e Add umbrello uml file
Add conf file sample
2015-06-05 00:18:00 +02:00
uggla 0aded1e491 Initial commit 2015-06-03 11:06:42 +02:00