Skip to content

Developer: xmpp api

primalmotion edited this page Dec 12, 2011 · 7 revisions

Introduction

This page will describe the XMPP API used by Archipel. This API is the only way to communicate with agents. The Archipel Client is using this exact API. You can use it to develop your own client, or to be able to send stanza using the tool archipel-command. This document will describe all available command, module by module.

XMPP API

Archipel Core

Archipel core is implemented by every Archipel entity, hypervisors or virtual machines.

Commands

add

Ask the entity to ask for subscribtion to the given user

  • Query namespace: archipel:subscription
  • Parameters:
name possible values description
jid valid JID the bare JID to add
  • Example:
<iq to='hypervisor@fqdn/host' type=get>
    <query xmlns='archipel:subscription'>
        <archipel action='add' jid='user@fqdn' />
     </query>
</iq>
Clone this wiki locally