OvfConsumerOstNode

OvfConsumerOstNode
OvfConsumerOstNode

A node in the OVF section tree.

This class represents a node on which OVF sections can be defined. The possible node types are OstNodeType.envelope, OstNodeType.virtualSystem or OstNodeType.virtualSystemCollection, corresponding to the identically named OVF element types.

Since the node contains a list of children, it can also be regarded as a tree. This tree mirrors the structure of the OVF descriptor. It is provided to OVF consumers as a more convenient way to navigate and modify the OVF than by working directly on the XML.

AllOf
This class requires all of the following:
JSON Example
{
    "_typeName": "string",
    "id": "string",
    "type": "string",
    "section": [
        {
            "_typeName": "string",
            "lineNumber": 0,
            "xml": "string"
        }
    ],
    "child": [
        {
            "_typeName": "string",
            "id": "string",
            "type": "string",
            "section": [
                {
                    "_typeName": "string",
                    "lineNumber": 0,
                    "xml": "string"
                }
            ],
            "child": [
                "OvfConsumerOstNode Object"
            ],
            "entity": {
                "_typeName": "string",
                "type": "string",
                "value": "string"
            }
        }
    ],
    "entity": {
        "_typeName": "string",
        "type": "string",
        "value": "string"
    }
}
string
id
Required

The OVF id of the Content (VirtualSystem or VirtualSystemCollection) element.

Empty on the envelope node.

string
type
Required

The type of the node.

Possible values are defined in the OstNodeType enum.

Since the OstNode tree structure mirrors the structure of the OVF descriptor, only one Envelope node is defined, and it is always the root of the tree.

section
Optional

The list of sections on this node.

child
Optional

The list of child nodes.

As dictated by OVF, this list is subject to the following rules:

  • The Envelope node must have exactly one child.
  • VirtualSystemCollection nodes may have zero or more children.
  • VirtualSystem nodes must have no children.
entity
Optional

Reference to an instance of the ManagedEntity managed object.