зеркало из https://github.com/microsoft/lisa.git
Enable deployment of Premium file share, enable SMB2.0 support (#3459)
* Update features.py add param for allow_shared_key_access as default off to definition "create_file_share". This will allow creating SMB shares with Access key ( currently ) for XFStesting. We should ideally move to ADDS based authentication for SMB mount for the purpose of XFStesting SMB in the near future * Update features.py removed empty line at 2721 * Update features.py * Update features.py * Update features.py * Update features.py * Update features.py add option to Azure files ( SMB ) for allowing premium File share creation, and add ability to disable secure transfer to test SMB 2.1 feature if needed for xfstesting * Update features.py * Update features.py * Update features.py added space around equal based on flake8 recomendations
This commit is contained in:
Родитель
a768712167
Коммит
7077eea2d4
|
@ -3237,6 +3237,9 @@ class AzureFileShare(AzureFeatureMixin, Feature):
|
|||
file_share_names: List[str],
|
||||
environment: Environment,
|
||||
allow_shared_key_access: bool = False,
|
||||
sku: str = "Standard_LRS",
|
||||
kind: str = "StorageV2",
|
||||
enable_https_traffic_only: bool = True,
|
||||
) -> Dict[str, str]:
|
||||
platform: AzurePlatform = self._platform # type: ignore
|
||||
information = environment.get_information()
|
||||
|
@ -3254,6 +3257,9 @@ class AzureFileShare(AzureFeatureMixin, Feature):
|
|||
resource_group_name=resource_group_name,
|
||||
location=location,
|
||||
log=self._log,
|
||||
sku=sku,
|
||||
kind=kind,
|
||||
enable_https_traffic_only=enable_https_traffic_only,
|
||||
allow_shared_key_access=allow_shared_key_access,
|
||||
)
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче