Commit 89a6d5b9 authored by Giacomo Bernini's avatar Giacomo Bernini Committed by Giacomo Bernini
Browse files

updated Policy schema

parent dc312aee
Loading
Loading
Loading
Loading
+120 −120
Original line number Diff line number Diff line
{  "type": "array",
   "items":
{
    "type": "array",
    "items": {
        "description": "This type represents an individual policy. It shall comply with the provisions defined in table 5.6.2.3-1.",
        "type": "object",
        "properties": {
@@ -21,7 +21,7 @@
                "type": "string"
            },
            "versions": {
			"description": "Versions of the policy. Shall be present if at least one version of the policy has been transferred.\n",
                "description": "Versions of the policy. Shall be present if at least one version of the policy has been transferred. Its value shall be the same as the version present in the actual policy content as defined by the \"policyVersion\" attribute in the \"Policy\" information element specified in clause 5.2 of ETSI GS NFV-IFA 048 [ref-ifa048].\n",
                "type": "array",
                "items": {
                    "description": "A version.\n",
@@ -49,7 +49,7 @@
                ]
            },
            "associations": {
			"description": "Identifiers of the entities that the PF manages and to which the policy associates to. Shall be absent when the association feature is not applicable for the PF. The associations refer to identifiers of entities that the PF manages. E.g., if the PF is a VNFM, the policy can associate to VNF instances; if the PF is NFVO, the policy can associate to an NS instances. How the PF determines the scope of applicability of the policy when this attribute is absent is outside the scope of the present document.\n",
                "description": "Identifiers of the entities that the PF manages and to which the policy associates to. Shall be absent when the association feature is not applicable for the PF, i.e., the target information in the policy content defined by the \"targetType\" attribute of the \"Policy\" information element specified in clause 5.2 of ETSI GS NFV-IFA 048 [ref-ifa048] is equal to \"COMMON\". An initial set of associations applicable to a policy to be set by the API producer may either be provided by the \"associations\" attribute in the \"CreatePolicyRequest\" or by the actual policy content via the \"targetObjectId\" attribute of the \"Policy” information element specified in clause 5.2 of ETSI GS NFV-IFA 048 [ref-ifa048]. Values of the \"associations\" attribute can be further modified with the PATCH method. See note 2 and note 3.\n",
                "type": "array",
                "items": {
                    "description": "An identifier with the intention of being globally unique.\n",
+116 −116
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@
            "type": "string"
        },
        "versions": {
			"description": "Versions of the policy. Shall be present if at least one version of the policy has been transferred.\n",
            "description": "Versions of the policy. Shall be present if at least one version of the policy has been transferred. Its value shall be the same as the version present in the actual policy content as defined by the \"policyVersion\" attribute in the \"Policy\" information element specified in clause 5.2 of ETSI GS NFV-IFA 048 [ref-ifa048].\n",
            "type": "array",
            "items": {
                "description": "A version.\n",
@@ -47,7 +47,7 @@
            ]
        },
        "associations": {
			"description": "Identifiers of the entities that the PF manages and to which the policy associates to. Shall be absent when the association feature is not applicable for the PF. The associations refer to identifiers of entities that the PF manages. E.g., if the PF is a VNFM, the policy can associate to VNF instances; if the PF is NFVO, the policy can associate to an NS instances. How the PF determines the scope of applicability of the policy when this attribute is absent is outside the scope of the present document.\n",
            "description": "Identifiers of the entities that the PF manages and to which the policy associates to. Shall be absent when the association feature is not applicable for the PF, i.e., the target information in the policy content defined by the \"targetType\" attribute of the \"Policy\" information element specified in clause 5.2 of ETSI GS NFV-IFA 048 [ref-ifa048] is equal to \"COMMON\". An initial set of associations applicable to a policy to be set by the API producer may either be provided by the \"associations\" attribute in the \"CreatePolicyRequest\" or by the actual policy content via the \"targetObjectId\" attribute of the \"Policy” information element specified in clause 5.2 of ETSI GS NFV-IFA 048 [ref-ifa048]. Values of the \"associations\" attribute can be further modified with the PATCH method. See note 2 and note 3.\n",
            "type": "array",
            "items": {
                "description": "An identifier with the intention of being globally unique.\n",