Forum Discussion
Networking::RouteDomainV2 problem within Transaction
I wrote following code with iControl SDK for Java.
final Interfaces interfaces = new Interfaces(host, 443L, user, password);
final SystemSessionBindingStub systemSession = interfaces.getSystemSession();
systemSession.set_session_timeout(300);
systemSession.set_transaction_timeout(300);
final long sessionId = systemSession.get_session_identifier();
systemSession.setHeader("urn:iControl", "session", Long.toString(sessionId));
systemSession.start_transaction();
final NetworkingRouteDomainV2BindingStub routeDomainV2 =
interfaces.getNetworkingRouteDomainV2();
routeDomainV2.setHeader("urn:iControl", "session", Long.toString(sessionId));
routeDomainV2.create(
new String[]{"MyRouteDomain"},
new long[]{Long.valueOf(vlanId)},
new String[][]{{vlanName}}
);
routeDomainV2.set_parent(
new String[]{"MyRouteDomain"},
new String[]{"0"}
);
systemSession.submit_transaction();This code throws exception at submit_transaction().
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 /Common/MyRouteDomain is non-numeric, so an ID must be specified.But,Similar code has worked If you do not use the transaction .
I think, this problem comes up when use the Networking::RouteDomainV2.create() and .set_parent() together in a transaction .
In addition , it will seem to be a similar problem in the case of Networking::RouteDomainV2.create() and .set_description() .
2 Replies
- uchi_122495
Cirrus
Hi keisuke, I had a same problem and asked technical support. They said it's a bug and will be fixed on v12.x.
ID 520604 :Creating and modifying route domain fails in transaction.
- Keisuke_HANAMUR
Nimbostratus
Hi uchi. Thanks for answer.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com