uchi_122495
Apr 04, 2014Cirrus
Solved
Creating route domain and setting description in one transaction failed
I have a Java application that adds route domain to F5 and then update description to that route domain.
My current code is:
/** route domain config */
String[] rd_names = {"test_routedomain"};
String[] descriptions = {"hogehoge"};
long[] rd_ids = {777L};
String[][] rd_vlans = null;
ifs.getSystemSession().start_transaction();
ifs.getSystemSession().set_active_folder("/C8000");
ifs.getNetworkingRouteDomainV2().create(rd_names, rd_ids, rd_vlans);
ifs.getNetworkingRouteDomainV2().set_description(rd_names, descriptions);
ifs.getSystemSession().submit_transaction();
And I get this error:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
faultSubcode:
faultString: Exception caught in System::urn:iControl:System/Session::submit_transaction()
Exception: Common::OperationFailed
primary_error_code : 17237812 (0x01070734)
secondary_error_code : 0
error_string : 01070734:3: Configuration error: route-domain Name /C8000/test_routedomain is non-numeric, so an ID must be specified.
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:Exception caught in System::urn:iControl:System/Session::submit_transaction()
What am I doing wrong?
By the way, I comment out set_description line :
ifs.getSystemSession().start_transaction();
ifs.getSystemSession().set_active_folder("/C8000");
ifs.getNetworkingRouteDomainV2().create(rd_names, rd_ids, rd_vlans);
//ifs.getNetworkingRouteDomainV2().set_description(rd_names, descriptions);
ifs.getSystemSession().submit_transaction();
And it succeeded to create route domain.
My LTM is: BIGIP-11.4.1-HF2-635.8
It is bug(520604), and has been fixed on v12.0.0