aboutsummaryrefslogtreecommitdiffstats
path: root/common/onap-tosca-datatype/src/main/resources/globalTypes/openecomp/data.yml
blob: 275493a7fa4814bdc38f0524194c9d0754770062 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
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
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
#
# 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
          - sriovnet1
          - sriovnet2
          - oam
      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.CSProperties:
    derived_from: org.openecomp.datatypes.Root
    properties:
      sNSSAI:
        type: string
        required: true
        description: sNSSAI
      maxNumberofUEs:
        type: integer
        required: true
        default: 1000
        description: maxNumberofUEs
      latency:
        type: integer
        required: true
        default: 30
        description: latency
      expDataRateDL:
        type: integer
        required: false
        description: expDataRateDL
      expDataRateUL:
        type: integer
        required: false
        description: expDataRateUL
      coverageAreaList:
        type: string
        required: true
        description: coverageAreaList
      uEMobilityLevel:
        type: string
        constraints:
          - valid_values: ["stationary", "nomadic","restricted mobility","fully mobility"]
        required: false
        description: uEMobilityLevel
      useInterval:
        type: string
        required: true
        description: useInterval
      resourceSharingLevel:
        type: string
        required: true
        default: "Shared"
        constraints:
          - valid_values: ["Shared", "Non-shared"]
        description: resourceSharingLevel

  org.openecomp.datatypes.NSCapabilities:
    derived_from: org.openecomp.datatypes.Root
    properties:
      pLMNIdList:
        type: string
        required: true
        description: pLMNIdList
      maxNumberofUEs:
        type: integer
        required: true
        default: 1000
        description: maxNumberofUEs
      latency:
        type: integer
        required: true
        default: 30
        description: latency
      uEMobilityLevel:
        type: string
        constraints:
          - valid_values: ["stationary", "nomadic","restricted mobility","fully mobility"]
        required: false
        description: uEMobilityLevel
      resourceSharingLevel:
        type: string
        required: true
        default: "Shared"
        constraints:
          - valid_values: ["Shared", "Non-shared"]
        description: resourceSharingLevel
      sST:
        type: string
        required: true
        default: "eMBB"
        constraints:
          - valid_values: ["eMBB", "uRLLC", "mIot"]
        description: sST
      availability:
        type: float
        required: false
        description: availability
      dLThptPerUE:
        type: integer
        required: false
        description: dLThptPerUE
      uLThptPerUE:
        type: integer
        required: false
        description: uLThptPerUE
      maxPktSize:
        type: integer
        required: false
        description: maxPktSize
      termDensity:
        type: integer
        required: false
        description: termDensity
      activityFactor:
        type: integer
        required: false
        description: activityFactor
      jitter:
        type: integer
        required: false
        description: jitter
      survivalTime:
        type: string
        required: false
        description: survivalTime
      reliability:
        type: string
        required: false
        description: reliability
      dLThptPerSlice:
        type: integer
        required: false
        description: dLThptPerSlice
      uLThptPerSlice:
        type: integer
        required: false
        description: uLThptPerSlice
      maxNumberofConns:
        type: integer
        required: false
        description: maxNumberofConns

  org.openecomp.datatypes.NSSCapabilities:
    derived_from: org.openecomp.datatypes.Root
    properties:
      pLMNIdList:
        type: string
        required: true
        description: pLMNIdList
      maxNumberofUEs:
        type: integer
        required: true
        default: 10000
        description: maxNumberofUEs
      latency:
        type: integer
        required: true
        default: 30
        description: latency
      uEMobilityLevel:
        type: string
        constraints:
          - valid_values: ["stationary", "nomadic","restricted mobility","fully mobility"]
        required: false
        description: uEMobilityLevel
      resourceSharingLevel:
        type: string
        required: true
        default: "Shared"
        constraints:
          - valid_values: ["Shared", "Non-shared"]
        description: resourceSharingLevel
      sST:
        type: string
        required: true
        default: "eMBB"
        constraints:
          - valid_values: ["eMBB", "uRLLC", "mIot"]
        description: sST
      expDataRateDL:
        type: integer
        required: false
        description: expDataRateDL
      expDataRateUL:
        type: integer
        required: false
        description: expDataRateUL
      areaTrafficCapDL:
        type: integer
        required: false
        description: areaTrafficCapDL
      areaTrafficCapUL:
        type: integer
        required: false
        description: areaTrafficCapUL
      overallUserDensity:
        type: integer
        required: false
        description: overallUserDensity
      activityFactor:
        type: integer
        required: false
        description: activityFactor
      cSAvailabilityTarget:
        type: float
        required: false
        description: cSAvailabilityTarget
      cSReliabilityMeanTime:
        type: string
        required: false
        description: cSReliabilityMeanTime
      expDataRate:
        type: integer
        required: false
        description: expDataRate
      msgSizeByte:
        type: string
        required: false
        description: msgSizeByte
      transferIntervalTarget:
        type: string
        required: false
        description: transferIntervalTarget
      survivalTime:
        type: string
        required: false
        description: survivalTime
      maxNumberofPDUSession:
        type: integer
        required: false
        description: maxNumberofPDUSession

  org.openecomp.datatypes.ServiceProfile:
    derived_from: org.openecomp.datatypes.Root
    properties:
      sNSSAI:
        type: string
        required: true
        description: sNSSAI
      pLMNIdList:
        type: string
        required: true
        description: pLMNIdList
      maxNumberofUEs:
        type: integer
        required: true
        default: 1000
        description: maxNumberofUEs
      latency:
        type: integer
        required: true
        default: 30
        description: latency
      activityFactor:
        type: integer
        constraints:
          - in_range: [0,100]
        required: false
        default: 20
        description: activityFactor
      coverageAreaTAList:
        type: string
        required: false
        description: coverageAreaTAList
      uEMobilityLevel:
        type: string
        constraints:
          - valid_values: ["stationary", "nomadic","restricted mobility","fully mobility"]
        required: false
        description: uEMobilityLevel
      resourceSharingLevel:
        type: string
        required: true
        default: "Shared"
        constraints:
          - valid_values: ["Shared", "Non-shared"]
        description: resourceSharingLevel
      sST:
        type: string
        required: true
        default: "eMBB"
        constraints:
          - valid_values: ["eMBB", "uRLLC", "mIot"]
        description: sST
      availability:
        type: float
        required: false
        description: availability
      reliability:
        type: string
        required: false
        description: reliability
      dLThptPerUE:
        type: integer
        required: false
        description: dLThptPerUE
      uLThptPerUE:
        type: integer
        required: false
        description: uLThptPerUE
      maxPktSize:
        type: integer
        required: false
        description: maxPktSize
      termDensity:
        type: integer
        required: false
        description: termDensity
      jitter:
        type: integer
        required: false
        description: jitter
      survivalTime:
        type: string
        required: false
        description: survivalTime
      dLThptPerSlice:
        type: integer
        required: false
        description: dLThptPerSlice
      uLThptPerSlice:
        type: integer
        required: false
        description: uLThptPerSlice
      maxNumberofConns:
        type: integer
        required: false
        description: maxNumberofConns

  org.openecomp.datatypes.SliceProfile:
    derived_from: org.openecomp.datatypes.Root
    properties:
      sNSSAI:
        type: string
        required: true
        description: sNSSAI
      pLMNIdList:
        type: string
        required: true
        description: pLMNIdList
      maxNumberofUEs:
        type: integer
        required: true
        default: 1000
        description: maxNumberofUEs
      latency:
        type: integer
        required: true
        default: 30
        description: latency
      expDataRateDL:
        type: integer
        required: false
        description: expDataRateDL
      expDataRateUL:
        type: integer
        required: false
        description: expDataRateUL
      areaTrafficCapDL:
        type: integer
        required: false
        description: areaTrafficCapDL
      areaTrafficCapUL:
        type: integer
        required: false
        description: areaTrafficCapUL
      overallUserDensity:
        type: integer
        required: false
        description: overallUserDensity
      activityFactor:
        type: integer
        required: false
        description: activityFactor
      coverageAreaTAList:
        type: string
        required: false
        description: coverageAreaTAList
      uEMobilityLevel:
        type: string
        constraints:
          - valid_values: ["stationary", "nomadic","restricted mobility","fully mobility"]
        required: false
        description: uEMobilityLevel
      resourceSharingLevel:
        type: string
        required: true
        default: "Shared"
        constraints:
          - valid_values: ["Shared", "Non-shared"]
        description: resourceSharingLevel
      sST:
        type: string
        required: true
        default: "eMBB"
        constraints:
          - valid_values: ["eMBB", "uRLLC", "mIot"]
        description: sST
      cSAvailabilityTarget:
        type: float
        required: false
        description: cSAvailabilityTarget
      cSReliabilityMeanTime:
        type: string
        required: false
        description: cSReliabilityMeanTime
      expDataRate:
        type: integer
        required: false
        description: expDataRate
      msgSizeByte:
        type: string
        required: false
        description: msgSizeByte
      transferIntervalTarget:
        type: string
        required: false
        description: transferIntervalTarget
      survivalTime:
        type: string
        required: false
        description: survivalTime
      maxNumberofPDUSession:
        type: integer
        required: false
        description: maxNumberofPDUSession

  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
      related_networks:
        type: list
        description: Related Networks List.
        required: false
        entry_schema:
          type: org.openecomp.datatypes.network.RelatedNetworksAssignments
      is_trunked:
        type: boolean
        required: true
        description: \"true\" indicates that network is trunked
        default: false

  org.openecomp.datatypes.network.RelatedNetworksAssignments:
    derived_from: org.openecomp.datatypes.Root
    properties:
      related_network_role:
        description: The network role of the related network, sharing provider network
        type: string
        required: false

  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
        description: deprecated
      nfc_type:
        type: string
        description: deprecated
      nf_naming_code:
        type: string
      nfc_naming_code:
        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