manila/manila/tests/share/drivers/dell_emc/plugins/unity/mocked_manila.yaml

375 lines
11 KiB
YAML

network_allocations:
_type: 'network_allocations'
_properties: &network_allocations_prop
- id: '04ac4c27-9cf7-4406-809c-13edc93e4849'
ip_address: 'fake_ip_addr_1'
cidr: '192.168.1.0/24'
segmentation_id: null
gateway: '192.168.1.1'
network_type: flat
mtu: 1500
- id: '0cf87de7-5c65-4036-8b6a-e8176c356958'
ip_address: 'fake_ip_addr_2'
cidr: '192.168.1.0/24'
segmentation_id: null
gateway: '192.168.1.1'
network_type: flat
mtu: 1500
network_allocations_vlan:
_type: 'network_allocations'
_properties: &network_allocations_vlan_prop
- id: '04ac4c27-9cf7-4406-809c-13edc93e4849'
ip_address: 'fake_ip_addr_1'
cidr: '192.168.1.0/24'
segmentation_id: 160
gateway: '192.168.1.1'
network_type: vlan
mtu: 1500
- id: '0cf87de7-5c65-4036-8b6a-e8176c356958'
ip_address: 'fake_ip_addr_2'
cidr: '192.168.1.0/24'
segmentation_id: 160
gateway: '192.168.1.1'
network_type: vlan
mtu: 1500
network_allocations_vxlan:
_type: 'network_allocations'
_properties: &network_allocations_vxlan_prop
- id: '04ac4c27-9cf7-4406-809c-13edc93e4849'
ip_address: 'fake_ip_addr_1'
cidr: '192.168.1.0/24'
segmentation_id: 123
gateway: '192.168.1.1'
network_type: vxlan
mtu: 1500
network_allocations_ipv6:
_type: 'network_allocations'
_properties: &network_allocations_ipv6_prop
- id: '04ac4c27-9cf7-4406-809c-13edc93e9844'
ip_address: '2001:db8:0:1:f816:3eff:fe76:35c4'
cidr: '2001:db8:0:1:f816:3eff:fe76:35c4/64'
segmentation_id: 170
gateway: '2001:db8:0:1::1'
network_type: vlan
mtu: 1500
active_directory:
_type: 'security_service'
_properties: &active_directory_prop
type: 'active_directory'
domain: 'fake_domain_name'
dns_ip: 'fake_dns_ip'
user: 'fake_user'
password: 'fake_password'
kerberos:
_type: 'security_service'
_properties: &kerberos_prop
<<: *active_directory_prop
type: 'kerberos'
server: 'fake_server'
security_services:
_type: 'security_services'
_properties: &security_services_prop
services: [*active_directory_prop, *kerberos_prop]
network_info__flat:
_type: 'network_info'
_properties: &network_info_flat_prop
name: 'share_network'
neutron_subnet_id: 'a3f3eeac-0b16-4932-8c03-0a37003644ff'
network_type: 'flat'
neutron_net_id: 'e6c96730-2bcf-4ce3-86fa-7cb7740086cb'
ip_version: 4
id: '232d8218-2743-41d1-832b-4194626e691e'
mtu: 1500
network_allocations: *network_allocations_prop
server_id: '78fd845f-8e7d-487f-bfde-051d83e78103'
segmentation_id: 0
security_services: []
network_info__vlan:
_type: 'network_info'
_properties: &network_info__vlan_prop
<<: *network_info_flat_prop
network_type: 'vlan'
network_allocations: *network_allocations_vlan_prop
segmentation_id: 160
network_info__vxlan:
_type: 'network_info'
_properties: &network_info__vxlan_prop
<<: *network_info_flat_prop
network_type: 'vxlan'
network_allocations: *network_allocations_vxlan_prop
network_info__ipv6:
_type: 'network_info'
_properties: &network_info__ipv6_prop
<<: *network_info_flat_prop
network_allocations: *network_allocations_ipv6_prop
segmentation_id: 170
network_info__active_directory:
_type: 'network_info'
_properties:
<<: *network_info__vlan_prop
security_services: [*active_directory_prop]
network_info__kerberos:
_type: 'network_info'
_properties:
<<: *network_info_flat_prop
security_services: [*kerberos_prop]
share_server:
_type: 'share_server'
_properties: &share_server_prop
status: 'active'
share_network: *network_info_flat_prop
share_network_id: '232d8218-2743-41d1-832b-4194626e691e'
host: 'openstack@VNX'
backend_details:
share_server_name: '78fd845f-8e7d-487f-bfde-051d83e78103'
network_allocations: *network_allocations_prop
id: '78fd845f-8e7d-487f-bfde-051d83e78103'
identifier: 'c2e48947-98ed-4eae-999b-fa0b83731dfd'
share_server__no_share_server_name:
_type: 'share_server'
_properties:
<<: *share_server_prop
backend_details:
share_server_name: None
id: '78fd845f-8e7d-487f-bfde-051d83e78103'
server_detail:
_type: 'server_detail'
_properties: &server_detail_prop
share_server_name: '78fd845f-8e7d-487f-bfde-051d83e78103'
cifs_share:
_type: 'share'
_properties: &cifs_share_prop
share_id: '708e753c-aacb-411f-9c8a-8b8175da4e73'
availability_zone_id: 'de628fb6-1c99-41f6-a06a-adb61ff693b5'
share_network_id: '232d8218-2743-41d1-832b-4194626e691e'
share_server_id: '78fd845f-8e7d-487f-bfde-051d83e78103'
id: '716100cc-e0b4-416b-ac27-d38dd019330d'
size: 1
user_id: '19bbda71b578471a93363653dcb4c61d'
status: 'creating'
share_type_id: '57679eab-3e67-4052-b180-62b609670e93'
host: 'openstack@VNX#Pool_2'
display_name: 'cifs_share'
share_proto: 'CIFS'
export_locations: []
is_public: False
managed_cifs_share:
_type: 'share'
_properties: &managed_cifs_share_share_prop
share_id: '708e753c-aacb-411f-9c8a-8b8175da4e73'
availability_zone_id: 'de628fb6-1c99-41f6-a06a-adb61ff693b5'
share_network_id: '232d8218-2743-41d1-832b-4194626e691e'
share_server_id: '78fd845f-8e7d-487f-bfde-051d83e78103'
id: '716100cc-e0b4-416b-ac27-d38dd019330d'
size: 10
user_id: '19bbda71b578471a93363653dcb4c61d'
status: 'creating'
share_type_id: '57679eab-3e67-4052-b180-62b609670e93'
host: 'openstack@VNX#Pool_2'
display_name: 'cifs_share'
share_proto: 'CIFS'
export_locations: [path: '\\10.0.0.1\bd23121f-hg4e-432c-12cd2c5-bb93dfghe212']
is_public: False
snapshot_support: False
nfs_share:
_type: 'share'
_properties: &nfs_share_prop
share_id: '12eb3777-7008-4721-8243-422507db8f9d'
availability_zone_id: 'de628fb6-1c99-41f6-a06a-adb61ff693b5'
share_network_id: '232d8218-2743-41d1-832b-4194626e691e'
share_server_id: '78fd845f-8e7d-487f-bfde-051d83e78103'
id: 'cb532599-8dc6-4c3e-bb21-74ea54be566c'
size: 1
user_id: '19bbda71b578471a93363653dcb4c61d'
status: 'creating'
share_type_id: '57679eab-3e67-4052-b180-62b609670e93'
host: 'openstack@VNX#Pool_2'
display_name: 'nfs_share'
share_proto: 'NFS'
export_locations: null
is_public: False
managed_nfs_share:
_type: 'share'
_properties: &managed_nfs_share_prop
share_id: '12eb3777-7008-4721-8243-422507db8f9d'
availability_zone_id: 'de628fb6-1c99-41f6-a06a-adb61ff693b5'
share_network_id: '232d8218-2743-41d1-832b-4194626e691e'
share_server_id: '78fd845f-8e7d-487f-bfde-051d83e78103'
id: 'cb532599-8dc6-4c3e-bb21-74ea54be566c'
size: 9
user_id: '19bbda71b578471a93363653dcb4c61d'
status: 'creating'
share_type_id: '57679eab-3e67-4052-b180-62b609670e93'
host: 'openstack@VNX#Pool_2'
display_name: 'nfs_share'
share_proto: 'NFS'
export_locations: [path: '172.168.201.201:/ad1caddf-097e-462c-8ac6-5592ed6fe22f']
is_public: False
snapshot_support: False
dhss_false_cifs_share:
_type: 'share'
_properties: &dhss_false_cifs_share_prop
share_id: '708e753c-aacb-411f-9c8a-8b8175da4e73'
availability_zone_id: 'de628fb6-1c99-41f6-a06a-adb61ff693b5'
share_network_id: '232d8218-2743-41d1-832b-4194626e691e'
share_server_id: 'test-dhss-false-427f-b4de-0ad83el5j8'
id: '716100cc-e0b4-416b-ac27-d38dd019330d'
size: 1
user_id: '19bbda71b578471a93363653dcb4c61d'
status: 'creating'
share_type_id: '57679eab-3e67-4052-b180-62b609670e93'
host: 'openstack@VNX#Pool_2'
display_name: 'cifs_share'
share_proto: 'CIFS'
export_locations: []
is_public: False
dhss_false_nfs_share:
_type: 'share'
_properties: &dhss_false_nfs_share_prop
share_id: '12eb3777-7008-4721-8243-422507db8f9d'
availability_zone_id: 'de628fb6-1c99-41f6-a06a-adb61ff693b5'
share_network_id: '232d8218-2743-41d1-832b-4194626e691e'
share_server_id: 'test-dhss-false-427f-b4de-0ad83el5j8'
id: 'cb532599-8dc6-4c3e-bb21-74ea54be566c'
size: 1
user_id: '19bbda71b578471a93363653dcb4c61d'
status: 'creating'
share_type_id: '57679eab-3e67-4052-b180-62b609670e93'
host: 'openstack@VNX#Pool_2'
display_name: 'nfs_share'
share_proto: 'NFS'
export_locations: []
is_public: False
shrink_cifs_share:
_type: 'share'
_properties: &shrink_cifs_share_prop
share_id: '708e753c-aacb-411f-9c8a-8b8175da4e73'
availability_zone_id: 'de628fb6-1c99-41f6-a06a-adb61ff693b5'
share_network_id: '232d8218-2743-41d1-832b-4194626e691e'
share_server_id: '78fd845f-8e7d-487f-bfde-051d83e78103'
id: '716100cc-e0b4-416b-ac27-d38dd019330d'
size: 9
user_id: '19bbda71b578471a93363653dcb4c61d'
status: 'creating'
share_type_id: '57679eab-3e67-4052-b180-62b609670e93'
host: 'openstack@VNX#Pool_2'
display_name: 'cifs_share'
share_proto: 'CIFS'
export_locations: []
is_public: False
shrink_nfs_share:
_type: 'share'
_properties: &shrink_nfs_share_prop
share_id: '12eb3777-7008-4721-8243-422507db8f9d'
availability_zone_id: 'de628fb6-1c99-41f6-a06a-adb61ff693b5'
share_network_id: '232d8218-2743-41d1-832b-4194626e691e'
share_server_id: '78fd845f-8e7d-487f-bfde-051d83e78103'
id: 'cb532599-8dc6-4c3e-bb21-74ea54be566c'
size: 9
user_id: '19bbda71b578471a93363653dcb4c61d'
status: 'creating'
share_type_id: '57679eab-3e67-4052-b180-62b609670e93'
host: 'openstack@VNX#Pool_2'
display_name: 'nfs_share'
share_proto: 'NFS'
export_locations: []
is_public: False
invalid_share:
_type: 'share'
_properties: &invalid_share_prop
share_id: '12eb3777-7008-4721-8243-422507db8f9d'
availability_zone_id: 'de628fb6-1c99-41f6-a06a-adb61ff693b5'
share_network_id: '232d8218-2743-41d1-832b-4194626e691e'
share_server_id: '78fd845f-8e7d-487f-bfde-051d83e78103'
id: 'cb532599-8dc6-4c3e-bb21-74ea54be566c'
size: 1
user_id: '19bbda71b578471a93363653dcb4c61d'
status: 'creating'
share_type_id: '57679eab-3e67-4052-b180-62b609670e93'
host: 'openstack@VNX#Pool_2'
display_name: 'nfs_share'
share_proto: 'fake_proto'
export_locations: []
is_public: False
snapshot:
_type: 'snapshot'
_properties: &snapshot_prop
status: 'creating'
share_instance_id: '27e4625e-c336-4749-85bc-634216755fbc'
share:
share_proto: 'CIFS'
id: 's24r-3fgw2-g039ef-j029f0-nrver'
snapshot_id: '345476cc-32ab-4565-ba88-e4733b7ffa0e'
progress: '0%'
id: 'ab411797-b1cf-4035-bf14-8771a7bf1805'
share_id: '27e4625e-c336-4749-85bc-634216755fbc'
provider_location: '23047-ef2344-4563cvw-r4323cwed'
cifs_rw_access:
_type: 'access'
_properties:
access_level: 'rw'
access_to: 'administrator'
access_type: 'user'
cifs_ro_access:
_type: 'access'
_properties:
access_level: 'ro'
access_to: 'administrator'
access_type: 'user'
nfs_rw_access:
_type: 'access'
_properties:
access_level: 'rw'
access_to: '192.168.1.1'
access_type: 'ip'
nfs_rw_access_cidr:
_type: 'access'
_properties:
access_level: 'rw'
access_to: '192.168.1.0/24'
access_type: 'ip'
nfs_ro_access:
_type: 'access'
_properties:
access_level: 'ro'
access_to: '192.168.1.1'
access_type: 'ip'
invalid_access:
_type: 'access'
_properties:
access_level: 'fake_access_level'
access_to: 'fake_access_to'
access_type: 'fake_type'