Skip to content

Commit

Permalink
Adds effective WWN in type volume (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
delldubey authored Nov 18, 2022
1 parent 831b587 commit af800ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions mock/mock.go
Original file line number Diff line number Diff line change
Expand Up @@ -1647,6 +1647,7 @@ func newVolume(volumeID, volumeIdentifier string, size int, sgList []string) {
Pinned: false,
VolumeIdentifier: volumeIdentifier,
WWN: "600009700001979000465330303" + volumeID,
EffectiveWWN: "600009700001979000465330303" + volumeID,
Encapsulated: false,
NumberOfStorageGroups: 1,
NumberOfFrontEndPaths: 0,
Expand Down
1 change: 1 addition & 0 deletions types/v90/volume.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ type Volume struct {
PhysicalName string `json:"pysical_name"`
VolumeIdentifier string `json:"volume_identifier"`
WWN string `json:"wwn"`
EffectiveWWN string `json:"effective_wwn"`
Encapsulated bool `json:"encapsulated"`
NumberOfStorageGroups int `json:"num_of_storage_groups"`
NumberOfFrontEndPaths int `json:"num_of_front_end_paths"`
Expand Down

0 comments on commit af800ea

Please sign in to comment.