Skip to content

Commit

Permalink
Added migration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bharathsreekanth committed Feb 12, 2025
1 parent e6a1864 commit 1a3a2b1
Show file tree
Hide file tree
Showing 2 changed files with 541 additions and 1 deletion.
6 changes: 5 additions & 1 deletion interface.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright © 2020 Dell Inc. or its subsidiaries. All Rights Reserved.
Copyright © 2020-2025 Dell Inc. or its subsidiaries. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -387,6 +387,10 @@ type Pmax interface {
DeleteMigrationEnvironment(ctx context.Context, localSymID, remoteSymID string) error
// GetMigrationEnvironment returns a migration environment
GetMigrationEnvironment(ctx context.Context, localSymID, remoteSymID string) (*types.MigrationEnv, error)
// MigrateStorageGroup creates a Storage Group given the storageGroupID (name), srpID (storage resource pool), service level, and boolean for thick volumes.
//If srpID is "None" then serviceLevel and thickVolumes settings are ignored

Check failure on line 391 in interface.go

View workflow job for this annotation

GitHub Actions / Golang Validation / Lint golang code

File is not properly formatted (gofumpt)
MigrateStorageGroup(ctx context.Context, symID, storageGroupID, srpID, serviceLevel string, thickVolumes bool) (*types.StorageGroup, error)

// GetStorageGroupMigration returns migration sessions on the array
GetStorageGroupMigration(ctx context.Context, localSymID string) (*types.MigrationStorageGroups, error)
// GetStorageGroupMigrationByID returns migration details for a storage group
Expand Down
Loading

0 comments on commit 1a3a2b1

Please sign in to comment.