OVERVIEW INDEX DEPRECATED HELP CORRESPONDENCES | provided by TTworkbench

Modulepars Data Types Component Types Port Types Constants Templates Signatures Functions Altsteps Test cases

# Module SUPL_DHCP_DNS_Steps

Import Declarations:

- SUPL_CommonSteps
  all
- SUPL_Parameters
  all
- SUPL_ExternalSteps
  all
- SUPL_TypeDefinitions
  all
- SUPL_Configuration
  all
- LibCommon_DataStrings
  all

Groups:

- DHCP_DNS_Templates
- DHCP_DNS_Functions

Templates Summary
hr_DNS_Query_Header |
mr_DNS_A_Query |
mr_DNS_AAAA_Query |
mr_DNSMessage_any |

Functions Summary
ts_Build_DNS_A_Response |
ts_Build_DNS_AAAA_Response |
enable_DHCP_DNS_ServerSimulation |
DNS_ServerSimulation |

## Details

hr_DNS_Query_Header

    template DNS_Header hr_DNS_Query_Header := {
        id := ?,
        qr := '0'B,
        opcode := DNSOPCODE_QUERY_E,
        aa := ?,
        tc := ?,
        rd := ?,
        ra := ?,
        z := '000'B,
        rcode := ?,
        qdcount := ?,
        ancount := 0,
        nscount := 0,
        arcount := 0
    }

Declared in group DHCP_DNS_Templates

mr_DNS_A_Query

    template DNSMessage mr_DNS_A_Query(template charstring p_qDomainName) := {
        dnsHeader := hr_DNS_Query_Header,
        questions := {
            {p_qDomainName, DNSTYPE_A_E, DNSCLASS_IN_E}
        },
        answer := omit,
        authority := omit,
        additional := omit
    }

Declared in group DHCP_DNS_Templates
Returns: DNSMessage -
Parameters:

- p_qDomainName -

mr_DNS_AAAA_Query

    template DNSMessage mr_DNS_AAAA_Query (template charstring p_qDomainName) :=
    {
        dnsHeader := hr_DNS_Query_Header,
        questions :=   {{p_qDomainName, DNSTYPE_AAAA_E, DNSCLASS_IN_E}},
        answer := omit,
        authority := omit,
        additional := omit
    }

Declared in group DHCP_DNS_Templates
Returns: DNSMessage -
Parameters:

- p_qDomainName -

mr_DNSMessage_any

    template DNSMessage mr_DNSMessage_any := {
        dnsHeader := ?,
        questions :=  *,
        answer := *,
        authority := *,
        additional := *
    }

Declared in group DHCP_DNS_Templates

ts_Build_DNS_A_Response

    function ts_Build_DNS_A_Response(
        in DNSMessage v_DNS_A_Query,
        out DNSMessage v_DNS_A_Response)

Declared in group DHCP_DNS_Functions
Returns: void -
Parameters:

- v_DNS_A_Query -
- v_DNS_A_Response -

ts_Build_DNS_AAAA_Response

    function ts_Build_DNS_AAAA_Response (
                      in  DNSMessage  v_DNS_AAAA_Query,
                      in charstring p_H_SLP_IPAddr, in charstring p_H_SLP_DomainName,
                      out DNSMessage  v_DNS_AAAA_Response )

Declared in group DHCP_DNS_Functions
Returns: void -
Parameters:

- v_DNS_AAAA_Query -
- p_H_SLP_IPAddr -
- p_H_SLP_DomainName -
- v_DNS_AAAA_Response -

enable_DHCP_DNS_ServerSimulation

    function enable_DHCP_DNS_ServerSimulation() runs on SUPLComponent

Declared in group DHCP_DNS_Functions
Runs On: SUPLComponent
Returns: void -

DNS_ServerSimulation

    function DNS_ServerSimulation() runs on DNSServerSimulation

Declared in group DHCP_DNS_Functions
Runs On: DNSServerSimulation
Returns: void -

© Copyright Testing Technologies IST GmbH 2012