epacke / BigIPReport

Overview of your loadbalancer configuration
https://loadbalancing.se
8 stars 2 forks source link

Identify Layer 4 VIPs #82

Closed timriker closed 6 years ago

timriker commented 6 years ago

I'm trying to find a way to identify our layer 4 vips. These show as "Performance (Layer 4)" on the VirtualServer list in the F5 UI. I have not found an iControl report that shows the version. We'd like to be able to limit the report view to layer 4 for reporting purposes, but I've not found a way to do that yet.

epacke commented 6 years ago

Are you looking for a column with the VIP type? There was another guy on DC asking for this recently.

timriker commented 6 years ago

A searchable column would be great. SSL Profile should probably be renamed TLS Profile. It might be worth calling it "Profile" and having possible values "clear", "TLS", and "Layer 4" instead of adding a new "Layer" column? Just a thought. Have you found a way to identify layer 4 VIPs over iControl? I have not yet.

MikeyPerez commented 6 years ago

Hello Fellas,

I have recently deployed bigipreport in our environment and have been actively trying to get the most out of it as we are going through a data center migration. Have only recently attempted to make changes to fit our needs. I have many years in infrastructure support and very little scripting and coding experience. Tim I may be able to help as I too needed an indicator for Layer 4 vs Layer 7. I basically replaced the Compression Profile string and replaced with HTTP Profile. It now shows in the Column with a Yes or No and within the details of the Virtual Server spells out which HTTP Profile is in use.

In addition, to touch on SSL, I found that the ServerSSL row within the Virtual Server details was just populating what was the ClientSSL profile. However in the code the string was only looking for sslprofile. I have since broke them out into two different strings and are now clientsslprofile and serversslprofile which is a proper indicator for a Virtual Server config that is port 443 or 80 to the back end pool members.

This is my fist time on GitHub and already see its community. So I really dont know how to contribute. Any pointers will help tremendously.

BigIP Report has struck my interest in many ways and looking forward to contributing.

Thanks, Mike

timriker commented 6 years ago

get_profile() returns:

        profile_type          profile_context profile_name  
        ------------          --------------- ------------  
PROFILE_TYPE_FAST_L4 PROFILE_CONTEXT_TYPE_ALL /Common/fastL4

on layer 4 vips.