<test-history test='VHost 7 (c2s)'>
<OUTPUT test='VHost 7 (c2s)'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'/>
</OUTPUT>
<INPUT test='VHost 7 (c2s)'>
<stream:stream xmlns="jabber:client" id="8b69bf51-0d16-4414-8866-fcb8632d930b" version="1.0" xml:lang="en" from="test-d" xmlns:stream="http://etherx.jabber.org/streams"/>
</INPUT>
<INPUT test='VHost 7 (c2s)'>
<stream:features><ver xmlns="urn:xmpp:features:rosterver"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism></mechanisms><register xmlns="http://jabber.org/features/iq-register"/><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><auth xmlns="http://jabber.org/features/iq-auth"/></stream:features>
</INPUT>
<OUTPUT test='VHost 7 (c2s)'>
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFkbWluAHN0YXRz</auth>
</OUTPUT>
<INPUT test='VHost 7 (c2s)'>
<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/>
</INPUT>
<OUTPUT test='VHost 7 (c2s)'>
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' to='test-d' version='1.0'>
</OUTPUT>
<INPUT test='VHost 7 (c2s)'>
<stream:stream xmlns="jabber:client" id="8b69bf51-0d16-4414-8866-fcb8632d930b" version="1.0" xml:lang="en" from="test-d" xmlns:stream="http://etherx.jabber.org/streams"/>
</INPUT>
<INPUT test='VHost 7 (c2s)'>
<stream:features><ver xmlns="urn:xmpp:features:rosterver"/><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/><register xmlns="http://jabber.org/features/iq-register"/><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/></stream:features>
</INPUT>
<OUTPUT test='VHost 7 (c2s)'>
<iq type='set' id='bind1'><bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'><resource>def-user-resource</resource></bind></iq>
</OUTPUT>
<INPUT test='VHost 7 (c2s)'>
<iq xmlns="jabber:client" type="result" id="bind1" to="admin@test-d/def-user-resource"><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"><jid>admin@test-d/def-user-resource</jid></bind></iq>
</INPUT>
<OUTPUT test='VHost 7 (c2s)'>
<iq type="set" id="aacaa" to="vhost-man@test-d">
<command xmlns="http://jabber.org/protocol/commands" node="comp-repo-item-add"/>
</iq>
</OUTPUT>
<INPUT test='VHost 7 (c2s)'>
<iq type="result" id="aacaa" to="admin@test-d/def-user-resource" from="vhost-man@test-d"><command xmlns="http://jabber.org/protocol/commands" status="executing" node="comp-repo-item-add"><x xmlns="jabber:x:data" type="form"><field var="Domain name"><value/></field><field type="boolean" var="Enabled"><value>true</value></field><field type="boolean" var="Anonymous enabled"><value>true</value></field><field type="boolean" var="In-band registration"><value>true</value></field><field type="boolean" var="TLS required"><value>false</value></field><field var="S2S secret"><value/></field><field label="Domain filter policy" type="list-single" var="Domain filter policy"><value>ALL</value><option label="ALL"><value>ALL</value></option><option label="LOCAL"><value>LOCAL</value></option><option label="OWN"><value>OWN</value></option><option label="BLOCK"><value>BLOCK</value></option><option label="LIST"><value>LIST</value></option></field><field var="Max users"><value>0</value></field><field var="Presence forward address"><value/></field><field var="Message forward address"><value/></field><field var="Other parameters"><value/></field><field var="Owner"><value>admin@test-d</value></field><field var="Administrators"><value/></field><field type="hidden" var="command-marker"><value>command-marker</value></field><field type="hidden" var="notify-cluster"><value>true</value></field></x><actions execute="complete"><complete/></actions></command></iq>
</INPUT>
<OUTPUT test='VHost 7 (c2s)'>
<iq type="set" id="aacba" to="vhost-man@test-d">
<command xmlns="http://jabber.org/protocol/commands" node="comp-repo-item-add">
<x xmlns="jabber:x:data" type="submit">
<field type="text-single" var="Domain name">
<value>vhost-1</value>
</field>
<field type="boolean" var="Enabled">
<value>1</value>
</field>
<field type="boolean" var="Anonymous enabled">
<value>1</value>
</field>
<field type="boolean" var="In-band registration">
<value>1</value>
</field>
<field type="text-single" var="Max users">
<value>0</value>
</field>
<field type="text-single" var="Other parameters">
<value/>
</field>
<field type="hidden" var="command-marker">
<value>command-marker</value>
</field>
</x>
</command></iq>
</OUTPUT>
<INPUT test='VHost 7 (c2s)'>
<iq type="result" id="aacba" to="admin@test-d/def-user-resource" from="vhost-man@test-d"><command xmlns="http://jabber.org/protocol/commands" status="completed" node="comp-repo-item-add"><x xmlns="jabber:x:data" type="result"><field type="fixed" var="Note"><value>Operation successful.</value></field></x></command></iq>
</INPUT>

</test-history>