aboutsummaryrefslogtreecommitdiffstats
path: root/common/onap-tosca-datatype/src/main/resources/globalTypes/openecomp/data.yml
blob: 47d424f40798a87b7ac7c74e46837379412b87e8 (plain)
1
2
3
4
5
6
7
8

@media only all and (prefers-color-scheme: dark) {
.highlight .hll { background-color: #49483e }
.highlight .c { color: #75715e } /* Comment */
.highlight .err { color: #960050; background-color: #1e0010 } /* Error */
.highlight .k { color: #66d9ef } /* Keyword */
.highlight .l { color: #ae81ff } /* Literal */
.highlight .n { color: #f8f8f2 } /* Name */
.highlight .o { color: #f92672 } /* Operator */
.highlight .p { color: #f8f8f2 } /* Punctuation */
.highlight .ch { color: #75715e } /* Comment.Hashbang */
.highlight .cm { color: #75715e } /* Comment.Multiline */
.highlight .cp { color: #75715e } /* Comment.Preproc */
.highlight .cpf { color: #75715e } /* Comment.PreprocFile */
.highlight .c1 { color: #75715e } /* Comment.Single */
.highlight .cs { color: #75715e } /* Comment.Special */
.highlight .gd { color: #f92672 } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gi { color: #a6e22e } /* Generic.Inserted */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #75715e } /* Generic.Subheading */
.highlight .kc { color: #66d9ef } /* Keyword.Constant */
.highlight .kd { color: #66d9ef } /* Keyword.Declaration */
.highlight .kn { color: #f92672 } /* Keyword.Namespace */
.highlight .kp { color: #66d9ef } /* Keyword.Pseudo */
.highlight .kr { color: #66d9ef } /* Keyword.Reserved */
.highlight .kt { color: #66d9ef } /* Keyword.Type */
.highlight .ld { color: #e6db74 } /* Literal.Date */
.highlight .m { color: #ae81ff } /* Literal.Number */
.highlight .s { color: #e6db74 } /* Literal.String */
.highlight .na { color: #a6e22e } /* Name.Attribute */
.highlight .nb { color: #f8f8f2 } /* Name.Builtin */
.highlight .nc { color: #a6e22e } /* Name.Class */
.highlight .no { color: #66d9ef } /* Name.Constant */
.highlight .nd { color: #a6e22e } /* Name.Decorator */
.highlight .ni { color: #f8f8f2 } /* Name.Entity */
.highlight .ne { color: #a6e22e } /* Name.Exception */
.highlight .nf { color: #a6e22e } /* Name.Function */
.highlight .nl { color: #f8f8f2 } /* Name.Label */
.highlight .nn { color: #f8f8f2 } /* Name.Namespace */
.highlight .nx { color: #a6e22e } /* Name.Other */
.highlight .py { color: #f8f8f2 } /* Name.Property */
.highlight .nt { color: #f92672 } /* Name.Tag */
.highlight .nv { color: #f8f8f2 } /* Name.Variable */
.highlight .ow { color: #f92672 } /* Operator.Word */
.highlight .w { color: #f8f8f2 } /* Text.Whitespace */
.highlight .mb { color: #ae81ff } /* Literal.Number.Bin */
.highlight .mf { color: #ae81ff } /* Literal.Number.Float */
.highlight .mh { color: #ae81ff } /* Literal.Number.Hex */
.highlight .mi { color: #ae81ff } /* Literal.Number.Integer */
.highlight .mo { color: #ae81ff } /* Literal.Number.Oct */
.highlight .sa { color: #e6db74 } /* Literal.String.Affix */
.highlight .sb { color: #e6db74 } /* Literal.String.Backtick */
.highlight .sc { color: #e6db74 } /* Literal.String.Char */
.highlight .dl { color: #e6db74 } /* Literal.String.Delimiter */
.highlight .sd { color: #e6db74 } /* Literal.String.Doc */
.highlight .s2 { color: #e6db74 } /* Literal.String.Double */
.highlight .se { color: #ae81ff } /* Literal.String.Escape */
.highlight .sh { color: #e6db74 } /* Literal.String.Heredoc */
.highlight .si { color: #e6db74 } /* Literal.String.Interpol */
.highlight .sx { color: #e6db74 } /* Literal.String.Other */
.highlight .sr { color: #e6db74 } /* Literal.String.Regex */
.highlight .s1 { color: #e6db74 } /* Literal.String.Single */
.highlight .ss { color: #e6db74 } /* Literal.String.Symbol */
.highlight .bp { color: #f8f8f2 } /* Name.Builtin.Pseudo */
.highlight .fm { color: #a6e22e } /* Name.Function.Magic */
.highlight .vc { color: #f8f8f2 } /* Name.Variable.Class */
.highlight .vg { color: #f8f8f2 } /* Name.Variable.Global */
.highlight .vi { color: #f8f8f2 } /* Name.Variable.Instance */
.highlight .vm { color: #f8f8f2 } /* Name.Variable.Magic */
.highlight .il { color: #ae81ff } /* Literal.Number.Integer.Long */
}
@media (prefers-color-scheme: light) {
.highlight .hll { background-color: #ffffcc }
.highlight .c { color: #888888 } /* Comment */
.highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.highlight .k { color: #008800; font-weight: bold } /* Keyword */
.highlight .ch { color: #888888 } /* Comment.Hashbang */
.highlight .cm { color: #888888 } /* Comment.Multiline */
.highlight .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */
.highlight .cpf { color: #888888 } /* Comment.PreprocFile */
.highlight .c1 { color: #888888 } /* Comment.Single */
.highlight .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */
.highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gr { color: #aa0000 } /* Generic.Error */
.highlight .gh { color: #333333 } /* Generic.Heading */
.highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
.highlight .go { color: #888888 } /* Generic.Output */
.highlight .gp { color: #555555 } /* Generic.Prompt */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #666666 } /* Generic.Subheading */
.highlight .gt { color: #aa0000 } /* Generic.Traceback */
.highlight .kc { color: #008800; font-weight: bold } /* Keyword.Constant */
.highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */
.highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */
.highlight .kp { color: #008800 } /* Keyword.Pseudo */
.highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */
.highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */
.highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */
.highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */
.highlight .na { color: #336699 } /* Name.Attribute */
.highlight .nb { color: #003388 } /* Name.Builtin */
.highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */
.highlight .no { color: #003366; font-weight: bold } /* Name.Constant */
.highlight .nd { color: #555555 } /* Name.Decorator */
.highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */
.highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */
.highlight .nl { color: #336699; font-style: italic } /* Name.Label */
.highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */
.highlight .py { color: #336699; font-weight: bold } /* Name.Property */
.highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */
.highlight .nv { color: #336699 } /* Name.Variable */
.highlight .ow { color: #008800 } /* Operator.Word */
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
.highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */
.highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */
.highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */
.highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */
.highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */
.highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */
.highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */
.highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */
.highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */
.highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */
.highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */
.highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */
.highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */
.highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */
.highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */
.highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */
.highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */
.highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */
.highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */
.highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */
.highlight .vc { color: #336699 } /* Name.Variable.Class */
.highlight .vg { color: #dd7700 } /* Name.Variable.Global */
.highlight .vi { color: #3333bb } /* Name.Variable.Instance */
.highlight .vm { color: #336699 } /* Name.Variable.Magic */
.highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
}
{
"eventID": "SomeEventID-TBD",

"APPCVDCName": "Delete this field not needed by App-C",
"requestTime": "0000-00-00 00:00:00.000000",
"policyVersion": "1",
"VMName": "123",
"from": "test",
"msgOid": ".1.3.6.1.4.1.193.183.4.1.3.5.1.4",
"VMID": "abc12345-1234-5678-890a-abcdefg12345",
"trapID": "1234567",
"requestClient": "test",
"message": "Abnormal condition detected",
"time": "123567890",
"policyName": "RESTART",
"trapIDOID": ".1.3.6.1.4.1.193.183.4.1.3.5.1.3",
"request": "Restart",
"OPS_CL_timer": "15",
"nOID": ".1.3.6.1.4.1.193.183.4.2.0.4",
"AgentAddress": "192.168.1.2",
"vmOID": ".1.3.6.1.4.1.193.183.4.1.2.1",
"TenantID": "abcde12345fghijk6789lmnopq123rst",
"VServerSelfLink": "http://192.168.1.2:8774/v2/abcde12345fghijk6789lmnopq123rst/servers/abc12345-1234-5678-890a-abcdefg12345"
}
340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

tosca_definitions_version: tosca_simple_yaml_1_1

metadata:
  filename: openecomp/data.yml
  version: '1.0'

imports:
- openecomp_index:
    file: _index.yml

data_types:

  org.openecomp.datatypes.network.ProviderNetwork:
    derived_from: org.openecomp.datatypes.Root
    properties:
      is_provider_network:
        description: \"true\" indicates that this a Neutron provider type of network
        type: boolean
        required: true
      physical_network_name:
        description: |
          Identifies the NUMA processor cluster to which this physical network interface belongs. NUMA instance correlates to the first digit of the Physical Network Name suffix (e.g. \"01\" = NUMA 0, \"11\" = NUMA 1)
        type: string
        required: false
        constraints:
        - valid_values:
          - Physnet41
          - Physnet42
          - Physnet43
          - Physnet44
          - Physnet21
          - Physnet22
      numa:
        description: |
          PNIC instance within the NUMA processor cluster PNIC Instance correlates to the second digit of the Physical Network Name suffix (e.g. "01" = PNIC 1, "02" = "PNIC 2)
        type: string
        required: false
        constraints:
        - valid_values:
          - NUMA 0
          - NUMA 1
      pnic_instance:
        description: PNIC instance within the NUMA processor cluster
        type: integer
        required: false

  org.openecomp.datatypes.DeploymentFlavor:
    derived_from: tosca.datatypes.Root
    description: Deployment Flavor
    properties:
      name:
        description: Deployment Flavor Name
        type: string
        status: SUPPORTED
        required: true
      license_feature_group:
        description: license feature group associated with Deployment Flavor
        type: org.openecomp.datatypes.FeatureGroup
        status: SUPPORTED
        required: true
      compute_size:
        description: Size of VM
        type: org.openecomp.datatypes.ComputeFlavor
        status: SUPPORTED
        required: true

  org.openecomp.datatypes.FeatureGroup:
    derived_from: tosca.datatypes.Root
    description: License Feature Group
    properties:
      license_feature_group_ref:
        description: Deployment Flavor Name
        type: string
        status: SUPPORTED
        required: true
      part_number:
        description: refrence part number related to feature group
        type: string
        status: SUPPORTED
        required: true

  org.openecomp.datatypes.EcompHoming:
    derived_from: org.openecomp.datatypes.Root
    properties:
      ecomp_selected_instance_node_target:
        description: |
          "true" indicates that the target deployment node for this instance will be auto-selected by OPENECOMP "false" indicates operator-supplied instance target deployment node required (e.g. VID will present a prompt to operator and collect the operator-selected target node for the deployment of this Network instance).
        type: boolean
        default: false
        required: true
      homing_policy:
        description: Referenc to a service level homing policy that OPENECOMP will use for instance deployment target node
        type: string
        required: false
      instance_node_target:
        description: Instance target deployment node
        type: string
        required: false

  org.openecomp.datatypes.AssignmentRequirements:
    derived_from: org.openecomp.datatypes.Root
    properties:
      is_required:
        description: |
          "true" indicates that assignment is required
        type: boolean
        default: false
        required: true
      count:
        description: number of assignments required
        type: integer
        required: false

  org.openecomp.resource.abstract.nodes.PNF:
    derived_from: tosca.nodes.Root
    properties:
      nf_function:
        type: string
      nf_role:
        type: string
      nf_type:
        type: string


  org.openecomp.datatypes.network.IpRequirements:
    derived_from: org.openecomp.datatypes.Root
    properties:
      ip_version:
        type: integer
        required: true
        constraints:
          - valid_values:
            - 4
            - 6
      ip_count:
        description: identifies the number of ip address to assign to the CP from the plan
        type: integer
        required: false
      floating_ip_count:
        type: integer
        required: false
      subnet_role:
        type: string
        required: false
      assingment_method:
        type: string
        required: true
        constraints:
          - valid_values:
            - fixed
            - dhcp
      dhcp_enabled:
        type: boolean
        required: false
      ip_count_required:
        description: identifies the number of ip address to assign to the CP from the plan
        type: org.openecomp.datatypes.AssignmentRequirements
        required: false
      floating_ip_count_required:
        type: org.openecomp.datatypes.AssignmentRequirements
        required: false
      ip_address_plan_name:
        type: string
        required: false
      vrf_name:
        type: string
        required: false

  org.openecomp.datatypes.network.PhysicalNetwork:
    derived_from: org.openecomp.datatypes.Root
    properties:
      provider_network:
        description: true indicates that this a Neutron provider type of network
        type: boolean
        required: true
      physical_network_name:
        description: |
          Identifies the NUMA processor cluster to which this physical network interface belongs. NUMA instance correlates to the first digit of the Physical Network Name suffix (e.g. "01" = NUMA 0, "11" = NUMA 1)
        type: string
        required: false
        constraints:
        - valid_values:
          - Physnet-SRIOV-1
          - Physnet-SRIOV-2
          - Physnet-SRIOV-11
          - Physnet-SRIOV-12
      numa:
        description: |
          PNIC instance within the NUMA processor cluster PNIC Instance correlates to the second digit of the Physical Network Name suffix (e.g. "01" = PNIC 1, "02" = "PNIC 2)
        type: string
        required: false
        constraints:
        - valid_values:
          - NUMA 0
          - NUMA 1
      pnic_instance:
        description: PNIC instance within the NUMA processor cluster
        type: integer
        required: false

  org.openecomp.datatypes.network.VlanRequirements:
    derived_from: org.openecomp.datatypes.Root
    properties:
      vlan_range_plan:
        description: reference to a vlan range plan
        type: string
        required: true
      vlan_type:
        description: identifies the vlan type (e.g., c-tag)
        type: string
        required: true
        constraints:
        - valid_values:
          - c-tag
          - s-tag
      vlan_count:
        description: identifies the number of vlan tags to assign to the CP from the plan
        type: integer
        required: true

  org.openecomp.datatypes.ComputeFlavor:
    derived_from: tosca.datatypes.Root
    description: Compute Flavor (Size)
    properties:
      name:
        description: Compute Flavor Name
        type: string
        status: SUPPORTED
        required: true
      num_cpus:
        description: Number of cpu
        type: integer
        status: SUPPORTED
        required: true
      disk_size:
        description: Disk size
        type: scalar-unit.size
        status: SUPPORTED
        required: true
      mem_size:
        description: Memory size
        type: scalar-unit.size
        status: SUPPORTED
        required: true

  org.openecomp.datatypes.network.MacAssignments:
    derived_from: org.openecomp.datatypes.Root
    properties:
      mac_range_plan:
        description: reference to a MAC address range plan
        type: string
        required: true
      mac_count:
        description: identifies the number of MAC addresses to assign to the CP from the plan
        type: integer
        required: false
      mac_count_required:
        description: identifies the number of MAC addresses to assign to the CP from the plan
        type: org.openecomp.datatypes.AssignmentRequirements
        required: false

  org.openecomp.datatypes.network.MacRequirements:
    derived_from: org.openecomp.datatypes.Root
    properties:
      mac_range_plan:
        description: reference to a MAC address range plan
        type: string
        required: true
      mac_count:
        description: identifies the number of MAC addresses to assign to the CP from the plan
        type: integer
        required: false
      mac_count_required:
        description: identifies the number of MAC addresses to assign to the CP from the plan
        type: org.openecomp.datatypes.AssignmentRequirements
        required: false

  org.openecomp.datatypes.network.SubnetAssignments:
    derived_from: org.openecomp.datatypes.Root
    properties:
      ip_network_address_plan:
        description: Reference to EIPAM, VLAN or other address plan ID used to assign subnets to this network
        type: string
        required: false
      dhcp_enabled:
        description: \"true\" indicates the network has 1 or more policies
        type: boolean
        required: false
      ip_version:
        description: The IP version of the subnet
        type: integer
        required: true
        constraints:
        - valid_values:
          - 4
          - 6
      cidr_mask:
        description: The default subnet CIDR mask
        type: integer
        required: true
      min_subnets_count:
        description: Quantity of subnets that must be initially assigned
        type: integer
        default: 1
        required: true

  org.openecomp.datatypes.Artifact:
    derived_from: org.openecomp.datatypes.Root
    properties:
      artifact_name:
        description: Artifcat name
        type: string
        required: true
      artifact_type:
        description: Artifcat type
        type: string
        required: true
      artifact_uuid:
        description: Artifcat UUID
        type: string
        required: true
      artifact_checksum:
        description: Artifact checksum
        type: string
        required: true
      artifact_url:
        description: Artifcay URL. Can also include only the file name
        type: string
        required: true

  org.openecomp.datatypes.network.IPv4SubnetAssignments:
    derived_from: org.openecomp.datatypes.network.SubnetAssignments
    properties:
      use_ipv4:
        description: Indicates IPv4 subnet assignments
        type: boolean
        required: true

  org.openecomp.datatypes.Root:
    derived_from: tosca.datatypes.Root
    description: |
      The AT&T root Data Type all other Data Types derive from
    properties:
      supplemental_data:
        type: map
        entry_schema:
          type: string
          description: |
            A placeholder for missing properties that would be included in future OPENecomp model
            versions. fromat <key>:<value>


  org.openecomp.datatypes.substitution.SubstitutionFiltering:
    derived_from: tosca.datatypes.Root
    description: Substitution Filter
    properties:
      substitute_service_template:
        description: Substitute Service Template
        type: string
        status: SUPPORTED
        required: true
      index_value:
        description: Index value of the substitution service template runtime instance
        type: integer
        status: SUPPORTED
        default: 0
        required: false
        constraints:
        - greater_or_equal: 0
      count:
        description: Count
        type: integer
        status: SUPPORTED
        default: 1
        required: false
      scaling_enabled:
        description: Indicates whether service scaling is enabled
        type: boolean
        status: SUPPORTED
        default: true
        required: false
      mandatory:
        description: Mandatory
        type: boolean
        status: SUPPORTED
        required: false

  org.openecomp.datatypes.network.NetworkFlows:
    derived_from: org.openecomp.datatypes.Root
    properties:
      is_network_policy:
        description: true indicates the network has 1 or more policies
        type: boolean
        default: false
        required: false
      network_policy:
        description: Identifies the specific OPENECOMP Contrail network policy that must be applied to this network (source - from Policy Manager)
        type: string
        required: false
      vpn_binding:
        description: Identifies the specific VPN Binding entry in A&AI that must be applied when creating this network (source - A&AI)
        type: string
        required: false

  org.openecomp.datatypes.network.NetworkAssignments:
    derived_from: org.openecomp.datatypes.Root
    properties:
      ecomp_generated_network_assignment:
        description: |
          "true" indicates that the network assignments will be auto-generated by OPENECOMP "false" indicates operator-supplied Network assignments file upload is required (e.g. VID will present prompt to operator to upload operator-supplied Network assignments file).
        type: boolean
        default: false
        required: true
      network_assignments_file:
        description: Filename of the template that specifies all of the configurable name/value pairs of Network assignments in this Network model
        type: string
        required: false
      multi_tenant:
        description: true means this network is shared by multiple Openstack tenants
        type: boolean
        default: true
        required: true
      min_subnets_count:
        description: Quantity of subnets that must be initially assigned
        type: integer
        required: true
      ip_network_address_plan:
        description: Reference to EIPAM, VLAN or other address plan ID used to assign subnets to this network
        type: string
        required: true
      vlan_network_address_plan:
        description: Reference to VLAN or other address plan ID used to assign subnets to this network
        type: string
        required: true

  org.openecomp.datatypes.network.IPv6SubnetAssignments:
    derived_from: org.openecomp.datatypes.network.SubnetAssignments
    properties:
      use_ipv6:
        description: Indicates IPv6 subnet assignments
        type: boolean
        required: true

  org.openecomp.datatypes.EcompNaming:
    derived_from: org.openecomp.datatypes.Root
    properties:
      ecomp_generated_naming:
        description: |
          "true" indicates that the name for the instance will be auto-generated by OPENECOMP. "false" indicates operator-supplied name required (e.g. VID will present prompt to operator and collect the operator-supplied instance name).
        type: boolean
        default: true
        required: true
      naming_policy:
        description: Referenc to naming policy that OPENECOMP will use when the name is auto-generated
        type: string
        required: false

  org.openecomp.datatypes.Naming:
    derived_from: org.openecomp.datatypes.Root
    properties:
      ecomp_generated_naming:
        description: |
          "true" indicates that the name for the instance will be auto-generated by OPENECOMP. "false" indicates operator-supplied name required (e.g. VID will present prompt to operator and collect the operator-supplied instance name).
        type: boolean
        default: true
        required: true

  org.openecomp.datatypes.EcompGeneratedNaming:
    derived_from: org.openecomp.datatypes.Naming
    properties:
      naming_policy:
        description: Referenc to naming policy that OPENECOMP will use when the name is auto-generated
        type: string
        required: false

  org.openecomp.datatypes.UserDefinedNaming:
    derived_from: org.openecomp.datatypes.Naming
    properties:
      instance_name:
        description: Reference to naming policy that OPENECOMP will use when the name is auto-generated
        type: string
        required: false

  org.openecomp.datatypes.flavors.DeploymentFlavor:
    properties:
      sp_part_number:
        type: string
        description: Part number of the feature group associated with the deployment flavor
      vendor_info:
        type: org.openecomp.datatypes.flavors.VendorInfo
        description: Vendor information for the deployment flavor
      compute_flavor:
        type: org.openecomp.datatypes.flavors.ComputeFlavor
        description: Compute information for the deployment flavor
      license_flavor:
        type: org.openecomp.datatypes.flavors.LicenseFlavor
        description: License information for the deployment flavor
        required: false

  org.openecomp.datatypes.flavors.ComputeFlavor:
    properties:
      num_cpus:
        type: integer
        description: Number of CPUs for the VM
      disk_size:
        type: scalar-unit.size
        description: Disk size of the VM
      mem_size:
        type: scalar-unit.size
        description: Memory size of the VM

  org.openecomp.datatypes.flavors.LicenseFlavor:
    properties:
      feature_group_uuid:
        type: string
        description: Feature Group Id

  org.openecomp.datatypes.flavors.VendorInfo:
    properties:
      manufacturer_reference_number:
        type: string
        description: Manufacturer reference number
      vendor_model:
        type: string
        description: Vendor License Model Id

  org.openecomp.datatypes.ImageInfo:
    properties:
      software_version:
        type: string
        description: Image version
      file_name:
        type: string
        description: Image file name
      file_hash:
        type: string
        description: checksum/signature
      file_hash_type:
        type: string
        description: Hash type
        required: false
        default: md5

  # New data types for Port Mirroring
  org.openecomp.datatypes.PortMirroringConnectionPointDescription:
    properties:
      nf_type:
        type: string
      nfc_type:
        type: string
      network_role:
        type: string
      pps_capacity:
        type: string

  tosca.datatypes.network.NetworkInfo:
    properties:
      network_id:
        required: false
        type: string
      addresses:
        entry_schema:
          type: string
        required: false
        type: list
      network_name:
        required: false
        type: string
  tosca.datatypes.network.PortInfo:
    properties:
      port_name:
        required: false
        type: string
      network_id:
        required: false
        type: string
      addresses:
        entry_schema:
          type: string
        required: false
        type: list
      mac_address:
        required: false
        type: string
      port_id:
        required: false
        type: string