NAME

  DeleteLastRemainAddress.seq - ASCONF chunk is received with Delete IP Address to delete last remaining IP address from an association


PURPOSE

  To check if ASCONF chunk is received to delete the last remaining IP
  address of a peer endpoint, the receiver MUST send an Error Cause
  TLV with the error cause set to the new error code 'Request to
  Delete Last Remaining IP Address'.


SYNOPSIS

  ./DeleteLastRemainAddress.seq [-tooloption ...] -pkt ./DeleteLastRemainAddress.def
    -tooloption : v6eval tool option
  See Also: ../common/STD_PKT_COMMON.def
            ../common/SCTP_COMMON.def


PRE-TEST CONDITION

  Association is established between endpoint A and B. Arrange ASCONF
  in endpoint A such that ASCONF chunk with delete last remaining IP
  address parameter is sent to endpoint B.


TEST PROCEDURE

  Endpoint A                           Endpoint B                ULP
  (ESTABLISHED)                        (ESTABLISHED)
  ASCONF          ---------------->
  (Delete last remaining IP address)
                  <-----------------     ASCONF-ACK
                                         (Delete Last Remaining IP Address Error)
  TEST DESCRIPTION:
  1. Send ASCONF chunk from endpoint A to B with delete last remaining IP
     address parameter.
  2. Check A: ASCONF-ACK with delete last remaining IP address error should
     be received at endpoint A.


NOTE

  None


REFERENCE

  RFC 5061
  5.3.  General Rules for Address Manipulation
    When building TLV parameters for the ASCONF Chunk that will add or
    delete IP addresses, the following rules MUST be applied:
    F7)  If a request is received to delete the last remaining IP address
         of a peer endpoint, the receiver MUST send an Error Cause TLV
         with the Error Cause set to the new error code 'Request to
         Delete Last Remaining IP Address'.  The requested delete MUST
         NOT be performed or acted upon, other than to send the ASCONF-
         ACK.