Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 
Custom Alert Banner

How do I specify the equivalent of 0.0.0.0 from SOAP/perl?

Michel_van_der_
Nimbostratus
Nimbostratus
I want to do the equivalent of:

bigpipe virtual 0.0.0.0:0 use pool defaultRoutePool

I tried:
 
    $soapResponse = $soap->create_from_pool( 
    SOAP::Data->name(virtual_server => { address => '0.0.0.0', 
                                  port => '0' }), 
                          SOAP::Data->name(unit_id => 1), 
                          SOAP::Data->name(pool_name => 'defaultRoutePool'));

But I get "IP is not valid on network, address/mask do not conform to true IP"

Thoughts?
3 REPLIES 3

Joe_Pruitt
Cirrostratus
Cirrostratus
Is "defaultRoutePool" a default gateway pool? If you could post the configuration of "defaultRoutePool" (type, attributes, members, etc) we could try to recreate it. I've just tried this method and it works for me.

Michel_van_der_
Nimbostratus
Nimbostratus
I create it with:

 

bigpipe pool defaultRoutePool { \ 
     snat disable \ 
     nat disable \ 
     member 1.2.3.4:0 \ 
 }

 

And 1.2.3.4 (real address obscured for the innocent) is the default route for the

 

F5 device. Since it's supposed to work, I'll recheck my code (since I wasn't sure if

 

I was supposed to use zeroes, or some sort of -1, I figured I'd ask first...).

Joe_Pruitt
Cirrostratus
Cirrostratus
I just verified with our test group that you did indeed find a bug on the 4.2 product line (4.2.3 was tested). We've verified that this is fixed in version 4.5. I will submit a Change Request for this to be corrected in the next PTF.

 

 

-Joe