Skip to main content

Python bindings for MCollective

Project description

python-mcollective

https://travis-ci.org/rafaduran/python-mcollective.png?branch=master https://coveralls.io/repos/rafaduran/python-mcollective/badge.png?branch=master Stories in Ready Bitdeli badge

Python bindings for MCollective inspired by mcollective-python example. Making a ping discovery agent call is just 3 lines:

>>> config = config.Config.from_configfile('client.cfg')
>>> msg = message.Message(body='ping', agent='discovery', config=config)
>>> pprint.pprint(rpc.SimpleAction(config=config, msg=msg, agent='discovery').call())
[{':body': 'pong',
  ':msgtime': 1395419893,
  ':requestid': '003ba8142857ccb42cfc4d51262739ecafd43aca',
  ':senderagent': 'discovery',
  ':senderid': 'mco1'}]

Features

  • MCollective 2.0 - 2.4

  • Python 2.6 - 3.3

  • All MCollective connectors (STOMP, RabbitMQ, ActiveMQ)

  • SSL security provider (YAML serialization)

  • Battle tested

  • MCollective configuration files parsing

  • MCollective filters

Project details


Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page