Deployer corba and autoconnect behaviour.

If i use the deployer with this xml :

    <!-- Camera -->
    <struct name="Camera" type="Video::Camera">
        <!-- Activity -->
        <struct name="Activity" type="PeriodicActivity">
            <simple name="Period" type="double"><value>5</value></simple>
            <simple name="Priority" type="short"><value>0</value></simple>
        </struct>
        <!-- Configure and Start and Connect -->
        <simple name="AutoConf" type="boolean"><value>1</value></simple>
        <simple name="AutoConnect" type="boolean"><value>1</value></simple>
        <simple name="AutoStart" type="boolean"><value>1</value></simple>
        </struct>
 
    <!-- Reporter -->
    <struct name="Reporter" type="Video::ImageReporter">
        <!-- Connect to Peers -->
        <struct name="Peers" type="PropertyBag">
            <simple type="string"><value>Camera</value></simple>
        </struct>
        <!-- Configure and Connect Ports -->
        <simple name="AutoConf" type="boolean"><value>1</value></simple>
        <simple name="AutoConnect" type="boolean"><value>1</value></simple>
        <simple name="AutoStart" type="boolean"><value>0</value></simple>
    </struct>

The connections are done automagicaly.

But if if divide this xml in two for deploying over two machines, i had to give ports to connect.

    <!-- Camera -->
    <struct name="Camera" type="Video::Camera">
        <simple name="Server" type="boolean"><value>1</value></simple>
        <!-- Activity -->
        <struct name="Activity" type="PeriodicActivity">
            <simple name="Period" type="double"><value>4</value></simple>
            <simple name="Priority" type="short"><value>0</value></simple>
        </struct>
        <!-- Configure and Start and Connect -->
        <simple name="AutoConf" type="boolean"><value>1</value></simple>
        <simple name="AutoConnect" type="boolean"><value>1</value></simple>
        <simple name="AutoStart" type="boolean"><value>1</value></simple>
    </struct>

    <!-- Camera -->
    <struct name="Camera" type="CORBA">
        <!--                                              Give ports -->
        <struct name="Ports" type="PropertyBag">
                  <simple name="image" type="string"><value>img</value></simple>
                </struct>
        </struct>
 
    <!-- Reporter -->
    <struct name="Reporter" type="Video::ImageReporter">
        <!-- Connect to Peers -->
        <struct name="Peers" type="PropertyBag">
            <simple type="string"><value>Camera</value></simple>
        </struct>
        <!--                                              Give ports -->
        <struct name="Ports" type="PropertyBag">
            <simple name="image" type="string"><value>img</value></simple>
                </struct>
        <!-- Activity :  because events don t work over corba -->
        <struct name="Activity" type="PeriodicActivity">
            <simple name="Period" type="double"><value>4</value></simple>
            <simple name="Priority" type="short"><value>0</value></simple>
        </struct>
        <!-- Configure and Connect Ports -->
        <simple name="AutoConf" type="boolean"><value>1</value></simple>
        <simple name="AutoConnect" type="boolean"><value>1</value></simple>
        <simple name="AutoStart" type="boolean"><value>0</value></simple>
    </struct>

Is it a feature ?

Thanks for your help.

Paul.

Deployer corba and autoconnect behaviour.

If i use the deployer with this xml :
&#10;   &lt;!-- Camera --&gt;&#10;      &lt;struct name=&quot;Camera&quot; type=&quot;Video::Camera&quot;&gt;&#10;              &lt;!-- Activity --&gt;&#10;            &lt;struct name=&quot;Activity&quot; type=&quot;PeriodicActivity&quot;&gt;&#10;                 &lt;simple name=&quot;Period&quot; type=&quot;double&quot;&gt;&lt;value&gt;5&lt;/value&gt;&lt;/simple&gt;&#10;                  &lt;simple name=&quot;Priority&quot; type=&quot;short&quot;&gt;&lt;value&gt;0&lt;/value&gt;&lt;/simple&gt;&#10;         &lt;/struct&gt;&#10;            &lt;!-- Configure and Start and Connect --&gt;&#10;             &lt;simple name=&quot;AutoConf&quot; type=&quot;boolean&quot;&gt;&lt;value&gt;1&lt;/value&gt;&lt;/simple&gt;&#10;               &lt;simple name=&quot;AutoConnect&quot; type=&quot;boolean&quot;&gt;&lt;value&gt;1&lt;/value&gt;&lt;/simple&gt;&#10;            &lt;simple name=&quot;AutoStart&quot; type=&quot;boolean&quot;&gt;&lt;value&gt;1&lt;/value&gt;&lt;/simple&gt;&#10;        &lt;/struct&gt;&#10;  &#10;   &lt;!-- Reporter --&gt;&#10;    &lt;struct name=&quot;Reporter&quot; type=&quot;Video::ImageReporter&quot;&gt;&#10;             &lt;!-- Connect to Peers --&gt;&#10;            &lt;struct name=&quot;Peers&quot; type=&quot;PropertyBag&quot;&gt;&#10;                 &lt;simple type=&quot;string&quot;&gt;&lt;value&gt;Camera&lt;/value&gt;&lt;/simple&gt;&#10;             &lt;/struct&gt;&#10;            &lt;!-- Configure and Connect Ports --&gt;&#10;         &lt;simple name=&quot;AutoConf&quot; type=&quot;boolean&quot;&gt;&lt;value&gt;1&lt;/value&gt;&lt;/simple&gt;&#10;               &lt;simple name=&quot;AutoConnect&quot; type=&quot;boolean&quot;&gt;&lt;value&gt;1&lt;/value&gt;&lt;/simple&gt;&#10;            &lt;simple name=&quot;AutoStart&quot; type=&quot;boolean&quot;&gt;&lt;value&gt;0&lt;/value&gt;&lt;/simple&gt;&#10;      &lt;/struct&gt;&#10;

The connections are done automagicaly.

But if if divide this xml in two for deploying over two machines, i had to give ports to connect.

&#10;   &lt;!-- Camera --&gt;&#10;      &lt;struct name=&quot;Camera&quot; type=&quot;Video::Camera&quot;&gt;&#10;              &lt;simple name=&quot;Server&quot; type=&quot;boolean&quot;&gt;&lt;value&gt;1&lt;/value&gt;&lt;/simple&gt;&#10;         &lt;!-- Activity --&gt;&#10;            &lt;struct name=&quot;Activity&quot; type=&quot;PeriodicActivity&quot;&gt;&#10;                 &lt;simple name=&quot;Period&quot; type=&quot;double&quot;&gt;&lt;value&gt;4&lt;/value&gt;&lt;/simple&gt;&#10;                  &lt;simple name=&quot;Priority&quot; type=&quot;short&quot;&gt;&lt;value&gt;0&lt;/value&gt;&lt;/simple&gt;&#10;         &lt;/struct&gt;&#10;            &lt;!-- Configure and Start and Connect --&gt;&#10;             &lt;simple name=&quot;AutoConf&quot; type=&quot;boolean&quot;&gt;&lt;value&gt;1&lt;/value&gt;&lt;/simple&gt;&#10;               &lt;simple name=&quot;AutoConnect&quot; type=&quot;boolean&quot;&gt;&lt;value&gt;1&lt;/value&gt;&lt;/simple&gt;&#10;            &lt;simple name=&quot;AutoStart&quot; type=&quot;boolean&quot;&gt;&lt;value&gt;1&lt;/value&gt;&lt;/simple&gt;&#10;      &lt;/struct&gt;&#10;

&#10;   &lt;!-- Camera --&gt;&#10;      &lt;struct name=&quot;Camera&quot; type=&quot;CORBA&quot;&gt;&#10;              &lt;!--                                              Give ports --&gt;&#10;             &lt;struct name=&quot;Ports&quot; type=&quot;PropertyBag&quot;&gt;&#10;                  &lt;simple name=&quot;image&quot; type=&quot;string&quot;&gt;&lt;value&gt;img&lt;/value&gt;&lt;/simple&gt;&#10;                &lt;/struct&gt;&#10;        &lt;/struct&gt;&#10;        &#10;   &lt;!-- Reporter --&gt;&#10;    &lt;struct name=&quot;Reporter&quot; type=&quot;Video::ImageReporter&quot;&gt;&#10;             &lt;!-- Connect to Peers --&gt;&#10;            &lt;struct name=&quot;Peers&quot; type=&quot;PropertyBag&quot;&gt;&#10;                 &lt;simple type=&quot;string&quot;&gt;&lt;value&gt;Camera&lt;/value&gt;&lt;/simple&gt;&#10;             &lt;/struct&gt;&#10;            &lt;!--                                              Give ports --&gt;&#10;             &lt;struct name=&quot;Ports&quot; type=&quot;PropertyBag&quot;&gt;&#10;                 &lt;simple name=&quot;image&quot; type=&quot;string&quot;&gt;&lt;value&gt;img&lt;/value&gt;&lt;/simple&gt;&#10;                &lt;/struct&gt;&#10;             &lt;!-- Activity :  because events don t work over corba --&gt;&#10;            &lt;struct name=&quot;Activity&quot; type=&quot;PeriodicActivity&quot;&gt;&#10;                 &lt;simple name=&quot;Period&quot; type=&quot;double&quot;&gt;&lt;value&gt;4&lt;/value&gt;&lt;/simple&gt;&#10;                  &lt;simple name=&quot;Priority&quot; type=&quot;short&quot;&gt;&lt;value&gt;0&lt;/value&gt;&lt;/simple&gt;&#10;         &lt;/struct&gt;&#10;            &lt;!-- Configure and Connect Ports --&gt;&#10;         &lt;simple name=&quot;AutoConf&quot; type=&quot;boolean&quot;&gt;&lt;value&gt;1&lt;/value&gt;&lt;/simple&gt;&#10;               &lt;simple name=&quot;AutoConnect&quot; type=&quot;boolean&quot;&gt;&lt;value&gt;1&lt;/value&gt;&lt;/simple&gt;&#10;            &lt;simple name=&quot;AutoStart&quot; type=&quot;boolean&quot;&gt;&lt;value&gt;0&lt;/value&gt;&lt;/simple&gt;&#10;      &lt;/struct&gt;&#10;&#10;

Is it a feature ?

Thanks for your help.

Paul.