Beispiel #1
0
        public void SharedVolumeNameScaleup()
        {
            string expectedVolumeName = "SH1-shared";
            var    volumeName         = NewAzureRmNetAppFilesVolumeGroup.GenerateVolumeName(NewAzureRmNetAppFilesVolumeGroup.DefaultSapSystemId, NewAzureRmNetAppFilesVolumeGroup.SapVolumeType.Shared, 1, NewAzureRmNetAppFilesVolumeGroup.SystemRoles.PRIMARY, null);

            Assert.Equal(expectedVolumeName, volumeName);
        }
Beispiel #2
0
        public void DataVolumeNameScaleoutHost2()
        {
            string expectedVolumeName = "SH1-data-mnt00002";
            var    volumeName         = NewAzureRmNetAppFilesVolumeGroup.GenerateVolumeName(NewAzureRmNetAppFilesVolumeGroup.DefaultSapSystemId, NewAzureRmNetAppFilesVolumeGroup.SapVolumeType.Data, 2, NewAzureRmNetAppFilesVolumeGroup.SystemRoles.PRIMARY, null);

            Assert.Equal(expectedVolumeName, volumeName);
        }