ItsGeoNetworking_TestCases.ttcn 260 KB
Newer Older
            *          the IUT does not send a GeoNetworking packet
            *              containing a LS_REQUEST Extended Header
            *                  containing Request field
            *                      containing GN_ADDR
            *                          containing M_ID
            *          the IUT sends a GeoNetworking packet
            *              containing a correctly formatted Common Header
            *                  containing HT field
            *                      set to '2' (GEOUNICAST)
            *              containing GUC Extended Header
            *                  containing DEPV field
            *                      indicating same position as the SOPV of the MESSAGE received from NODE
            *      }
            *  }
            * </pre>
            *
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/PON/LOT/BV-03
            * @reference   EN 302 636-4-1 [1], clauses 9.3.8.4, 9.3.12.3, 9.3.9.3, 9.3.10.3, 9.3.7.3 and 9.3.8.2
            */
            testcase TC_GEONW_PON_LOT_BV_03_07() runs on ItsGeoNetworking system ItsGeoNetworkingSystem {
                
                f_GEONW_PON_LOT_BV_03_07();
                    
            } // end TC_GEONW_PON_LOT_BV_03_07
                
            /**
            * @desc    Check insertion of new entries into location table from extended header processing (e.g. GUC header)
            * <pre>
            * Pics Selection: PICS_GN_LS_REP_DST
            * Config Id: CF01
            * Initial conditions:
            *  with {
            *      the IUT being in the "initial state" and
            *      the IUT not having received any beacon from NODE
            *      the IUT having received a MESSAGE from originated by NODE
            *  }
            *  MESSAGE: LS Reply packet
            *
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT is requested to send a GUC packet to NODE
            *      }
            *      then {
            *          the IUT does not send a GeoNetworking packet
            *              containing a LS_REQUEST Extended Header
            *                  containing Request field
            *                      containing GN_ADDR
            *                          containing M_ID
            *          the IUT sends a GeoNetworking packet
            *              containing a correctly formatted Common Header
            *                  containing HT field
            *                      set to '2' (GEOUNICAST)
            *              containing GUC Extended Header
            *                  containing DEPV field
            *                      indicating same position as the SOPV of the MESSAGE received from NODE
            *      }
            *  }
            * </pre>
            *
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/PON/LOT/BV-03
            * @reference   EN 302 636-4-1 [1], clauses 9.3.8.4, 9.3.12.3, 9.3.9.3, 9.3.10.3, 9.3.7.3 and 9.3.8.2
            */
            testcase TC_GEONW_PON_LOT_BV_03_08() runs on ItsGeoNetworking system ItsGeoNetworkingSystem {
                
                f_GEONW_PON_LOT_BV_03_08();
                    
            } // end TC_GEONW_PON_LOT_BV_03_08
            * @desc    Check location table entry expiration
            * <pre>
            * Pics Selection: PICS_GN_LS_REQ_SRC
            * Config Id: CF01
            * Initial conditions:
            *  with {
            *      the IUT being in the "initial state" and
            *      the IUT having received Beacons information from ItsNodeB and
            *      the IUT not having received beacons from ItsNodeB for the duration of itsGnLifetimeLocTE parameter (20 sec)
            *  }
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT is requested to send a GUC packet to ItsNodeB
            *      }
            *      then {
            *          the IUT sends a GeoNetworking packet
            *              containing a LS_REQUEST
            *                  containing Request field
            *                      indicating GN_ADDR of ItsNodeB
            *      }
            *  }
            * </pre>
            *
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/PON/LOT/BV-04
            * @reference   EN 302 636-4-1 [1], clauses 7.1.3, 9.3.8.2, 9.3.7.1.2 and Annex G
            */
filatov's avatar
filatov committed
            testcase TC_GEONW_PON_LOT_BV_04() runs on ItsGeoNetworking system ItsGeoNetworkingSystem {
                
                f_GEONW_PON_LOT_BV_04();
filatov's avatar
filatov committed
                
            } // end TC_GEONW_PON_LOT_BV_04
            
            /**
            * @desc    Check update of entries in location table with most up-to-date position data extracted
            *          from common header processing (including timestamp comparison before updating)
            * <pre>
            * Pics Selection: PICS_GN_GUC_DST
            * Config Id: CF01
            * Initial conditions:
            *  with {
            *      the IUT being in the "initial state" and
            *      the IUT having received Beacon information from ItsNodeB and
            *      the IUT having received a MESSAGE from ItsNodeB,
            *          containing Extended Header
            *              containing SOPV field
            *                  indicating an older timestamp than the last Beacon packet and
            *                  indicating a different position than the position of the last Beacon packet
            *  }
            *  MESSAGE: GUC packet
            *
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT is requested to send a GUC packet to ItsNodeB
            *      }
            *      then {
            *          the IUT does not send a GeoNetworking packet
            *              containing a LS_REQUEST
            *                  containing Request field
            *                      indicating GN_ADDR of ItsNodeB
            *          the IUT sends a GeoNetworking packet
            *              containing a correctly formatted Common Header
            *                  containing HT field
            *                      set to '2' (GEOUNICAST)
            *              containing GUC Extended Header
            *                  containing DEPV field
            *                      indicating same position as the SOPV value of the Beacon information received
            *      }
            *  }
            * </pre>
            *
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/PON/LOT/BV-05
            * @reference   EN 302 636-4-1 [1], clauses 9.3.8.4, 9.3.12.3, 9.3.11.3, 9.3.9.3, 9.3.7.3, 9.3.8.2 and Annex C2
            */
            testcase TC_GEONW_PON_LOT_BV_05_01() runs on ItsGeoNetworking system ItsGeoNetworkingSystem {
                
                f_GEONW_PON_LOT_BV_05_01();
                    
            } // end TC_GEONW_PON_LOT_BV_05_01
            /**
            * @desc    Check update of entries in location table with most up-to-date position data extracted
            *          from common header processing (including timestamp comparison before updating)
            * <pre>
            * Pics Selection: PICS_GN_GAC_DST
            * Config Id: CF01
            * Initial conditions:
            *  with {
            *      the IUT being in the "initial state" and
            *      the IUT having received Beacon information from ItsNodeB and
            *      the IUT having received a MESSAGE from ItsNodeB,
            *          containing Extended Header
            *              containing SOPV field
            *                  indicating an older timestamp than the last Beacon packet and
            *                  indicating a different position than the position of the last Beacon packet
            *  }
            *  MESSAGE: GAC packet
            *
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT is requested to send a GUC packet to ItsNodeB
            *      }
            *      then {
            *          the IUT does not send a GeoNetworking packet
            *              containing a LS_REQUEST
            *                  containing Request field
            *                      indicating GN_ADDR of ItsNodeB
            *          the IUT sends a GeoNetworking packet
            *              containing a correctly formatted Common Header
            *                  containing HT field
            *                      set to '2' (GEOUNICAST)
            *              containing GUC Extended Header
            *                  containing DEPV field
            *                      indicating same position as the SOPV value of the Beacon information received
            *      }
            *  }
            * </pre>
            *
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/PON/LOT/BV-05
            * @reference   EN 302 636-4-1 [1], clauses 9.3.8.4, 9.3.12.3, 9.3.11.3, 9.3.9.3, 9.3.7.3, 9.3.8.2 and Annex C2
            */
            testcase TC_GEONW_PON_LOT_BV_05_02() runs on ItsGeoNetworking system ItsGeoNetworkingSystem {
                
                f_GEONW_PON_LOT_BV_05_02();
                    
            } // end TC_GEONW_PON_LOT_BV_05_02
            /**
            * @desc    Check update of entries in location table with most up-to-date position data extracted
            *          from common header processing (including timestamp comparison before updating)
            * <pre>
            * Pics Selection: PICS_GN_GBC_DST
            * Config Id: CF01
            * Initial conditions:
            *  with {
            *      the IUT being in the "initial state" and
            *      the IUT having received Beacon information from ItsNodeB and
            *      the IUT having received a MESSAGE from ItsNodeB,
            *          containing Extended Header
            *              containing SOPV field
            *                  indicating an older timestamp than the last Beacon packet and
            *                  indicating a different position than the position of the last Beacon packet
            *  }
            *  MESSAGE: GBC packet
            *
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT is requested to send a GUC packet to ItsNodeB
            *      }
            *      then {
            *          the IUT does not send a GeoNetworking packet
            *              containing a LS_REQUEST
            *                  containing Request field
            *                      indicating GN_ADDR of ItsNodeB
            *          the IUT sends a GeoNetworking packet
            *              containing a correctly formatted Common Header
            *                  containing HT field
            *                      set to '2' (GEOUNICAST)
            *              containing GUC Extended Header
            *                  containing DEPV field
            *                      indicating same position as the SOPV value of the Beacon information received
            *      }
            *  }
            * </pre>
            *
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/PON/LOT/BV-05
            * @reference   EN 302 636-4-1 [1], clauses 9.3.8.4, 9.3.12.3, 9.3.11.3, 9.3.9.3, 9.3.7.3, 9.3.8.2 and Annex C2
            */
            testcase TC_GEONW_PON_LOT_BV_05_03() runs on ItsGeoNetworking system ItsGeoNetworkingSystem {
                
                f_GEONW_PON_LOT_BV_05_03();
                    
            } // end TC_GEONW_PON_LOT_BV_05_03
                
            /**
            * @desc    Check update of entries in location table with most up-to-date position data extracted
            *          from common header processing (including timestamp comparison before updating)
            * <pre>
            * Pics Selection: PICS_GN_TSB_DST
            * Config Id: CF01
            * Initial conditions:
            *  with {
            *      the IUT being in the "initial state" and
            *      the IUT having received Beacon information from ItsNodeB and
            *      the IUT having received a MESSAGE from ItsNodeB,
            *          containing Extended Header
            *              containing SOPV field
            *                  indicating an older timestamp than the last Beacon packet and
            *                  indicating a different position than the position of the last Beacon packet
            *  }
            *  MESSAGE: TSB packet
            *
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT is requested to send a GUC packet to ItsNodeB
            *      }
            *      then {
            *          the IUT does not send a GeoNetworking packet
            *              containing a LS_REQUEST
            *                  containing Request field
            *                      indicating GN_ADDR of ItsNodeB
            *          the IUT sends a GeoNetworking packet
            *              containing a correctly formatted Common Header
            *                  containing HT field
            *                      set to '2' (GEOUNICAST)
            *              containing GUC Extended Header
            *                  containing DEPV field
            *                      indicating same position as the SOPV value of the Beacon information received
            *      }
            *  }
            * </pre>
            *
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/PON/LOT/BV-05
            * @reference   EN 302 636-4-1 [1], clauses 9.3.8.4, 9.3.12.3, 9.3.11.3, 9.3.9.3, 9.3.7.3, 9.3.8.2 and Annex C2
            */
            testcase TC_GEONW_PON_LOT_BV_05_04() runs on ItsGeoNetworking system ItsGeoNetworkingSystem {
                
                f_GEONW_PON_LOT_BV_05_04();
                    
            } // end TC_GEONW_PON_LOT_BV_05_04
                
            /**
            * @desc    Check update of entries in location table with most up-to-date position data extracted
            *          from common header processing (including timestamp comparison before updating)
            * <pre>
            * Pics Selection: PICS_GN_SHB_DST
            * Config Id: CF01
            * Initial conditions:
            *  with {
            *      the IUT being in the "initial state" and
            *      the IUT having received Beacon information from ItsNodeB and
            *      the IUT having received a MESSAGE from ItsNodeB,
            *          containing Extended Header
            *              containing SOPV field
            *                  indicating an older timestamp than the last Beacon packet and
            *                  indicating a different position than the position of the last Beacon packet
            *  }
            *  MESSAGE: SHB packet
            *
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT is requested to send a GUC packet to ItsNodeB
            *      }
            *      then {
            *          the IUT does not send a GeoNetworking packet
            *              containing a LS_REQUEST
            *                  containing Request field
            *                      indicating GN_ADDR of ItsNodeB
            *          the IUT sends a GeoNetworking packet
            *              containing a correctly formatted Common Header
            *                  containing HT field
            *                      set to '2' (GEOUNICAST)
            *              containing GUC Extended Header
            *                  containing DEPV field
            *                      indicating same position as the SOPV value of the Beacon information received
            *      }
            *  }
            * </pre>
            *
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/PON/LOT/BV-05
            * @reference   EN 302 636-4-1 [1], clauses 9.3.8.4, 9.3.12.3, 9.3.11.3, 9.3.9.3, 9.3.7.3, 9.3.8.2 and Annex C2
            */
            testcase TC_GEONW_PON_LOT_BV_05_05() runs on ItsGeoNetworking system ItsGeoNetworkingSystem {
                
                f_GEONW_PON_LOT_BV_05_05();
                    
            } // end TC_GEONW_PON_LOT_BV_05_05
                
            /**
            * @desc    Check update of entries in location table with most up-to-date position data extracted
            *          from common header processing (including timestamp comparison before updating)
            * <pre>
            * Pics Selection: PICS_GN_LS_REQ_DST
            * Config Id: CF01
            * Initial conditions:
            *  with {
            *      the IUT being in the "initial state" and
            *      the IUT having received Beacon information from ItsNodeB and
            *      the IUT having received a MESSAGE from ItsNodeB,
            *          containing Extended Header
            *              containing SOPV field
            *                  indicating an older timestamp than the last Beacon packet and
            *                  indicating a different position than the position of the last Beacon packet
            *  }
            *  MESSAGE: LS Request packet
            *
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT is requested to send a GUC packet to ItsNodeB
            *      }
            *      then {
            *          the IUT does not send a GeoNetworking packet
            *              containing a LS_REQUEST
            *                  containing Request field
            *                      indicating GN_ADDR of ItsNodeB
            *          the IUT sends a GeoNetworking packet
            *              containing a correctly formatted Common Header
            *                  containing HT field
            *                      set to '2' (GEOUNICAST)
            *              containing GUC Extended Header
            *                  containing DEPV field
            *                      indicating same position as the SOPV value of the Beacon information received
            *      }
            *  }
            * </pre>
            *
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/PON/LOT/BV-05
            * @reference   EN 302 636-4-1 [1], clauses 9.3.8.4, 9.3.12.3, 9.3.11.3, 9.3.9.3, 9.3.7.3, 9.3.8.2 and Annex C2
            */
            testcase TC_GEONW_PON_LOT_BV_05_06() runs on ItsGeoNetworking system ItsGeoNetworkingSystem {
                
                f_GEONW_PON_LOT_BV_05_06();
                    
            } // end TC_GEONW_PON_LOT_BV_05_06
                
            /**
            * @desc    Check update of entries in location table with most up-to-date position data extracted
            *          from common header processing (including timestamp comparison before updating)
            * <pre>
            * Pics Selection: PICS_GN_LS_REP_DST
            * Config Id: CF01
            * Initial conditions:
            *  with {
            *      the IUT being in the "initial state" and
            *      the IUT having received Beacon information from ItsNodeB and
            *      the IUT having received a MESSAGE from ItsNodeB,
            *          containing Extended Header
            *              containing SOPV field
            *                  indicating an older timestamp than the last Beacon packet and
            *                  indicating a different position than the position of the last Beacon packet
            *  }
            *  MESSAGE: LS Reply packet
            *
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT is requested to send a GUC packet to ItsNodeB
            *      }
            *      then {
            *          the IUT does not send a GeoNetworking packet
            *              containing a LS_REQUEST
            *                  containing Request field
            *                      indicating GN_ADDR of ItsNodeB
            *          the IUT sends a GeoNetworking packet
            *              containing a correctly formatted Common Header
            *                  containing HT field
            *                      set to '2' (GEOUNICAST)
            *              containing GUC Extended Header
            *                  containing DEPV field
            *                      indicating same position as the SOPV value of the Beacon information received
            *      }
            *  }
            * </pre>
            *
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/PON/LOT/BV-05
            * @reference   EN 302 636-4-1 [1], clauses 9.3.8.4, 9.3.12.3, 9.3.11.3, 9.3.9.3, 9.3.7.3, 9.3.8.2 and Annex C2
            */
            testcase TC_GEONW_PON_LOT_BV_05_07() runs on ItsGeoNetworking system ItsGeoNetworkingSystem {
                
                f_GEONW_PON_LOT_BV_05_07();
                    
            } // end TC_GEONW_PON_LOT_BV_05_07
           
filatov's avatar
filatov committed
        } // end geoLocationTable
        
        // 6.2.2.2
        group geoLocalPositionVector {
            
            /**
            * @desc    Check update of the Local position vector
            * <pre>
            * Pics Selection: PICS_GN_BEACON_SRC
            * Config Id: CF01
            * Initial conditions:
            *  with {
            *      the IUT being in the "initial state" and
            *      the IUT having changed its position
            *  }
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT generates eventually a Beacon packet
            *      }
            *      then {
            *          the IUT sends a GeoNetworking packet
            *              containing a correctly formatted Common Header
            *                  containing HT field
            *                      set to '1' (BEACON)
            *                  containing HST field
            *                      set to '0' (UNSPECIFIED)
            *                  containing Extended Header
            *                      containing SOPV field
            *                          indicating the new position
            *      }
            *  }
            * </pre>
            *
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/PON/LPV/BV-01
            * @reference   EN 302 636-4-1 [1], clauses 7.2.3, 9.2.2.2, 9.3.6.1 and Annex G
            */
filatov's avatar
filatov committed
            testcase TC_GEONW_PON_LPV_BV_01() runs on ItsGeoNetworking system ItsGeoNetworkingSystem {
                
                f_GEONW_PON_LPV_BV_01();
filatov's avatar
filatov committed
                
            } // end TC_GEONW_PON_LPV_BV_01
            
        } // end geoLocalPositionVector
        
        // 6.2.2.3
        group geoSequenceNumber {
            
            /**
            * @desc    Check initial sequence number assignment
            * <pre>
            * Pics Selection: PICS_GN_GBC_SRC
            * Config Id: CF01
            * Initial conditions:
            *  with {
            *      the IUT being in the "initial state" and
            *      the IUT not having sent any GBC packet and
            *      the IUT having received Beacon information from ItsNodeB
            *  }
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT is requested to send a GBC packet to AREA1
            *      }
            *      then {
            *          the IUT sends a GeoNetworking packet
            *              containing a correctly formatted Common Header
            *                  containing HT field
            *                      set to '4' (GEOBROADCAST)
            *              containing GBC Extended Header
            *                  containing SN field
            *                      indicating value '0'
            *      }
            *  }
            * </pre>
            *
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/PON/SQN/BV-01
            * @reference   EN 302 636-4-1 [1], clauses 7.3.2, 9.3.8.2
filatov's avatar
filatov committed
            testcase TC_GEONW_PON_SQN_BV_01() runs on ItsGeoNetworking system ItsGeoNetworkingSystem {
                
                f_GEONW_PON_SQN_BV_01();
filatov's avatar
filatov committed
                
            } // end TC_GEONW_PON_SQN_BV_01
            
            /**
            * @desc    Check the local sequence number incrementation
            * <pre>
            * Pics Selection: PICS_GN_GBC_SRC
            * Config Id: CF01
            * Initial conditions:
            *  with {
            *      the IUT being in the "initial state" and
            *      the IUT having received Beacon information from ItsNodeB and
            *      the IUT having sent a GBC packet to AREA1
            *          containing the Sequence Number field
            *              indicating value SN1
            *  }
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT is requested to send a GBC packet to AREA1
            *      }
            *      then {
            *          the IUT sends a GeoNetworking packet
            *              containing a correctly formatted Common Header
            *                  containing HT field
            *                      set to '4' (GEOBROADCAST)
            *              containing GBC Extended Header
            *                  containing SN field
            *                      indicating value SN1 + 1
            *      }
            *  }
            * </pre>
            *
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/PON/SQN/BV-02
            * @reference   EN 302 636-4-1 [1], clauses 7.2.3, 9.3.8.2
            */
filatov's avatar
filatov committed
            testcase TC_GEONW_PON_SQN_BV_02() runs on ItsGeoNetworking system ItsGeoNetworkingSystem {
                
                f_GEONW_PON_SQN_BV_02();
filatov's avatar
filatov committed
                
            } // end TC_GEONW_PON_SQN_BV_02
        
        } // end geoSequenceNumber
        
        // 6.2.2.4
        group geoLocationService {
            
            /**
            * @desc    Check first LS invocation for unknown Destination nodes
            * <pre>
            * Pics Selection: PICS_GN_LS_REQ_SRC
            * Config Id: CF01
            * Initial conditions:
            *  with {
            *      the IUT being in the "initial state" and
            *      the IUT having no Location Table Entry for ItsNodeA
            *  }
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT is requested to send a GUC packet to ItsNodeA
            *      }
            *      then {
            *          the IUT sends a GeoNetworking packet
            *              containing a correctly formatted Common Header
            *                  containing HT field
            *                      set to '6' (LS)
            *                  containing HST field
            *                      set to '0' (LS_REQUEST)
            *                  containing NH field
            *                      set to '0' (UNSPECIFIED)
            *              containing LS_REQUEST Extended Header
            *                  containing Request field
            *                      indicating GN_ADDR of ItsNodeA
            *      }
            *  }
            * </pre>
            *
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/PON/LOS/BV-01
            * @reference   EN 302 636-4-1 [1], clauses 9.3.8.2, 9.2.4, 6.3 and 9.3.7.1.2
            */
filatov's avatar
filatov committed
            testcase TC_GEONW_PON_LOS_BV_01() runs on ItsGeoNetworking system ItsGeoNetworkingSystem {
                
                f_GEONW_PON_LOS_BV_01();
filatov's avatar
filatov committed
                
            } // end TC_GEONW_PON_LOS_BV_01
            
            /**
            * @desc    Check absence of LS invocation for unknown Destination nodes when LS procedure is already active
            * <pre>
            * Pics Selection: PICS_GN_LS_REQ_SRC
            * Config Id: CF01
            * Initial conditions:
            *  with {
            *      the IUT being in the "initial state" and
            *      the IUT having no Location Table Entry for ItsNodeA and
            *      the IUT having been requested to send a first GUC packet to ItsNodeA and
            *      the IUT having sent a GeoNetworking packet
            *          containing a LS_REQUEST
            *              containing Request field
            *                  containing GN_ADDR
            *                      containing M_ID
            *                          indicating ItsNodeA
            *  }
            * Expected behaviour:
            *  ensure that {
            *      when {
            *            the IUT is requested to send a new GUC packet to ItsNodeA
            *      }
            *      then {
            *          IUT does not send a second LS_REQUEST packet (see note)
            *      }
            *  }
            *  NOTE: at least not before the LS_REQUEST retransmission timer expires
            *
            * </pre>
            *
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/PON/LOS/BV-02
            * @reference   EN 302 636-4-1 [1], clauses 9.3.8.2, 9.2.4 and 9.3.7.1.2
            */
filatov's avatar
filatov committed
            testcase TC_GEONW_PON_LOS_BV_02() runs on ItsGeoNetworking system ItsGeoNetworkingSystem {
                
                f_GEONW_PON_LOS_BV_02();
filatov's avatar
filatov committed
                
            } // end TC_GEONW_PON_LOS_BV_02
            
            /**
            * @desc    Check packet buffering into LS buffer during Location service procedure,
            * 		    including handling of LT fields in the LT packet buffer
            * <pre>
            * Pics Selection: PICS_GN_LS_REQ_SRC AND PICS_GN_LS_REP_DST
            * Config Id: CF01
            * Initial conditions:
            *  with {
            *      the IUT being in the "initial state" and
            *      the IUT having no Location Table Entry for ItsNodeA and
            *      the IUT having been requested to send a GUC packet to ItsNodeA
            *          containing TrafficClass.SCF set to 1 and
            *      the IUT having sent a LS_REQUEST packet
            *  }
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT receives the LS_REPLY packet from ItsNodeA
            *      }
            *      then {
            *          the IUT sends the GUC packet addressed to ItsNodeA
            *              containing GUC Extended Header
            *                  containing LT field
            *                      indicating value (default LT value – WaitingTime (see note))
            *      }
            *  }
            *  NOTE: Waiting Time == time difference between LS_REQUEST sending and LS_REPLY reception.
            *
            * </pre>
            *
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/PON/LOS/BV-03
            * @reference   EN 302 636-4-1 [1], clauses 7.4.3, 9.3.7.1.4, 9.3.8.2, 9.2.4 and 9.3.7.1.2
            */
filatov's avatar
filatov committed
            testcase TC_GEONW_PON_LOS_BV_03() runs on ItsGeoNetworking system ItsGeoNetworkingSystem {
                
                f_GEONW_PON_LOS_BV_03();
filatov's avatar
filatov committed
                
            } // end TC_GEONW_PON_LOS_BV_03
            
            /**
            * @desc    Check LS buffer characteristics: FIFO type
            * <pre>
            * Pics Selection: PICS_GN_LS_REQ_SRC AND PICS_GN_LS_REP_DST
            * Config Id: CF01
            * Initial conditions:
            *  with {
            *      the IUT being in the "initial state" and
            *      the IUT having no Location Table Entry for ItsNodeA and
            *      the IUT having been requested to send a GUC packet to ItsNodeA
            *          containing TrafficClass.SCF set to 1
            *          containing LT field
            *              indicating value LT1
            *          containing payload field
            *              indicating value PL1 and
            *      the IUT having sent a LS_REQUEST packet and
            *      the IUT having been requested to send a second GUC packet to ItsNodeA
            *          containing TrafficClass.SCF set to 1
            *          containing LT field
            *              indicating LT2
            *          containing payload field
            *              indicating value PL2
            *  }
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT receives the LS_REPLY packet from ItsNodeA and
            *          before expiry of LT1 and LT2
            *      }
            *      then {
            *          the IUT sends GUC packet addressed to ItsNodeA
            *              containing payload field
            *                  indicating value PL1 and
            *          the IUT sends GUC packet addressed to ItsNodeA
            *              containing payload field
            *                  indicating value PL2
            *      }
            *  }
            * </pre>
            *
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/PON/LOS/BV-04
            * @reference   EN 302 636-4-1 [1], clauses 7.4.3, 9.3.8.2, 9.2.4 and 9.3.7.1.2
            */
filatov's avatar
filatov committed
            testcase TC_GEONW_PON_LOS_BV_04() runs on ItsGeoNetworking system ItsGeoNetworkingSystem {
                
                f_GEONW_PON_LOS_BV_04();
filatov's avatar
filatov committed
                
            } // end TC_GEONW_PON_LOS_BV_04
            
            /**
            * @desc    Check LS buffer characteristics: discarding upon LT expiration
            * <pre>
            * Pics Selection: PICS_GN_LS_REQ_SRC
            * Config Id: CF01
            * Initial conditions:
            *  with {
            *      the IUT being in the "initial state" and
            *      the IUT having no Location Table Entry for ItsNodeA and
            *      the IUT having been requested to send multiple GUC packets to ItsNodeA
            *          containing TrafficClass.SCF set to 1
            *          containing LT field
            *              indicating values LTx and
            *      the IUT having sent a LS_REQUEST packet
            *  }
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT receives the LS_REPLY packet from ItsNodeA after expiry of LTs
            *      }
            *      then {
            *          the IUT does not send any packet to ItsNodeA
            *      }
            *  }
            * </pre>
            *
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/PON/LOS/BV-05
            * @reference   EN 302 636-4-1 [1], clauses 7.4.3, 9.3.8.2, 9.2.4 and 9.3.7.1.2
            */
filatov's avatar
filatov committed
            testcase TC_GEONW_PON_LOS_BV_05() runs on ItsGeoNetworking system ItsGeoNetworkingSystem {
                
                f_GEONW_PON_LOS_BV_05();
filatov's avatar
filatov committed
                
            } // end TC_GEONW_PON_LOS_BV_05
            
            /**
            * @desc    Check LS Request retransmission if no answer is received
            * <pre>
            * Pics Selection: PICS_GN_LS_REQ_RETRANSMISSION
            * Config Id: CF01
            * Initial conditions:
            *  with {
            *      the IUT being in the "initial state" and
            *      the IUT having no Location Table Entry for ItsNodeA and
            *      the IUT having been requested to send a GUC packet to ItsNodeA
            *          containing TrafficClass.SCF set to 1
            *          containing LT field
            *              indicating value LT1 higher than itsGnLocationServiceTimer and
            *      the IUT having sent a LS_REQUEST packet
            *  }
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT does not receive LS_REPLY packet from ItsNodeA and
            *          before expiration of LT1
            *      }
            *      then {
            *          the IUT retransmits the LS_REQUEST packet
            *              upon expiry of itsGnLocationServiceTimer
            *      }
            *  }
            * </pre>
            *
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/PON/LOS/BV-06
            * @reference   EN 302 636-4-1 [1], clauses 9.3.7.1.3, 9.3.7.1.2 and 9.3.8.2
            */
            testcase TC_GEONW_PON_LOS_TI_06() runs on ItsGeoNetworking system ItsGeoNetworkingSystem {
                
                f_GEONW_PON_LOS_TI_06();
                
            } // end TC_GEONW_PON_LOS_TI_06
            * @desc    Check LS Request retransmission if no answer is received
            * <pre>
            * Pics Selection: PICS_GN_LS_REQ_RETRANSMISSION
            * Config Id: CF01
            * Initial conditions:
            *  with {
            *      the IUT being in the "initial state" and
            *      the IUT having no Location Table Entry for ItsNodeA and
            *      the IUT having been requested to send a GUC packet to ItsNodeA
            *          containing TrafficClass.SCF set to 1
            *          containing LT field
            *              indicating value LT1 higher than (itsGnLocationServiceTimer * itsGnLocationServiceMaxRetrans) and
            *      the IUT having sent a LS_REQUEST packet
            *  }
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT does not receive LS_REPLY packet from ItsNodeA and
            *          before expiration of LT1
            *      }
            *      then {
            *          the IUT retransmits the LS_REQUEST packet itsGnLocationServiceMaxRetrans times
            *      }
            *  }
            * </pre>
            *
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/PON/LOS/BV-07
            * @reference   EN 302 636-4-1 [1], clauses 9.3.7.1.2, 9.3.7.1.3 and 9.3.8.2
            */
filatov's avatar
filatov committed
            testcase TC_GEONW_PON_LOS_BV_07() runs on ItsGeoNetworking system ItsGeoNetworkingSystem {
                
                f_GEONW_PON_LOS_BV_07();
filatov's avatar
filatov committed
                
            } // end TC_GEONW_PON_LOS_BV_07
            
            /**
            * @desc    Check LS Reply generation by destination node
            * <pre>
            * Pics Selection: PICS_GN_LS_REQ_DST
            * Config Id: CF01
            * Initial conditions:
            *  with {
            *      the IUT being in the "initial state"
            *  }
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT receives a LS_REQUEST packet
            *          containing Request field
            *              indicating the IUT's GN_ADDR
            *      }
            *      then {
            *          the IUT replies with a LS_REPLY packet
            *              containing Common Header
            *                  containing NH field
            *                      set to '0' (UNSPECIFIED)
            *                  containing LS_REPLY Extended Header
            *                      containing DEPV field
            *                          indicating same position as the SOPV value of the received LS_REQUEST
            *      }
            *  }
            * </pre>
            *
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/PON/LOS/BV-08
            * @reference   EN 302 636-4-1 [1], clauses 9.3.7.3 and 9.3.5
            */
filatov's avatar
filatov committed
            testcase TC_GEONW_PON_LOS_BV_08() runs on ItsGeoNetworking system ItsGeoNetworkingSystem {
                
                f_GEONW_PON_LOS_BV_08();
filatov's avatar
filatov committed
                
            } // end TC_GEONW_PON_LOS_BV_08
            
            /**
            * @desc    Check absence of LS Reply generation for already answered LS Request packets
            * <pre>
            * Pics Selection: PICS_GN_LS_REQ_DST
            * Config Id: CF02
            * Initial conditions:
            *  with {
            *      the IUT being in the "initial state" and
            *      the IUT having received a LS_REQUEST packet generated by ItsNodeB from ItsNodeB
            *      the IUT having sent a LS_REPLY packet to ItsNodeB
            *  }
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT receives the same LS_REQUEST packet from ItsNodeD
            *      }
            *      then {
            *          the IUT does not reply with a LS_REPLY packet
            *      }
            *  }
            * </pre>
            *
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/PON/LOS/BO-09
            * @reference   EN 302 636-4-1 [1], clauses 9.3.7.3 and 9.3.5
            */
            testcase TC_GEONW_PON_LOS_BO_09() runs on ItsMtc system ItsGeoNetworkingSystem {
                
                f_GEONW_PON_LOS_BO_09();
                
            } // end TC_GEONW_PON_LOS_BO_09
            /**
            * @desc    Check LS Request forwarding
            * <pre>
            * Pics Selection: PICS_GN_LS_FWD
            * Config Id: CF03
            * Initial conditions:
            *  with {
            *      the IUT being in the "initial state" and
            *      the IUT having received Beacon information from ItsNodeB and
            *      the IUT having received Beacon information from ItsNodeC
            *  }
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT receives a LS_REQUEST packet from ItsNodeC
            *              containing Basic Header
            *                  containing RHL field
            *                      indicating value greater than 1
            *              containing LS_REQUEST Extended Header
            *                  containing Request field
            *                      containing GN_ADDR
            *                          containing M_ID
            *                              indicating value differing from the M_ID part of the GN_ADDR of the IUT
            *      }
            *      then {
            *          the IUT re-broadcasts the received LS_REQUEST packet
            *              containing Basic Header
            *                  containing RHL field
            *                      indicating value decreased by 1
            *      }
            *  }
            * </pre>
            *
            * @see     ETSI TS 102 871-2 v1.3.1 TP/GEONW/PON/LOS/BV-10
            * @reference   EN 302 636-4-1 [1], clauses 9.3.7.2
            */
            testcase TC_GEONW_PON_LOS_BV_10() runs on ItsMtc system ItsGeoNetworkingSystem {
                
                f_GEONW_PON_LOS_BV_10();
                
            } // end TC_GEONW_PON_LOS_BV_10
            /**
            * @desc    Check LS Reply forwarding
            * <pre>
            * Pics Selection: PICS_GN_LS_FWD
            * Config Id: CF03
            * Initial conditions:
            *  with {
            *      the IUT being in the "initial state" and
            *      the IUT having received Beacon information from ItsNodeB and
            *      the IUT having received Beacon information from ItsNodeC
            *  }
            * Expected behaviour:
            *  ensure that {
            *      when {
            *          the IUT receives a LS_REPLY packet from ItsNodeC addressed to ItsNodeB
            *              containing Basic Header
            *                  containing RHL field
            *                      indicating value greater than 1
            *      }
            *      then {
            *          the IUT forwards the received LS_REPLY packet to ItsNodeB
            *              containing Basic Header
            *                  containing RHL field
            *                      indicating value decreased by 1
            *      }
            *  }
            * </pre>
            *
            * @see         ETSI TS 102 871-2 v1.3.1 TP/GEONW/PON/LOS/BV-11
            * @reference   EN 302 636-4-1 [1], clauses 9.3.7.2
            */
            testcase TC_GEONW_PON_LOS_BV_11() runs on ItsMtc system ItsGeoNetworkingSystem {
                
                f_GEONW_PON_LOS_BV_11();
                
            } // end TC_GEONW_PON_LOS_BV_11
            * @desc    Check flushing of the LS buffer, initiated by the processing of a common header from the target destination
            * <pre>
            * Pics Selection: PICS_GN_LS_REQ_SRC
            * Config Id: CF01
            * Initial conditions:
            *  with {