{"id":1495,"date":"2010-06-27T16:41:28","date_gmt":"2010-06-27T15:41:28","guid":{"rendered":"http:\/\/www.devco.net\/?p=1495"},"modified":"2010-08-17T12:04:14","modified_gmt":"2010-08-17T11:04:14","slug":"tutorial_writing_mcollective_agents","status":"publish","type":"post","link":"https:\/\/www.devco.net\/archives\/2010\/06\/27\/tutorial_writing_mcollective_agents.php","title":{"rendered":"Tutorial: Writing MCollective Agents"},"content":{"rendered":"

I’ve recorded a screencast that walks you through the process of developing a SimpleRPC Agent, give it a DDL and also a simple client to communicate with it.<\/p>\n

<\/embed><\/center><\/p>\n

The tutorial creates a small echo agent that takes input and return it unmodified. It validates that you are sending a string and has a sample of dealing with intermittent failure.<\/p>\n

Once you’ve watched this, or even during, you can use the following links are reference material: Writing Agents<\/a>, Data Definition Language<\/a> and Writing Clients<\/a>.<\/p>\n

You can view it directly on blip.tv<\/a> which will hopefully be better quality.<\/p>\n

I used a few VIM Snippets during the demo to boilerplate the agent and DDL, you’ll find these in the tarball for the upcoming 0.4.7<\/em> release in the ext\/vim<\/em> directory, they are already on GitHub too.<\/p>\n","protected":false},"excerpt":{"rendered":"

I’ve recorded a screencast that walks you through the process of developing a SimpleRPC Agent, give it a DDL and also a simple client to communicate with it. The tutorial creates a small echo agent that takes input and return it unmodified. It validates that you are sending a string and has a sample of […]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","footnotes":""},"categories":[7],"tags":[121,85,78,13],"_links":{"self":[{"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/posts\/1495"}],"collection":[{"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/comments?post=1495"}],"version-history":[{"count":10,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/posts\/1495\/revisions"}],"predecessor-version":[{"id":1695,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/posts\/1495\/revisions\/1695"}],"wp:attachment":[{"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/media?parent=1495"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/categories?post=1495"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devco.net\/wp-json\/wp\/v2\/tags?post=1495"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}