diff options
| author | Gordon Sim <gsim@apache.org> | 2013-03-14 19:36:26 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2013-03-14 19:36:26 +0000 |
| commit | a75b77e30824dced388cb30011c7b82b77063831 (patch) | |
| tree | 0fb48062f982270e5f0ca0cb4cf000ca2d397418 /tools | |
| parent | 377171431ec9232da0c17af2087d205d443cd0d2 (diff) | |
| download | qpid-python-a75b77e30824dced388cb30011c7b82b77063831.tar.gz | |
QPID-4586: add ability to have qpidd establish outgoing connections
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1456621 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/src/py/qpidtoollibs/broker.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/src/py/qpidtoollibs/broker.py b/tools/src/py/qpidtoollibs/broker.py index d8b75c3c60..41fea74414 100644 --- a/tools/src/py/qpidtoollibs/broker.py +++ b/tools/src/py/qpidtoollibs/broker.py @@ -292,9 +292,13 @@ class BrokerAgent(object): 'routingKey': key} return self._method('LookupPublish', args, "org.apache.qpid.acl:acl:org.apache.qpid.broker:broker:amqp-broker") - def create(self, _type, name, properties, strict): + def create(self, _type, name, properties={}, strict=False): """Create an object of the specified type""" - pass + args = {'type': _type, + 'name': name, + 'properties': properties, + 'strict': strict} + return self._method('create', args) def delete(self, _type, name, options): """Delete an object of the specified type""" |
