aboutsummaryrefslogtreecommitdiffstats
path: root/asdc-tests/src/test/resources/CI/importResource-VCE-Brocade/org.openecomp.resource.nfv.VDU.VCE_Brocade_VDU/org.openecomp.resource.nfv.VDU.VCE_Brocade_VDU.yaml
blob: 2ba732ab3b45ee13c38af5ba203346a03ae8c289 (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
##################################################################
###################### vCE_Brocade_VDU Node  TYPE  ###############
##################################################################
tosca_definitions_version: tosca_simple_yaml_1_0_0
node_types:
  org.openecomp.resource.nfv.vdu.VCE_Brocade_VDU:
    derived_from: org.openecomp.resource.nfv.vdu.RoutingCategoryVDU
    description: Definition of VCE Brocade VDU
    properties: 
      vnf_category: 
        type: string
        description: input provided at RESOURCE INJECTION TIME in ASDC TOOL
      vce_type: 
        type: string
        description: input provided at RESOURCE INJECTION TIME in ASDC TOOL
      vendor: 
        type: string
        description: input provided at RESOURCE INJECTION TIME in ASDC TOOL
      version: 
        type: string
        description: input provided at RESOURCE INJECTION TIME in ASDC TOOL
      image_id: 
        type: string
        description: Input provided at DESIGN TIME by Service Composer or Designer -vCE image used to boot VM
      flavor_id: 
        type: string
        description: Input provided at DESIGN TIME by Service Composer or Designer - VM Size, SMALL, MEDIUM, LARGE
      username: 
        type: string
        description: Input provided at DESIGN TIME by Service Composer or Designer -login user Id of Router
      password: 
        type: string
        description: I Input provided at DESIGN TIME by Service Composer or Designer - password for login 
      domain_name: 
        type: string
        description: Input provided at DESIGN TIME by Service Composer or Designer or (perhaps pre-defined for each Cloud Region) - login domain
      time_zone: 
        type: string
        description: Input provided at DESIGN TIME by Service Composer or Designer or (perhaps pre-defined for each Cloud Region) - time zone to set for vCE
      login_session_timeout: 
        type: string
        description: Input provided at DESIGN TIME by Service Composer or Designer or (perhaps pre-defined for each Cloud Region) - user login session timeout
      ipag_vlan_bandwidth: 
        type: integer
        description: Input provided at DESIGN TIME by Service Composer or Designer - bandwidth  allocation of customer VLAN requested by customer
      vpe_vlan_interface_qos_name: 
        type: string
        description: Input provided at DESIGN TIME by Service Composer or Designer - QoS Policy name to be applied to this interface
      ipag_vlan_interface_qos_name: 
        type: string
        description: Input provided at DESIGN TIME by Service Composer or Designer - QoS Policy name to be applied to this interface
      hostname: 
        type: string
        description: Input provided at RUN TIME by Cloud-PO - Host VM is created first and this value is input when the vCE image is later on installed by Cloud-PO
      host_ip: 
        type: string
        description: Input provided at RUN TIME by Cloud-PO - Host VM IP
      availability_zone: 
        type: string
        description: Input provided at RUN TIME by Cloud-PO - Cloud availability zone where VM is created
      oam_loopback_vlan_ip_address: 
        type: string
        description: Input provided at RUN TIME by Cloud-PO - OAM Network is pre-created - already exists in Data Center
      ipag_vlan_ip_address: 
        type: string
        description: Input provided at RUN TIME by Cloud-PO - IPAG VLAN Network is created by Cloud-PO before the vCE is created or installed
      vpe_vlan_ip_address: 
        type: string
        description: Input provided at RUN TIME by Cloud-PO - VPE VLAN Network is created by Cloud-PO before the vCE is created / installed
      vpe_vlan_id: 
        type: string
        description: Input provided at RUN TIME by Cloud-PO - VLAN Id is created first by Cloud-PO. It is required to apply VPE QoS Policy
      ipag_vlan_id: 
        type: string
        description: Input provided at RUN TIME by Cloud-PO - VLAN Id is created first by Cloud-PO. It is required to apply IPAG QoS Policy
      oam_vlan_interface_name: 
        type: string
        description: Input provided at RUN TIME by Cloud-PO - This interfce is created first by Cloud-PO. This is the interface to which QoS policy is applied
      vpe_vlan_interface_name: 
        type: string
        description: Input provided at RUN TIME by Cloud-PO - This interfce is created first by Cloud-PO. This is the interface to which QoS policy is applied
      ipag_vlan_interface_name: 
        type: string
        description: Input provided at RUN TIME by Cloud-PO - This interfce is created first by Cloud-PO. This is the interface to which QoS policy is applied
    #############ATTRIBUTES of vCE - These values are outputted by Cloud-PO when vCE is created / installed ##############
    attributes: 
      vce_name:
        type: string
        description: Name assigned to vCE by Cloud-PO
      oam_loopback_vlan_ipaddres:
        type: string
        description: IP Address assigned by Cloud-PO to OAM VLAN
      ipag_vlan_ipaddres:
        type: string
        description: IP Address assigned by Cloud-PO to IPAG VLAN
      vpe_vlan_ipaddres:
        type: string
        description: IP Address assigned by Cloud-PO to VPE VLAN
      vnf_id: 
        type: string
        description: unique id assigned to VNF by Cloud-PO - used for AAI metadata
    
    #############CAPABILITIES of vCE - #########################
    capabilities: 
      ce_routing_capability: 
        type: org.openecomp.capabilities.nfv.CERouting
        description: This is the base capability of vCE
        occurrences: [1, UNBOUNDED] # default
        
      static_routing: 
        type: org.openecomp.capabilities.nfv.StaticRouting
        description: This is the optional capability of the vCE
        occurrences: [0, UNBOUNDED]
        
      bgp_routing: 
        type: org.openecomp.capabilities.nfv.BGPRouting
        description: This is the optional capability of the vCE
        occurrences: [0, UNBOUNDED]
      
      virtual_bindable: 
        type: org.openecomp.capabilities.nfv.vdu.VirtualBindable
        description: This is the internal capability of the VDU to support Binding to Connection Points
        occurrences: [1, UNBOUNDED]
        
      dummy_capability: 
        type: org.openecomp.capabilities.nfv.VCE_Brocade_Routing
        description: This capability has been introduced to model VCE VDU as a component of VCE VNF, because Node Template is not supported by ASDC Team
    
    #############REQUIREMENTS of vdu - ###########################
    requirements: 
      - oam_vlan_connector:
          capability: org.openecomp.capabilities.nfv.OAM_VLAN_Connector
          node: org.openecomp.resource.nfv.cp.OAM_VLAN_Connector
          relationship: tosca.relationships.ConnectsTo
          occurrences: [1, 1]
          
      - vpe_vlan_connector:
          capability: org.openecomp.capabilities.nfv.VPE_VLAN_Connector
          node: org.openecomp.resource.nfv.cp.VPE_VLAN_Connector
          relationship: tosca.relationships.ConnectsTo
          occurrences: [1, 1]
          
      - ipag_vlan_connector: 
          capability: org.openecomp.capabilities.nfv.IPAG_VLAN_Connector
          node: org.openecomp.resource.nfv.cp.IPAG_VLAN_Connector
          relationship: tosca.relationships.ConnectsTo
          occurrences: [1, 1]
          
      - hosted_on:  # A vCE  needs to be hosted in a VM
          capability: tosca.capabilities.Container
          node: tosca.nodes.Compute
          relationship: tosca.relationships.HostedOn
          occurrences: [1, 1] #default