Add Network Connection To Persona operation


The Add Network Connection To Persona operation creates and adds a new network connection to an existing persona.

The following table describes the <items> XML and request elements for the Add Network Connection To Persona operation.

Adapter request elements for the Add Network Connection To Persona operation

The following figure illustrates a sample adapter request for the Add Network Connection To Persona operation:

Sample adapter request for the Add Network Connection To Persona operation

<dell-aim-request>
   <operation-name>add-network-connection-to-persona</operation-name>
   <arguments>
     <targets>
       <target>
         <host>scalent-controller</host>
         <user-name>username</user-name>
         <password encryption-type="Base64">cGFzc3dvcmQ=</password>
         <protocol>https</protocol>
         <port>443</port>
         <use-ssl-certificate>true</use-ssl-certificate>
         <allow-unsigned-certificate>true</allow-unsigned-certificate>
         <install-certificate>true</install-certificate>
         <passphrase>changeit</passphrase>
       </target>
     </targets>
     <target>config1</target>
     <persona-id>PI_WEBSTORE_APACHE.5.0</persona-id>
     <network-connection>
       <ip-assignment-type>dhcp</ip-assignment-type>
       <register-with-dns>default</register-with-dns>
       <netbios-over-tcp>default</netbios-over-tcp>
       <id>TEST NETWORK CONNECTION 1_2</id>
       <name>TEST_NETWORK102</name>
       <description />
       <primary-channel>1</primary-channel>
         <secondary-channel>2</secondary-channel>
         <wins-address>test</wins-address>
       <dhcp-hostname>Webstore Apache1</dhcp-hostname>
       <enabled>false</enabled>
       <network-id>VS_WEBSTORE_APACHE.1.0</network-id>
       <ip-addresses>
         <ip-address>
           <address>192.111.11.11</address>
           <subnet-mask>255.111.111.0</subnet-mask>
           <virtual>true</virtual>
         </ip-address>
       </ip-addresses>
     </network-connection>
   </arguments>
 </dell-aim-request>

The following figure illustrates the adapter response for the sample request:

Sample adapter response for the Add Network Connection To Persona operation

<dell-aim-response>
 <metadata>
   <status>success</status>
   <response-count>1</response-count>
 </metadata>
 <responses>
   <response>
     <metadata>
       <target>scalent-controller</target>
       <status>success</status>
       <count>1</count>
     </metadata>
     <output>
       <message>Network Connection with ID - "TEST NETWORK 
       CONNECTION 1_2" for Persona -"PI_WEBSTORE_APACHE.5.0" 
       created successfully.</message>
     </output>
   </response>
 </responses>
</dell-aim-response>

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*