Forum Discussion

Jason_Keating's avatar
Jason_Keating
Icon for Altostratus rankAltostratus
Aug 18, 2009

Graphing bigip.conf

Hi,

In the same fashion as Michael Thompson's work on config graphs (see link at bottom of post)I am parsing bigip.conf to n-triples for use in RDF browsers etc (ie. Gruff, Cytoscape etc)

I'm only parsing BIG-IP 9.4.3 Build 1.4 bigip.conf files so far, and since we have not yet got around to upgrades I need bigip.conf files from BIG-IP versions > 9.4.3

I'd be very thankful if someone was able to supply some for me to parse, any and all would be greatly appreciated as I'd like support as many versions as possible.

I'll also publish the result here, once it's relatively complete, atm I am only parsing out virtual servers, destinations, pools and members as this is the information I'm first interested in - but each time I render a graph I see more possibilities so it's growing pretty quick.

I also plan to integrate with AllegroGraph.

Any help would be greatly appreciated.

Thanks

J

http://devcentral.f5.com/weblogs/jason/archive/2009/01/21/me-caveman-need-picture-bigip-config-visualizer.aspx

2 Replies

  • The virtual server definition format hasn't changed too much between any version of 9.x or 10.x, so you shouldn't have to handle too many different cases. You might have to read through the matching close brace of a VIP in 10.x as there are nested curly braces within the definition:

     
     9.4.5: 
      
     virtual example_http_vs { 
        snat automap 
        pool example_http_pool 
        destination 1.1.1.1:http 
        ip protocol tcp 
        profiles 
           http 
           tcp-lan-optimized 
     } 
      
     10.0.1 
      
     virtual example_http_vs { 
        snat automap 
        pool example_http_pool 
        destination 1.1.1.1:443 
        ip protocol 6 
        profiles { 
           http {} 
           server.example.com_clientssl { 
              clientside 
           } 
           tcp {} 
        } 
     } 
     

    Aaron