Search
Jason Rahm - Jason's Blog
You are here: DevCentral > Weblogs

posted on Wednesday, January 21, 2009 2:37 PM

Every now and then someone pushes out a utility that just makes you yell "YES, that's exactly what I never knew I always wanted."  BCV, or BigIP Config Visualizer, is one of those utilities.  You supply a bigip.conf file, and BCV presents you with an image file for every virtual server defined in the config.  Your images can be exported in jpg, png, or svg format.  Exporting via svg gives you the ability to open (and edit) the image in Visio, which is pretty handy.  Here's a snapshot of a lab vip:

DC_VIP

F5er Micheal Thompson cranked this out in a weekend and is releasing it to the DevCentral community for further work.  So, community, tip your hats to Micheal and see what amazing things you can do to expand this excellent contribution.

 

Follow me on Twitter Follow me on LinkedIn Follow me on Facebook

Technorati Tags: ,,,


Feedback

1/22/2009 3:08 PM
Gravatar This is a very cool tool. I can't wait to dig into it further.
Steve Brown
3/14/2009 7:08 PM
Gravatar They are right. It's so cool I have no clue how I can benefit from it.
Chetan Bhatt
4/1/2009 9:31 PM
Gravatar I can see it reading the config, I get blank files, 0 size, named my IP's. While its running I see

Use of uninitialized value $pool in hash element at C:/Perl/site/lib/BigIP/Parse
Config.pm line 74.

(dot.EXE:4848): Pango-WARNING **: couldn't load font "Times Roman Not-Rotated 14
", falling back to "Sans Not-Rotated 14", expect ugly output.
Rugger
4/2/2009 7:49 AM
Gravatar The blank file sizes are because of the Pango Warning. Look at this thread.

https://mailman.research.att.com/pipermail/graphviz-devel/2007/000326.html

Did you use the BigIP Parser that was included in the package?

Use of uninitialized value $pool in hash element at C:/Perl/site/lib/BigIP/Parse
Config.pm line 74.

Can you show us what your configuration file looks like?

What version of code?


Jackofalltrades
4/2/2009 9:21 AM
Gravatar I did use the parser that was in the package, everything with the parser appeared to get done OK.

I have to scrub the conf first then I can post

code version is 4.x
rugger
4/2/2009 12:29 PM
Gravatar The 4.x version of cod is not supported. There is a different format for 4.x configs verse 9.x
JackofAllTrades
5/27/2009 5:29 AM
Gravatar Has anyone else run in to issues with this script?

I'm able to run it and get output (with errors):

could not parse at C:\Perl\bin\bcv.pl line 491
Use of uninitialized value in numeric gt (>) at C:/Perl/site/lib/Net/Netmask.pm line 562.
Use of uninitialized value in string comparison (cmp) at C:/Perl/site/lib/GraphViz.pm line 1083.
Use of uninitialized value in hash element at C:/Perl/site/lib/GraphViz.pm line 1088.
Use of uninitialized value $from in exists at C:/Perl/site/lib/GraphViz.pm line 752.
(dot.EXE:6892): Pango-WARNING **: couldn't load font "Times Roman Not-Rotated 14", falling back to "Sans Not-Rotated 14", expect ugly output.

However the drawings are there, yet upon inspection I find the loadbalanced IP (in the diamond box) is incorrect and has been picked up from a different VS and the port info in the diamond dotted box on the left is always any.

Does anyone know if a different thread is running on this script as its really would be useful to get this running as its the type of thing my manager and above like to have. I'm running BIG-IP 9.3.0 Build 178.5





Watcher60
5/27/2009 8:41 AM
Gravatar Just as a further update I tried running a different config through the script from a ltm running BIG-IP 9.4.5 Build 1049.10 Final which worked with all the correct info and only threw one error so I presume there is either something different on the config format between 9.3.0 code and 9.4.5, or some characters in the config is cauing the script to error

thanks
Watcher60
4/29/2009 4:56 PM
Gravatar has anyone made improvements on this project?
Tommy P
9/26/2009 5:57 PM
Gravatar O/S: Windows 32

This is resolved by ugrading to GraphViz 2.24 or the development version 2.25.

See --> http://www.graphviz.org/Download.php



ocnsinc
4/29/2010 4:44 PM
Gravatar Great little tool - worked fine for me once I got nmake to work right...

Blake
5/18/2010 5:19 AM
Gravatar You might be interested in this Visio addin to layout diagrams with Graphviz:
http://www.calvert.ch/graphvizio/
Best regards,
Maurice Calvert
Maurice Calvert
12/21/2010 10:05 PM
Gravatar Check the iControl forum. I re-wrote the script to use iControl SOAP calls and solved several outstanding bugs. Now I'm looking at enhancing it so you can customize the output a bit more. BTW, Maurice, I've used your plugin and it works well except the settings pop-up is garbled with Visio 2007 and Windows 7.
Russell

Let Me Know What You Think


Please use the form below if you have any comments, questions, or suggestions.

Title:
 
Name:
 
Email: (so we can show your gravatar)
Website:
Comment: Allowed tags: blockquote, a, strong, em, p, u, strike, super, sub, code
 
Please add 3 and 7 and type the answer here:

Blog Stats

Posts:86
Comments:108
Stories:0
Trackbacks:0
  

82,243 Members in 102 Countries and Growing!

Join DevCentral Today!

About DevCentral

DevCentral has been a successful, thriving community for many years. We have always strived to bring you the best technical documentation, discussion forums, blogs, media and much more that we can.

So dive in, get familiar with DevCentral. We hope you like it, we hope it makes your job easier, and lets you get that much more power out of the community. To learn more, make sure to check out the Getting Started section. And if you have any problems, or think something could be easier to use, drop us a line to let us know.

Got It !

We've received your comment and transmitted it directly to DevCentral HQ.

Thanks for taking time to let us know what's on your mind. At DevCentral | Community Matters!

Get In Touch With Us

Have questions, suggestions or just want to get something off your chest?

Use our handy form below to Direct Connect with DevCentral Mission Control.

Send Us Feedback       or