def add_prop_for_http_profile(self, profile_name, avi_config, sysdict, prop_dict):
    '\n        This method adds the additional attribute to application profile\n        :param profile_name: name of application profile\n        :param avi_config: avi config dict\n        :param sysdict: system/baseline config dict\n        :param prop_dict: property dict\n        :return:\n        '
    profile = [p for p in (avi_config['ApplicationProfile'] + sysdict['ApplicationProfile']) if (p['name'] == profile_name)]
    if profile:
        if prop_dict.get('clttimeout'):
            profile[0]['client_header_timeout'] = int(prop_dict['clttimeout'])
            profile[0]['client_body_timeout'] = int(prop_dict['clttimeout'])
        if prop_dict.get('xff_enabled'):
            if profile[0].get('http_profile'):
                profile[0]['http_profile'].update({'xff_enabled': True, 'xff_alternate_name': 'X-Forwarded-For'})
            else:
                profile[0].update({'http_profile': {'xff_enabled': True, 'xff_alternate_name': 'X-Forwarded-For'}})
        if profile[0].get('http_profile'):
            profile[0]['http_profile'].update({'x_forwarded_proto_enabled': True, 'hsts_enabled': True, 'http_to_https': True, 'httponly_enabled': True, 'hsts_max_age': 365, 'server_side_redirect_to_https': True, 'secure_cookie_enabled': True})
        else:
            profile[0].update({'http_profile': {'x_forwarded_proto_enabled': True, 'hsts_enabled': True, 'http_to_https': True, 'httponly_enabled': True, 'hsts_max_age': 365, 'server_side_redirect_to_https': True, 'secure_cookie_enabled': True}})
This method adds the additional attribute to application profile
:param profile_name: name of application profile
:param avi_config: avi config dict
:param sysdict: system/baseline config dict
:param prop_dict: property dict
:return:
def add_prop_for_http_profile(self, profile_name, avi_config, sysdict, prop_dict):
    '\n        This method adds the additional attribute to application profile\n        :param profile_name: name of application profile\n        :param avi_config: avi config dict\n        :param sysdict: system/baseline config dict\n        :param prop_dict: property dict\n        :return:\n        '
    profile = [p for p in (avi_config['ApplicationProfile'] + sysdict['ApplicationProfile']) if (p['name'] == profile_name)]
    if profile:
        if prop_dict.get('clttimeout'):
            profile[0]['client_header_timeout'] = int(prop_dict['clttimeout'])
            profile[0]['client_body_timeout'] = int(prop_dict['clttimeout'])
        if prop_dict.get('xff_enabled'):
            if profile[0].get('http_profile'):
                profile[0]['http_profile'].update({'xff_enabled': True, 'xff_alternate_name': 'X-Forwarded-For'})
            else:
                profile[0].update({'http_profile': {'xff_enabled': True, 'xff_alternate_name': 'X-Forwarded-For'}})
        if profile[0].get('http_profile'):
            profile[0]['http_profile'].update({'x_forwarded_proto_enabled': True, 'hsts_enabled': True, 'http_to_https': True, 'httponly_enabled': True, 'hsts_max_age': 365, 'server_side_redirect_to_https': True, 'secure_cookie_enabled': True})
        else:
            profile[0].update({'http_profile': {'x_forwarded_proto_enabled': True, 'hsts_enabled': True, 'http_to_https': True, 'httponly_enabled': True, 'hsts_max_age': 365, 'server_side_redirect_to_https': True, 'secure_cookie_enabled': True}})