Commit 79f2087e authored by Yann Garcia's avatar Yann Garcia
Browse files

Create group for both MW and ETH

parent 864b68ba
Loading
Loading
Loading
Loading
+153 −3
Original line number Diff line number Diff line
@@ -342,7 +342,7 @@ Package AtsMDSC {
                    TP Id TP_mWT_PNC_MW_TOPO_GET_BV_02

                    Test objective
                        "Verify that the IUT provides the ethernet network topology for a specific network with mandatory mWT GC 024 data elements subset - black box abstraction level."
                        "Verify that the IUT provides the MW network topology for a specific network with mandatory mWT GC 024 data elements subset - black box abstraction level."

                    Reference
                        "ETSI GS mWT 024 Annex A.1.2",
@@ -362,7 +362,7 @@ Package AtsMDSC {
                    ensure that {
                        when {
                            the IUT entity receives a vRequestGet containing
                                uri indicating value "/restconf/data/ietf-network:networks/network={NETWORK_ID)";
                                uri indicating value "/restconf/data/ietf-microwave-topology/networks/network={NETWORK_ID)";
                            from the TEST_SYSTEM entity
                        } then {
                            the IUT entity sends a r200 containing
@@ -407,7 +407,7 @@ Package AtsMDSC {
                    ensure that {
                        when {
                            the IUT entity receives a vRequestGet containing
                                uri indicating value "/restconf/data/ietf-microwave-topology/networks/network/node";
                                uri indicating value "/restconf/data/ietf-microwave-topology/networks/network={NETWORK_ID)/node";
                            from the TEST_SYSTEM entity
                        } then {
                            the IUT entity sends a r200 containing
@@ -434,6 +434,156 @@ Package AtsMDSC {

            } // End of Group "MWTopology"

            Group "EthernetTopology" {

                import all from mWT_Common;

                Test Purpose {
                    TP Id TP_mWT_PNC_ETH_TOPO_GET_BV_01

                    Test objective
                        "Verify that the IUT provides the Ethernet network topology for all networks with mandatory mWT GC 024 data elements subset - black box abstraction level."

                    Reference
                        "ETSI GS mWT 024 Annex A.2.2",
                        "RFC 8345 A YANG Data Model for Network Topologies",
                        "RFC 8795 YANG Data Model for Traffic Engineering (TE) Topologies",
                        "draft-ietf-ccamp-mw-topo-yang-02 A YANG Data Model for Microwave Topology"

                    Config Id Config_mWT_2

                    PICS Selection IUT_PNC and RESTCONF and SEC_TLS and ABSTRACT_BB and MW_TOPO

                    Initial conditions  with {
                        the IUT entity is idle and
                        the IUT entity having discovered several MW ethernet networks topologies
                    }

                    Expected behaviour
                    ensure that {
                        when {
                            the IUT entity receives a vRequestGet containing
                                uri indicating value "/restconf/data/networks";
                            from the TEST_SYSTEM entity
                        } then {
                            the IUT entity sends a r200 containing
                            headers containing
                                content_type indicating value "application/yang-data+xml";,
                            body containing
                                networks containing
                                    networksList containing
                                        name_ indicating value any_value,
                                        networks containing
                                            network_id indicating value any_value,
                                            network_types containing
                                                te_topology containing
                                                    mw_topology indicating value any_value
                                                ;;,
                                            node_id indicating value any_value,
                                            termination_points indicating value any_value,
                                            links indicating value any_value
                            ;;;;;
                            to the TEST_SYSTEM entity
                        }
                    }
                }

                Test Purpose {
                    TP Id TP_mWT_PNC_ETH_TOPO_GET_BV_02

                    Test objective
                        "Verify that the IUT provides the Ethernet network topology for a specific network with mandatory mWT GC 024 data elements subset - black box abstraction level."

                    Reference
                        "ETSI GS mWT 024 Annex A.1.2",
                        "RFC 8345 A YANG Data Model for Network Topologies",
                        "RFC 8795 YANG Data Model for Traffic Engineering (TE) Topologies"

                    Config Id Config_mWT_2

                    PICS Selection IUT_MDSC and ABSTRACT_BB and MW_TOPO

                    Initial conditions  with {
                        the IUT entity is idle and
                        the IUT entity having discovered a network topology NET_TOPO
                    }

                    Expected behaviour
                    ensure that {
                        when {
                            the IUT entity receives a vRequestGet containing
                                uri indicating value "/restconf/data/networks/network={NETWORK_ID)";
                            from the TEST_SYSTEM entity
                        } then {
                            the IUT entity sends a r200 containing
                            headers containing
                                content_type indicating value "application/yang-data+xml";,
                            body containing
                                networks containing
                                    network_id indicating value NETWORK_ID,
                                    network_types containing
                                        te_topology indicating value any_value;,
                                    node_id indicating value any_value,
                                    termination_points indicating value any_value,
                                    links indicating value any_value
                            ;;;
                            to the TEST_SYSTEM entity
                        }
                    }
                }

                Test Purpose {
                    TP Id TP_mWT_PNC_ETH_NODE_GET_BV_01

                    Test objective
                        "Verify that the IUT provides the Ethernet network nodes for a networks with mandatory mWT GC 024 data elements subset - black box abstraction level."

                    Reference
                        "ETSI GS mWT 024 Annex A.2.2",
                        "RFC 8345 A YANG Data Model for Network Topologies",
                        "RFC 8795 YANG Data Model for Traffic Engineering (TE) Topologies",
                        "draft-ietf-ccamp-mw-topo-yang-02 A YANG Data Model for Microwave Topology"

                    Config Id Config_mWT_2

                    PICS Selection IUT_PNC and RESTCONF and SEC_TLS and ABSTRACT_BB and MW_TOPO

                    Initial conditions  with {
                        the IUT entity is idle and
                        the IUT entity having discovered several MW ethernet networks topologies
                    }

                    Expected behaviour
                    ensure that {
                        when {
                            the IUT entity receives a vRequestGet containing
                                uri indicating value "/restconf/data/networks/network={NETWORK_ID)/node";
                            from the TEST_SYSTEM entity
                        } then {
                            the IUT entity sends a r200 containing
                            headers containing
                                content_type indicating value "application/yang-data+xml";,
                            body containing
                                networks containing
                                    networksList containing
                                        name_ indicating value any_value,
                                        networks containing
                                            network_id indicating value any_value,
                                            network_types containing
                                                te_topology containing
                                                    mw_topology indicating value any_value
                                                ;;,
                                            node_id indicating value any_value,
                                            termination_points indicating value any_value,
                                            links indicating value any_value
                            ;;;;;
                            to the TEST_SYSTEM entity
                        }
                    }
                }

            } // End of Group "EthernetTopology"

        } // End of Group "Blackbox"

        Group "PartiallyTransparent" {
+1 −1
Original line number Diff line number Diff line
          +==========+=========================+===============================+
          | Prefix   | YANG Module             |           Reference           |
          | Prefix   | YANG Module             |           References          |
          +==========+=========================+===============================+
          | yang     | ietf-[yang|inet]-types  |         [RFC6991]             |
          +----------+-------------------------+-------------------------------+