Forum Discussion

Ram_Akuka_75050's avatar
Ram_Akuka_75050
Icon for Nimbostratus rankNimbostratus
Sep 30, 2013

Create New partition using Ruby Icontrol libary

Hi , I am trying to create new partition on my BigIP LTM using ruby script using this method https://devcentral.f5.com/wiki/iControl.Management__Partition__create_partition.ashx I tried few option to feed the get_partition method with the relevant information and they all seem to be failing - here is the output 1.9.3-p125 :023 > part={ "partition_name" => "test" , "description" => "test"} => {"partition_name"=>"test", "description"=>"test"} 1.9.3-p125 :024 > bigip['Management.Partition'].create_partition(part) SOAP::FaultError: Exception caught in Management::urn:iControl:Management/Partition::create_partition() Exception: Common::OperationFailed primary_error_code : 16908343 (0x01020037) secondary_error_code : 0 error_string : 01020037:3: The requested folder (/) already exists. from 1.9.3-p125 :025 > bigip['Management.Partition'].create_partition([part]) SOAP::FaultError: Exception caught in Management::urn:iControl:Management/Partition::create_partition() Exception: Common::OperationFailed primary_error_code : 16908342 (0x01020036) secondary_error_code : 0 error_string : 01020036:3: The requested folder (/test) was not found. from 1.9.3-p125 :026 > bigip['Management.Partition'].create_partition([[part]]) SOAP::FaultError: Exception caught in Management::urn:iControl:Management/Partition::create_partition() Exception: Common::OperationFailed primary_error_code : 16908343 (0x01020037) secondary_error_code : 0 error_string : 01020037:3: The requested folder (/) already exists. from 1.9.3-p125 :027 >

 

Is there any documentation I can that explains what is the expected input for each method (array,Hash array of array etc..) ? I experience the same difficulties when trying to add vlan and selfip and a documentation can be very helpful here,

 

Thanks In advance,

 

Ram

 

No RepliesBe the first to reply