Forum Discussion
Justin_Kitagawa
Nimbostratus
Sep 19, 2007Creating a VLAN puts F5 into INOPERATIVE mode
Hi.
We are using the Java iControl SOAP API to create a VLAN. Below is a code snippet of what we are trying to do:
networkingVLANBindingStub = (NetworkingVLANBindingStub)new NetworkingVLANLocator().getNetworkingVLANPort(url);
networkingVLANBindingStub.setTimeout(60000);
String[] vLanName = {"Vlan"+vlanTag};
long [] vLanId = {vlanTag};// tag
long [] time = {5};// ???
String [] mac = {"00:00:00:00:00:00"};
CommonEnabledState[] commonEnabledState = {CommonEnabledState.STATE_ENABLED};
NetworkingVLANMemberEntry member = new NetworkingVLANMemberEntry();
member.setMember_name(memberName);
member.setMember_type(NetworkingMemberType.MEMBER_INTERFACE);
member.setTag_state(NetworkingMemberTagType.MEMBER_TAGGED);
NetworkingVLANMemberEntry[][] networkingVLANMembers = {{member}};
networkingVLANBindingStub.create(vLanName,vLanId,networkingVLANMembers,commonEnabledState,time,mac);
The API returns OK without exceptions. We can see the VLAN in the BigIP admin UI, but in a connected ssh terminal we see
[root@company:INOPERATIVE] user1
What can be the problem? This is a very serious issue that is keeping us from moving forward.
Justin
- It looks as if you are using the API correctly if the VLAN is created. As to why it's causing an INOPERATIVE state, is likely due to the fact on the parameters you've passed in. You are putting "5" in for the failsafe_timeout. The default value in the GUI is 90 seconds. You might want to bump that up a bit. The other thing that sticks out is the MAC Masquerade address you are passing in of 00:00:00:00:00:00:00:00. Not sure if that is valid for a shared MAC address.
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects