SOL009 NFVMANO CIM - Implementation of deltas between v4.5.1 and v4.4.1

This merge request refers to the implementation of deltas between v4.5.1 and v4.5.1 of SOL009 NFVMANO CIM Interface.

Deadline for review: Wednesday 25th September 2024 @noon CEST

Merge request reports

Loading
+11 −0
Changes for SOL009/NFVManoConfigurationAndInformationManagement-API/environment/variables.txt: 11 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -5,9 +5,20 @@ ${NFVMANO_SCHEMA} https

${AUTHORIZATION_TOKEN}    Bearer 0b79bab50daca910b000d4f1a2b675d604257e42
${NEG_AUTHORIZATION_TOKEN}    Bearer negativetoken
${AUTHORIZATION_HEADER}    Authorization

${BAD_AUTHORIZATION_TOKEN}    Bear sometoken

${OAUTH_ENCRIPTION_ALGORITHM}    HS256
${ENTITY_PERMITTED_SCOPE}    nfvmanocim:v2:mano_entity_info
${ENTITY_NOT_PERMITTED_SCOPE}    nfvmanocim:v2:mano_entity_info:readonly
${PEER_PERMITTED_SCOPE}    nfvmanocim:v2:peer_entity_info
${PEER_NOT_PERMITTED_SCOPE}    nfvmanocim:v2:peer_entity_info:readonly
${SUBSCRIPTIONS_PERMITTED_SCOPE}    nfvmanocim:v2:subscriptions
${CHANGE_STATE_PERMITTED_SCOPE}    nfvmanocim:v2:change_state
${CHANGE_STATE_OPS_PERMITTED_SCOPE}    nfvmanocim:v2:change_state_ops
${NOT_PERMITTED_SCOPE}    nfvmanocim:v2:policies:invalid

${CONTENT_TYPE_JSON}    application/json
${ACCEPT_JSON}    application/json
${CONTENT_TYPE_PATCH}    application/merge-patch+json
+50 −6
Changes for SOL009/NFVManoConfigurationAndInformationManagement-API/schemas/ManoEntity.schema.json: 50 added lines, 6 removed lines.
Original line number Diff line number Diff line
{
	"description": "This type represents an NFV-MANO functional entity. *  NOTE 1:\tIt shall be present when \"type\" attribute is \"NFVO\", and it shall be absent in any other case. *  NOTE 2:\tIt shall be present when \"type\" attribute is \"VNFM\", and it shall be absent in any other case. *  NOTE 3:\tIt shall be present when \"type\" attribute is \"VIM\", and it shall be absent in any other case. *  NOTE 4:\tThe information about the NFV-MANO services offered by a specific type of NFV-MANO functional\n            entity is specified by the manoServices attribute.\n*  NOTE 5:\tIt is optional for the API producer to support the \"manoEntityComponents\" attribute. *  NOTE 6:\tIt shall be present when \"type\" attribute is \"WIM\", and it shall be absent in any other case. *  NOTE 7:\tIt shall be present when \"type\" attribute is \"CISM\", and it shall be absent in any other case.  *  NOTE 8:\tIt shall be present when \"type\" attribute is \"CIR\", and it shall be absent in any other case.  *  NOTE 9:\tIt shall be present when \"type\" attribute is \"CCM\", and it shall be absent in any other case. \n",
    "description": "This type represents an NFV-MANO functional entity. *  NOTE 1:\tIt shall be present when \"type\" attribute is \"NFVO\", and it shall be absent in any other case. *  NOTE 2:\tIt shall be present when \"type\" attribute is \"VNFM\", and it shall be absent in any other case. *  NOTE 3:\tIt shall be present when \"type\" attribute is \"VIM\", and it shall be absent in any other case. *  NOTE 4:\tThe information about the NFV-MANO services offered by a specific type of NFV-MANO functional\n            entity is specified by the manoServices attribute.\n*  NOTE 5:\tIt is optional for the API producer to support the \"manoEntityComponents\" attribute. *  NOTE 6:\tIt shall be present when \"type\" attribute is \"WIM\", and it shall be absent in any other case. *  NOTE 7:\tIt shall be present when \"type\" attribute is \"CISM\", and it shall be absent in any other case.  *  NOTE 8:\tIt shall be present when \"type\" attribute is \"CIR\", and it shall be absent in any other case.  *  NOTE 9:\tIt shall be present when \"type\" attribute is \"CCM\", and it shall be absent in any other case.  *  NOTE 10: It shall be present when \"type\" attribute is \"MDAF\", and it shall be absent in any other case. *  NOTE 11: It shall be present when \"type\" attribute is \"CMF\", and it shall be absent in any other case.\n",
    "type": "object",
    "required": [
        "id",
@@ -18,7 +18,7 @@
            "type": "string"
        },
        "type": {
			"description": "The enumeration ManoEntityEnumType defines the permitted values to represent NFV-MANO functional entities. It shall comply with the provisions :\n  - NFVO\tThe NFV-MANO functional entity is an NFVO.\n  - VNFM\tThe NFV-MANO functional entity is a VNFM.\n  - VIM\t  The NFV-MANO functional entity is a VIM.\n  - WIM   The NFV-MANO functional entity is a WIM.\n  - CISM  The NFV-MANO functional entity is a CISM. \n  - CIR   The NFV-MANO functional entity is a CIR.\n  - CCM   The NFV-MANO functional entity is a CCM.\n",
            "description": "The enumeration ManoEntityEnumType defines the permitted values to represent NFV-MANO functional entities. It shall comply with the provisions :\n  - NFVO\tThe NFV-MANO functional entity is an NFVO.\n  - VNFM\tThe NFV-MANO functional entity is a VNFM.\n  - VIM\t  The NFV-MANO functional entity is a VIM.\n  - WIM   The NFV-MANO functional entity is a WIM.\n  - CISM  The NFV-MANO functional entity is a CISM. \n  - CIR   The NFV-MANO functional entity is a CIR.\n  - CCM   The NFV-MANO functional entity is a CCM.\n  - MDAF  The NFV-MANO functional entity is a MDAF.\n  - CMF   The NFV-MANO functional entity is a CMF.\n",
            "type": "string",
            "enum": [
                "NFVO",
@@ -27,7 +27,9 @@
                "WIM",
                "CISM",
                "CIR",
				"CCM"
                "CCM",
                "MDAF",
                "CMF"
            ]
        },
        "name": {
@@ -141,7 +143,7 @@
            }
        },
        "manoConfigurableParams": {
			"description": "ManoConfigurableParams\n"
            "description": "# Warning: No definition found in the document ManoConfigurableParams\n"
        },
        "manoApplicationState": {
            "description": "Information and current values of the NFV-MANO functional entity’s application state.\n",
@@ -187,7 +189,8 @@
            "type": "object",
            "required": [
                "supportedVnfdFormats",
				"supportedNsdFormats"
                "supportedNsdFormats",
                "certificateManagementMode"
            ],
            "properties": {
                "maxOnboardedNsdNum": {
@@ -241,6 +244,18 @@
                        "nsdFormat",
                        "standardVersion"
                    ]
                },
                "certificateManagementMode": {
                    "description": "The supported list of VNF certificate management mode. Permitted Values: - DELEGATION-MODE: the CMF supports delegation-mode. - DIRECT-MODE: the CMF supports direct-mode.\n",
                    "type": "array",
                    "items": {
                        "type": "string",
                        "minItems": 1,
                        "enum": [
                            "DELEGATION-MODE",
                            "DIRECT-MODE"
                        ]
                    }
                }
            }
        },
@@ -250,7 +265,8 @@
            "required": [
                "resoruceMgmtModeSupport",
                "managedVnfInstanceInfos",
				"supportedVnfdFormats"
                "supportedVnfdFormats",
                "certificateManagementMode"
            ],
            "properties": {
                "resoruceMgmtModeSupport": {
@@ -295,6 +311,18 @@
                        ]
                    },
                    "minItems": 1
                },
                "certificateManagementMode": {
                    "description": "The supported list of VNF certificate management mode. Permitted Values: - DELEGATION-MODE: the CMF supports delegation-mode. - DIRECT-MODE: the CMF supports direct-mode.\n",
                    "type": "array",
                    "items": {
                        "type": "string",
                        "minItems": 1,
                        "enum": [
                            "DELEGATION-MODE",
                            "DIRECT-MODE"
                        ]
                    }
                }
            }
        },
@@ -563,6 +591,22 @@
                }
            }
        },
        "mdafSpecificInfo": {
            "description": "The supported list of data analytics types. Examples include \"Network service alarm incident analysis\" and others  specified in ETSI GS NFV-IFA 047 [i.30]).\n",
            "type": "object",
            "required": [
                "dataAnalyticsTypes"
            ],
            "properties": {
                "dataAnalyticsTypes": {
                    "type": "array",
                    "minItems": 1,
                    "items": {
                        "type": "string"
                    }
                }
            }
        },
        "_links": {
            "description": "Links to resources related to this resource.\n",
            "type": "object",
+3 −1
Changes for SOL009/NFVManoConfigurationAndInformationManagement-API/schemas/PeerEntities.schema.json: 3 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -24,7 +24,7 @@
                "type": "string"
            },
            "type": {
		  "description": "The enumeration PeerEntityEnumType defines the permitted values to represent peer functional entities. it shall complains with the provisions : - NFVO\tThe peer functional entity is an NFVO. - VNFM\tThe peer functional entity is a VNFM. - VIM\t  The peer functional entity is a VIM. - WIM\t  The peer functional entity is a WIM. - CISM   The peer functional entity is a CISM.  - CIR   The NFV-MANO functional entity is a CIR. - CCM   The NFV-MANO functional entity is a CCM. - EM\t  The peer functional entity is an EM. - OSS\t  The peer functional entity is an OSS/BSS.\n",
                "description": "The enumeration PeerEntityEnumType defines the permitted values to represent peer functional entities. it shall complains with the provisions : - NFVO\tThe peer functional entity is an NFVO. - VNFM\tThe peer functional entity is a VNFM. - VIM\t  The peer functional entity is a VIM. - WIM\t  The peer functional entity is a WIM. - CISM  The peer functional entity is a CISM.  - CIR   The NFV-MANO functional entity is a CIR. - CCM   The NFV-MANO functional entity is a CCM. - MDAF  The peer functional entity is a MDAF. - CMF   The peer functional entity is a CMF. - EM\t  The peer functional entity is an EM. - OSS\t  The peer functional entity is an OSS/BSS.\n",
                "type": "string",
                "enum": [
                    "NFVO",
@@ -34,6 +34,8 @@
                    "CISM",
                    "CIR",
                    "CCM",
                    "MDAF",
                    "CMF",
                    "EM",
                    "OSS"
                ]
+3 −1
Changes for SOL009/NFVManoConfigurationAndInformationManagement-API/schemas/PeerEntity.schema.json: 3 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@
            "type": "string"
        },
        "type": {
			"description": "The enumeration PeerEntityEnumType defines the permitted values to represent peer functional entities. it shall complains with the provisions : - NFVO\tThe peer functional entity is an NFVO. - VNFM\tThe peer functional entity is a VNFM. - VIM\t  The peer functional entity is a VIM. - WIM\t  The peer functional entity is a WIM. - CISM   The peer functional entity is a CISM.  - CIR   The NFV-MANO functional entity is a CIR. - CCM   The NFV-MANO functional entity is a CCM. - EM\t  The peer functional entity is an EM. - OSS\t  The peer functional entity is an OSS/BSS.\n",
            "description": "The enumeration PeerEntityEnumType defines the permitted values to represent peer functional entities. it shall complains with the provisions : - NFVO\tThe peer functional entity is an NFVO. - VNFM\tThe peer functional entity is a VNFM. - VIM\t  The peer functional entity is a VIM. - WIM\t  The peer functional entity is a WIM. - CISM  The peer functional entity is a CISM.  - CIR   The NFV-MANO functional entity is a CIR. - CCM   The NFV-MANO functional entity is a CCM. - MDAF  The peer functional entity is a MDAF. - CMF   The peer functional entity is a CMF. - EM\t  The peer functional entity is an EM. - OSS\t  The peer functional entity is an OSS/BSS.\n",
            "type": "string",
            "enum": [
                "NFVO",
@@ -32,6 +32,8 @@
                "CISM",
                "CIR",
                "CCM",
                "MDAF",
                "CMF",
                "EM",
                "OSS"
            ]
+32 −6
Changes for SOL009/NFVManoConfigurationAndInformationManagement-API/ChangeInterfaceStateTask.robot: 32 added lines, 6 removed lines.
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@ POST Change interface state task
    ...    Test title: POST Change interface state task
    ...    Test objective: The objective is send put request to change the state of the NFV-MANO service interface produced by the NFV-MANO functional entity
    ...    Pre-conditions: none
    ...    Reference: clause 5.5.12.3.1 - ETSI GS NFV-SOL 009 [7] v4.4.1
    ...    Reference: clause 5.5.12.3.1 - ETSI GS NFV-SOL 009 [7] v4.5.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: interface status changed
@@ -27,7 +27,7 @@ POST Change interface state task - Conflict
    ...    Test title: POST Change interface state task - Conflict
    ...    Test objective: The objective is to test that request to cchange the state of the NFV-MANO service interface produced by the NFV-MANO functional entity failed due to a conflict with the state of the NFV-MANO entity resource and perform the JSON schema validation of the failed operation HTTP response.
    ...    Pre-conditions: none
    ...    Reference: clause 5.5.12.3.1 - ETSI GS NFV-SOL 009 [7] v4.4.1
    ...    Reference: clause 5.5.12.3.1 - ETSI GS NFV-SOL 009 [7] v4.5.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: none
@@ -40,7 +40,7 @@ GET Change interface state task - Method not implemented
    ...    Test title: GET Change interface state task - Method not implemented
    ...    Test objective: The objective is to test that GET method is not allowed to retrieve the changed state of the NFV-MANO functional entity application.
    ...    Pre-conditions: none
    ...    Reference: clause 5.5.12.3.2 - ETSI GS NFV-SOL 009 [7] v4.4.1
    ...    Reference: clause 5.5.12.3.2 - ETSI GS NFV-SOL 009 [7] v4.5.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: none
@@ -52,7 +52,7 @@ PUT Change interface state task - Conflict - Method not implemented
    ...    Test title: PUT Change interface state task - Conflict - Method not implemented
    ...    Test objective: The objective is to test that PUT method is not allowed to update the changed state of the NFV-MANO functional entity application.
    ...    Pre-conditions: none
    ...    Reference: clause 5.5.12.3.3 - ETSI GS NFV-SOL 009 [7] v4.4.1
    ...    Reference: clause 5.5.12.3.3 - ETSI GS NFV-SOL 009 [7] v4.5.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: none
@@ -64,7 +64,7 @@ PATCH Change interface state task - Conflict - Method not implemented
    ...    Test title: PATCH Change interface state task - Conflict - Method not implemented
    ...    Test objective: The objective is to test that PATCH method is not allowed to update the changed state of the NFV-MANO functional entity application.
    ...    Pre-conditions: none
    ...    Reference: clause 5.5.12.3.4 - ETSI GS NFV-SOL 009 [7] v4.4.1
    ...    Reference: clause 5.5.12.3.4 - ETSI GS NFV-SOL 009 [7] v4.5.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: none
@@ -76,9 +76,35 @@ DELETE Change interface state task - Conflict - Method not implemented
    ...    Test title: DELETE Change interface state task - Conflict - Method not implemented
    ...    Test objective: The objective is to test that DELETE method is not allowed to delete the changed state of the NFV-MANO functional entity application.
    ...    Pre-conditions: none
    ...    Reference: clause 5.5.12.3.5 - ETSI GS NFV-SOL 009 [7] v4.4.1
    ...    Reference: clause 5.5.12.3.5 - ETSI GS NFV-SOL 009 [7] v4.5.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: none
    Send Delete request for Change interface state task
    Check HTTP Response Status Code Is    405

POST Change interface state task with permitted authorization scope
    [Documentation]    Test ID: 8.3.1.7.7
    ...    Test title: POST Change interface state task with permitted authorization scope
    ...    Test objective: The objective is send put request to change the state of the NFV-MANO service interface with permitted authorization scope
    ...    Pre-conditions: none
    ...    Reference: clause 5.5.12.3.1 - ETSI GS NFV-SOL 009 [7] v4.5.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: interface status changed
    Send Post request for Change interface state task with permitted authorization scope
    Check HTTP Response Status Code Is    202
    Check HTTP Response Header Contains Location
    Check PostCondition NFV-MANO service interface state matches the requested state

POST Change interface state task with not permitted authorization scope
    [Documentation]    Test ID: 8.3.1.7.8
    ...    Test title: POST Change interface state task with permitted authorization scope
    ...    Test objective: The objective is to verify that put request to change the state of the NFV-MANO service interface fails with not permitted authorization scope
    ...    Pre-conditions: none
    ...    Reference: clause 5.5.12.3.1 - ETSI GS NFV-SOL 009 [7] v4.5.1
    ...    Config ID: Config_prod_NFV-MANO
    ...    Applicability: none
    ...    Post-Conditions: interface status changed
    Send Post request for Change interface state task with not permitted authorization scope
    Check HTTP Response Status Code Is    401
 No newline at end of file
Loading
Loading