Skip to content

Conversation

uggla
Copy link
Collaborator

@uggla uggla commented Jan 18, 2016

No description provided.

uggla added 24 commits December 31, 2015 20:40
- Add modify command
- Add delete command
- Document class and method
- Add a check_manager method.
- Add renaming of a manager_name.
- Replace " by ' for PEP8 reason (not mixing them).
- Add a getinfo command (not working yet)
- Better handle connection errors.
- Better handle login errors.
- Improve exception process.
- Update examples.
	- Make examples compatible with new configuration file.
	- Show exception handling.
- Validate trusted SSL connection.
- Various PEP8 corrections.
- An empty login allow to connect to the DMTF refish mockup by
  setting simulator=True, verify_cert=False, enforceSSL=False.
- Try to factorise initialize_logger into redfish.config.
- Remove global logger declaration to avoid potential side effects.
- Add new logging.debug instead of print and try to cleanup.
- Allow logger.setlevel to be more flexible by configuring console and
  file level of log.
- Prepare client to allow optional debug parameter with loglevel
  selection.
- These messages make polution to the console using the client.
  The idea is to remove them in low level logging.
  However these message are interesting so keep
  them for debugging purpose.
- Add first exception handling to get_manager_info.
  Maybe I will have to factorise that later...
- Allow client to choose optional debug parameter with loglevel from
command line.
- Change ManagersCollection to not report a list by a dict.
  The managers_dict will contain index --> manager object, index is the
  redfish index as reported inside url
- Notice that Proliant firmware now uses EthernetInterfaces as specified
  by Redfish
- Bug to be reported :
  /redfish/v1/Managers/1/EthernetInterfaces/1 returns invalid content (not json)
- Revert some changes on " to ' as it can break json data. Example :
  return self.set_parameter_json('{"Boot": {"BootSourceOverrideTarget":
  "'+target+'"},{"BootSourceOverrideEnabled" : "'+enabled+'"}}')
- Update type.py with new manager functions and manage exceptions.
- Retrieve some basic manager data from client getinfo.
- Specify a name for the logger as recommended by the logging
  documentation. However for strange reason requests logs are
  not anymore capture in the log file. This needs to be reviewed.
- Change EthernetInterfacesCollection to not report a list but a dict.
  This change will be the same on *Collection.
- Factorise get_name function from Root to Base class as Name parameter
  seems defined for all kind of Redfish objects.
- Report first EthernetInterfaces data in redfish-client as
  an example --> need to be elaborated
- Add get_mac, get_fqdn, get_ipv4, get_ipv6.
- Add function get_managed_chassis.
- Add function get_managed_systems.
- Modiy mapping to handle proliant fw 2.40 bugs reporting :
  - links instead of Links.
  - href instead of @odata.id.
- I'll report this bug to redfish folks.
- Various PEP8 cleans.
- Use templating system, so user will be able to customize output.
- This could be use later to propose output in various format (html,
  xml, json).
- Undefined EthernetInterfacesCollection in case of failure. So it
  allows to test definition in the template or elsewhere.
- Fix for empty login or password entry.
- Remove pprint because it prints stuff to the console even in no debug mode.
- Remove apache pid file. So it allows to restart the mockup after a
  brutal shutdown of the container.
bcornec added a commit that referenced this pull request Jan 18, 2016
My modifications for future version 0.3
@bcornec bcornec merged commit df2c027 into bcornec:devel Jan 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants