PICS Selection IUT_MDSC and ABSTRACT_BB and ETH_TOPO
Initial conditions with {
the IUT entity is idle
}
Expected behaviour
ensure that {
when {
the IUT entity receives a vRequestGet containing
uri indicating value "/restconf/data/ietf-te-topology";
from the TEST_SYSTEM entity
} then {
the IUT entity sends a r200 containing
body containing
networks containing
network_id1 containing
network_types containing
supporting_network containing
network_ref indicating value NETWORK_REFS;,
node containing
node_id indicating value NODE_ID,
supporting_node containing
network_ref indicating value NETWORK_NODE_REFS,
node_ref indicating value NODE_REFS
;;;;;;;
to the TEST_SYSTEM entity
}
}
} // End of TP Id TP_mWT_MDSC_TOPO_GET_BV_01
} // End of Group "EthernetTopology"
} // End of Group "Blackbox"
Group "PartiallyTransparent" {
} // End of Group "PartiallyTransparent"
} // End of Group "mdsc"
Group "pnc" {
Group "RESTCONF" {
import all from mWT_Common;
Test Purpose {
TP Id TP_mWT_PNC_RESTCONF_GET_BV_01
Test objective
"Verify that the IUT supports RESTCONF API request."
Reference
"ETSI GS mWT 024 Clause 5.2.1 RESTCONF Protocol",
"RFC 8040 RESTCONF Protocol",
"RFC 8525 YANG Library"
Config Id Config_mWT_2
PICS Selection IUT_PNC and RESTCONF and SEC_TLS
Initial conditions with {
the IUT entity is idle
}
Expected behaviour
ensure that {
when {
the IUT entity receives a vRequestGet containing
uri indicating value "/restconf/data/ietf-yang-library:modules-state";
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",
modules containing
non empty list;;;;
to the TEST_SYSTEM entity
}
}
}
Test Purpose {
TP Id TP_mWT_PNC_RESTCONF_GET_BV_02
Test objective
"Verify that the IUT supports the basic YANG data models."
Reference
"ETSI GS mWT 024 Clause 5.2.2.1 YANG Version"
Config Id Config_mWT_2
PICS Selection IUT_PNC and RESTCONF and SEC_TLS
Initial conditions with {
the IUT entity is idle
}
Expected behaviour
ensure that {
when {
the IUT entity receives a vRequestGet containing
uri indicating value "/restconf/data/ietf-yang-library:modules-state";
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",
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";,
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";,
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",
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";,
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";,
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";,
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";,
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";;;;;;
to the TEST_SYSTEM entity
}
}
}
Test Purpose {
TP Id TP_mWT_PNC_RESTCONF_GET_BV_03
Test objective
"Verify that the IUT provides the list of supported mWT GS 024 YANG data models."
Reference
"ETSI GS mWT 024 Clause 5.2.2.2 Common YANG data models",
"ETSI GS mWT 024 Clause 5.2.2.3 YANG Data Models at the Microwave MPI",
"ETSI GS mWT 024 Clause 5.2.2.4 Hierarchical relationship among YANG data models"
Config Id Config_mWT_2
PICS Selection IUT_PNC and RESTCONF and SEC_TLS
Initial conditions with {
the IUT entity is idle
}
Expected behaviour
ensure that {
when {
the IUT entity receives a vRequestGet containing
uri indicating value "/restconf/data/ietf-yang-library:modules-state";
from the TEST_SYSTEM entity
} then {
the IUT entity sends a r200 containing
body containing
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";,
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";,
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 "";;;;;
to the TEST_SYSTEM entity
}
}
}
} // End of Group Group "RESTCONF"
Group "Blackbox" {
Group "MWTopology" {
import all from mWT_Common;
Test Purpose {
TP Id TP_mWT_PNC_MW_TOPO_GET_BV_01
Test objective
"Verify that the IUT provides the MW 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/ietf-microwave-topology/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 indicating value any_value
mw_topology containing
;,
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_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."
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/ietf-network: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";,