Commit 3259998b authored by Yann Garcia's avatar Yann Garcia
Browse files

Start implementing ATS in Postman

parent 32d6a28c
Loading
Loading
Loading
Loading
+3158 −253

File changed.

Preview size limit exceeded, changes collapsed.

+153 −0
Original line number Diff line number Diff line
{
	"id": "254f0cf6-86f9-4e52-9d62-fc5f5d73708e",
	"name": "TTF_T029",
	"values": [
		{
			"key": "PX_IUT_IP_ADDRESS",
			"value": "127.0.01",
			"type": "default",
			"enabled": true
		},
		{
			"key": "PX_PROTOCOL",
			"value": "https",
			"type": "default",
			"enabled": true
		},
		{
			"key": "PX_IUT_IP_PORT",
			"value": "443",
			"type": "default",
			"enabled": true
		},
		{
			"key": "PX_ROOT_API",
			"value": "restconf/data",
			"type": "default",
			"enabled": true
		},
		{
			"key": "PX_USER",
			"value": "user",
			"type": "default",
			"enabled": true
		},
		{
			"key": "PX_USER_PASSWD",
			"value": "passwd",
			"type": "default",
			"enabled": true
		},
		{
			"key": "PX_ACCESS_TOKEN",
			"value": "token",
			"type": "default",
			"enabled": true
		},
		{
			"key": "PX_IETF_YANG_LIBRARY_VERSION",
			"value": "2019-01-04",
			"type": "default",
			"enabled": true
		},
		{
			"key": "PX_IETF_YANG_LIBRARY_NAMESPACE",
			"value": "urn:ietf:params:xml:ns:yang:ietf-yang-library",
			"type": "default",
			"enabled": true
		},
		{
			"key": "PX_IETF_RESTCONF_VERSION",
			"value": "2016-08-15",
			"type": "default",
			"enabled": true
		},
		{
			"key": "PX_IETF_RESTCONF_NAMESPACE",
			"value": "urn:ietf:params:xml:ns:yang:ietf-restconf",
			"type": "default",
			"enabled": true
		},
		{
			"key": "PICS_IUT_PNC",
			"value": "true",
			"type": "default",
			"enabled": true
		},
		{
			"key": "PICS_RESTCONF",
			"value": "true",
			"type": "default",
			"enabled": true
		},
		{
			"key": "PICS_SEC_TLS",
			"value": "true",
			"type": "default",
			"enabled": true
		},
		{
			"key": "PICS_ABSTRACT_BB",
			"value": "true",
			"type": "default",
			"enabled": true
		},
		{
			"key": "PICS_MW_TOPO",
			"value": "true",
			"type": "default",
			"enabled": true
		},
		{
			"key": "PX_NETWORK_ID",
			"value": "network1",
			"type": "default",
			"enabled": true
		},
		{
			"key": "PX_UNKNOWN_NETWORK_ID",
			"value": "johndoe",
			"type": "default",
			"enabled": true
		},
		{
			"key": "PX_NODE_ID",
			"value": "node1",
			"type": "default",
			"enabled": true
		},
		{
			"key": "PX_UNKNOWN_NODE_ID",
			"value": "johndoe",
			"type": "default",
			"enabled": true
		},
		{
			"key": "PX_ETHT_SVC_NAME",
			"value": "svc_name",
			"type": "default",
			"enabled": true
		},
		{
			"key": "PX_UNKNOWN_ETHT_SVC_NAME",
			"value": "johndoe",
			"type": "default",
			"enabled": true
		},
		{
			"key": "PX_BANDWIDTH_PROFILE_NAME",
			"value": "bandwidth1",
			"type": "default",
			"enabled": true
		},
		{
			"key": "PX_UNKNOWN_BANDWIDTH_PROFILE_NAME",
			"value": "johndoe",
			"type": "default",
			"enabled": true
		}
	],
	"_postman_variable_scope": "environment",
	"_postman_exported_at": "2024-06-21T08:09:51.143Z",
	"_postman_exported_using": "Postman/11.2.12"
}
 No newline at end of file
+36 −58
Original line number Diff line number Diff line
@@ -33,15 +33,15 @@ Package AtsMDSC {
                ensure that {
                    when {
                        the IUT entity receives a vRequestGet containing
                            uri indicating value "/restconf/data/ietf-yang-library:modules-state";
                            uri indicating value "/restconf/data/ietf-yang-library:module-set";
                        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
                                modules_state containing
                                    name_ indicating value "ietf-yang-library:modules-state",
                             module_setate containing
                                    name_ indicating value "ietf-yang-library:module-set",
                                    modules containing
                                        non empty list;;;;
                        to the TEST_SYSTEM entity
@@ -73,64 +73,47 @@ Package AtsMDSC {
                ensure that {
                    when {
                        the IUT entity receives a vRequestGet containing
                            uri indicating value "/restconf/data/ietf-yang-library:modules-state";
                            uri indicating value "/restconf/data/ietf-yang-library:module-set";
                        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
                                modules_state containing
                                    name_ indicating value "ietf-yang-library:modules-state",
                       module_setles_state containing
                                    name_ indicating value "ietf-yang-library:module-set",
                                    modules containing
                                        entry containing
                                            name_ indicating value "ietf-datastores",
                                            revision indicating value "2018-02-14",
                                            schema indicating value "https://localhost:443/restconf/data/modules/ietf-datastores/2018-02-14",
                                            namespace indicating value "urn:ietf:params:xml:ns:yang:ietf-datastores",
                                            conformance_type indicating value "import";,
                                            namespace indicating value "urn:ietf:params:xml:ns:yang:ietf-datastores";,
                                        entry containing
                                            name_ indicating value "ietf-inet-types",
                                            revision indicating value "2013-07-15",
                                            schema indicating value "https://localhost:443/restconf/data/modules/ietf-inet-types/2013-07-15",
                                            namespace indicating value "urn:ietf:params:xml:ns:yang:ietf-inet-types",
                                            conformance_type indicating value "import";,
                                            namespace indicating value "urn:ietf:params:xml:ns:yang:ietf-inet-types";,
                                        entry containing
                                            name_ indicating value "ietf-interfaces",
                                            revision indicating value "2018-02-20",
                                            schema indicating value "https://localhost:443/restconf/data/modules/ietf-interfaces/2018-02-20",
                                            namespace indicating value "urn:ietf:params:xml:ns:yang:ietf-interfaces",
                                            conformance_type indicating value "import",
                                            namespace indicating value "urn:ietf:params:xml:ns:yang:ietf-interfaces";,
                                        entry containing
                                            name_ indicating value "ietf-ip",
                                            revision indicating value "2018-02-22",
                                            schema indicating value "https://localhost:443/restconf/data/modules/ietf-ip/2018-02-22",
                                            namespace indicating value "urn:ietf:params:xml:ns:yang:ietf-ip",
                                            conformance_type indicating value "import";,
                                            namespace indicating value "urn:ietf:params:xml:ns:yang:ietf-ip";,
                                        entry containing
                                            name_ indicating value "ietf-network-instance",
                                            revision indicating value "2019-01-21",
                                            schema indicating value "https://localhost:443/restconf/data/modules/ietf-network-instance/2019-01-21",
                                            namespace indicating value "urn:ietf:params:xml:ns:yang:ietf-network-instance",
                                            conformance_type indicating value "import";,
                                            namespace indicating value "urn:ietf:params:xml:ns:yang:ietf-network-instance";,
                                        entry containing
                                            name_ indicating value "ietf-restconf",
                                            revision indicating value "2017-01-26",
                                            schema indicating value "https://localhost:443/restconf/data/modules/ietf-restconf/2017-01-26",
                                            namespace indicating value "urn:ietf:params:xml:ns:yang:ietf-restconf",
                                            conformance_type indicating value "implement";,
                                            namespace indicating value "urn:ietf:params:xml:ns:yang:ietf-restconf";,
                                        entry containing
                                            name_ indicating value "ietf-yang-types",
                                            revision indicating value "2013-07-15",
                                            schema indicating value "https://localhost:443/restconf/data/modules/ietf-restconf/2017-01-26",
                                            namespace indicating value "urn:ietf:params:xml:ns:yang:ietf-restconf",
                                            conformance_type indicating value "import";,
                                            namespace indicating value "urn:ietf:params:xml:ns:yang:ietf-restconf";,
                                        entry containing
                                            name_ indicating value "ietf-yang-library",
                                            revision indicating value "2019-01-04",
                                            schema indicating value "https://localhost:443/restconf/data/modules/ietf-yang-types/2013-07-15",
                                            namespace indicating value "urn:ietf:params:xml:ns:yang:ietf-yang-types",
                                            conformance_type indicating value "implement";;;;;;
                                            namespace indicating value "urn:ietf:params:xml:ns:yang:ietf-yang-library";;;;;
                        to the TEST_SYSTEM entity
                    }
                }
@@ -159,31 +142,26 @@ Package AtsMDSC {
                ensure that {
                    when {
                        the IUT entity receives a vRequestGet containing
                            uri indicating value "/restconf/data/ietf-yang-library:modules-state";
                            uri indicating value "/restconf/data/ietf-yang-library:module-set";
                        from the TEST_SYSTEM entity
                    } then {
                        the IUT entity sends a r200 containing
                            body containing
                                modules_state containing
                 module_set  modules_state containing
                                    modules containing
                                        entry containing
                                            name_ indicating value "ietf-microwave-topology",
                                            revision indicating value "2021-10-12",
                                            schema indicating value "draft-ietf-ccamp-mw-topo-yang-02",
                                            namespace indicating value "",
                                            conformance_type indicating value "implement";,
                                            namespace indicating value "";,
                                        entry containing
                                            name_ indicating value "ietf-eth-te-topology",
                                            revision indicating value "2019-11-18",
                                            schema indicating value "draft-ietf-ccamp-eth-client-te-topo-yang-01",
                                            namespace indicating value "",
                                            conformance_type indicating value "implement";,
                                            namespace indicating value "";,
                                        entry containing
                                            name_ indicating value "idraft-ietf-ccamp-client-signal-yang-06",
                                            revision indicating value "",
                                            schema indicating value "draft-ietf-ccamp-client-signal-yang-06",
                                            namespace indicating value "",
                                            conformance_type indicating value "";;;;;
                                            namespace indicating value "";;;;;
                        to the TEST_SYSTEM entity
                    }
                }
@@ -244,7 +222,7 @@ Package AtsMDSC {
            }

            Test Purpose {
                TP Id TP_mWT_PNC_BB_MW_TOPO_GET_BV_01
                TP Id TP_mWT_PNC_BB_MW_TOPO_GET_BV_02

                Test objective
                    "Verify that the IUT provides a network list containing only one node."
@@ -610,7 +588,7 @@ Package AtsMDSC {
                import all from mWT_Common;

                Test Purpose {
                    TP Id TP_mWT_PNC_PT_ETH_TOPO_GET_BV_01
                    TP Id TP_mWT_PNC_PT_ETH_TOPO_NETWORK_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."
@@ -664,7 +642,7 @@ Package AtsMDSC {
                }

                Test Purpose {
                    TP Id TP_mWT_PNC_PT_ETH_TOPO_GET_BV_02
                    TP Id TP_mWT_PNC_PT_ETH_TOPO_NETWORK_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."
@@ -688,7 +666,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-network:networks/network={NETWORK_ID}",
                                headers containing
                                    content_type indicating value "application/yang-data+xml";;
                            from the TEST_SYSTEM entity
@@ -711,7 +689,7 @@ Package AtsMDSC {
                }

                Test Purpose {
                    TP Id TP_mWT_PNC_PT_ETH_TOPO_GET_BO_01
                    TP Id TP_mWT_PNC_PT_ETH_TOPO_NETWORK_GET_BO_01

                    Test objective
                        "Verify that the IUT replies with an error code when the request is malformed."
@@ -736,7 +714,7 @@ Package AtsMDSC {
                    ensure that {
                        when {
                            the IUT entity receives a vRequestGet containing
                                uri indicating value "/restconf/data/networks/NETWORK_ID"; // Malformed URI
                                uri indicating value "/restconf/data/networks/{NETWORK_ID}"; // Malformed URI
                            from the TEST_SYSTEM entity
                        } then {
                            the IUT entity sends a r400
@@ -746,7 +724,7 @@ Package AtsMDSC {
                }

                Test Purpose {
                    TP Id TP_mWT_PNC_PT_ETH_TOPO_GET_BO_02
                    TP Id TP_mWT_PNC_PT_ETH_TOPO_NETWORK_GET_BO_02

                    Test objective
                        "Verify that the IUT replies with an error code when the network identifier is unknown."
@@ -771,7 +749,7 @@ Package AtsMDSC {
                    ensure that {
                        when {
                            the IUT entity receives a vRequestGet containing
                                uri indicating value "/restconf/data/ietf-network:networks/network={UNKNOWN_NETWORK_ID)";
                                uri indicating value "/restconf/data/ietf-network:networks/network={UNKNOWN_NETWORK_ID}";
                            from the TEST_SYSTEM entity
                        } then {
                            the IUT entity sends a r404
@@ -781,7 +759,7 @@ Package AtsMDSC {
                }

                Test Purpose {
                    TP Id TP_mWT_PNC_PT_ETH_NODE_GET_BV_01
                    TP Id TP_mWT_PNC_PT_ETH_TOPO_NODE_GET_BV_01

                    Test objective
                        "Verify that the IUT provides the Ethernet network topology for all nodes with mandatory mWT GC 024 data elements subset."
@@ -806,7 +784,7 @@ Package AtsMDSC {
                    ensure that {
                        when {
                            the IUT entity receives a vRequestGet containing
                                uri indicating value "/restconf/data/ietf-network:networks/network={NETWORK_ID)/node";
                                uri indicating value "/restconf/data/ietf-network:networks/network={NETWORK_ID}/node";
                            from the TEST_SYSTEM entity
                        } then {
                            the IUT entity sends a r200 containing
@@ -858,7 +836,7 @@ Package AtsMDSC {
                    ensure that {
                        when {
                            the IUT entity receives a vRequestGet containing
                                uri indicating value "/restconf/data/ietf-network:networks/network={NETWORK_ID)/node={NODE_ID)";
                                uri indicating value "/restconf/data/ietf-network:networks/network={NETWORK_ID}/node={NODE_ID}";
                            from the TEST_SYSTEM entity
                        } then {
                            the IUT entity sends a r200 containing
@@ -911,7 +889,7 @@ Package AtsMDSC {
                    ensure that {
                        when {
                            the IUT entity receives a vRequestGet containing
                                uri indicating value "/restconf/data/ietf-network:networks/network={NETWORK_ID)/node={UNKNOWN_NODE_ID)";
                                uri indicating value "/restconf/data/ietf-network:networks/network={NETWORK_ID}/node={UNKNOWN_NODE_ID}";
                            from the TEST_SYSTEM entity
                        } then {
                            the IUT entity sends a r404
@@ -1505,7 +1483,7 @@ Package AtsMDSC {
                    ensure that {
                        when {
                            the IUT entity receives a vRequestDelete containing
                                uri indicating value "/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=ETHT_SVC_NAME",
                                uri indicating value "/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances={ETHT_SVC_NAME}",
                                headers containing
                                    content_type indicating value "application/yang-data+xml";;
                            from the TEST_SYSTEM entity
@@ -1544,7 +1522,7 @@ Package AtsMDSC {
                    ensure that {
                        when {
                            the IUT entity receives a vRequestDelete containing
                                uri indicating value "/restconf/data/ietf-eth-tran-service:etht-svc/globals/bandwitdh_profile_name=BANDWIDTH_PROFILE_NAME",
                                uri indicating value "/restconf/data/ietf-eth-tran-service:etht-svc/globals/bandwitdh_profile_name={BANDWIDTH_PROFILE_NAME}",
                                headers containing
                                    content_type indicating value "application/yang-data+xml";;
                            from the TEST_SYSTEM entity
@@ -1582,7 +1560,7 @@ Package AtsMDSC {
                    ensure that {
                        when {
                            the IUT entity receives a vRequestDelete containing
                                uri indicating value "/restconf/data/ietf-eth-tran-service:etht-svc/nstances=ETHT_SVC_NAME"; // Malformed URI
                                uri indicating value "/restconf/data/ietf-eth-tran-service:etht-svc/nstances={ETHT_SVC_NAME}"; // Malformed URI
                            from the TEST_SYSTEM entity
                        } then {
                            the IUT entity sends a r400 
@@ -1618,7 +1596,7 @@ Package AtsMDSC {
                    ensure that {
                        when {
                            the IUT entity receives a vRequestDelete containing
                                uri indicating value "/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=UNKNOWN_ETHT_SVC_NAME";
                                uri indicating value "/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances={UNKNOWN_ETHT_SVC_NAME}";
                            from the TEST_SYSTEM entity
                        } then {
                            the IUT entity sends a r404 
+11 −3
Original line number Diff line number Diff line
@@ -13,15 +13,23 @@ Package ietf_yang_library {

        type ModulesState with
            name_ of type string,
            modules of type ModuleList
            optional modules of type ModuleList,
            optional import_only_module of type ModuleList,
            content_id of type string
        ;

        type ModuleList with
            name_ of type string,
            revision of type string,
            schema of type uri,
            namespace of type uri,
            conformance_type of type string
            optional location of type uri,
            optional submodule of type Submodule
        ;

        type Submodule with
            name_ of type string,
            revision of type string,
            optional location of type uri
        ;

        // String declaration
+1 −1
Original line number Diff line number Diff line
@@ -82,7 +82,7 @@ Package mWT_Common {
        ;

        type body_restconf with
            optional modules_state of type ModulesState,
            optional module_set of type ModulesState,
            optional networks of type Networks
        ;