Forum Discussion

vytbr222's avatar
vytbr222
Icon for Nimbostratus rankNimbostratus
Nov 17, 2023

F5 AS3 set ProfileHTTP on Service_L4

Hi all,

  as per https://my.f5.com/manage/s/article/K16446 - Big-IP supports setting a HTTP Profile on a Performance L4 service type.

  Putting aside all the "why would anyone use this combo", I need to replicate this kind of configuration using AS3, but looking at the AS3 schema reference for Service_L4 - there seems to be no profileHTTP property available. I was wondering was it deliberate and what are the reasons for that?

  Is there another way of implementing the Service of type performance_L4 with HTTP profile associated using AS3?

thanks,

Vytautas

2 Replies

  • Hi F5_Design_Engineer

    thanks for such a quick response.

    I am in fact talking about an layer 4 service and I am trying to associate a "http" profile with it. To give you an example, I'm trying to form an AS3 declaration, which would translate into the following CLI config snippet:

    ltm virtual /Common/Shared/vip_1 {
    ...
      profiles {
        /Common/fastL4 { }
        /Common/http { }
      }
    }

    Note I need both "http" and "fastL4" profiles associated with the service.

    In order to attach the "fastL4" profile, I need to use the service of class "Service_L4", but in that case it does not accept the profileHTTP property.

    If I were to use a "Service_HTTP" instead, I'd be able to use the profileHTTP, but in that case I'd not be able to associate the "fastL4" profile, would I?

    Hopefully this clarifies the issue I'm having.

    thanks,

    Vytautas