File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
persistent_store/crd/apis/netapp/v1 Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ func (in *TridentNode) Apply(persistent *models.Node) error {
4242 in .IQN = persistent .IQN
4343 in .NQN = persistent .NQN
4444 in .IPs = persistent .IPs
45+ in .HostWWPNMap = persistent .HostWWPNMap
4546 in .Deleted = persistent .Deleted
4647 in .PublicationState = string (persistent .PublicationState )
4748 in .LogLevel = persistent .LogLevel
@@ -75,6 +76,7 @@ func (in *TridentNode) Persistent() (*models.Node, error) {
7576 IQN : in .IQN ,
7677 NQN : in .NQN ,
7778 IPs : in .IPs ,
79+ HostWWPNMap : in .HostWWPNMap ,
7880 NodePrep : & models.NodePrep {},
7981 HostInfo : & models.HostSystem {},
8082 Deleted : in .Deleted ,
Original file line number Diff line number Diff line change @@ -368,6 +368,8 @@ type TridentNode struct {
368368 NQN string `json:"nqn,omitempty"`
369369 // IPs is a list of IP addresses for the TridentNode
370370 IPs []string `json:"ips,omitempty"`
371+ // HostWWPNMap is the map of host WWPNs
372+ HostWWPNMap map [string ][]string `json:"hostWWPNMap,omitempty"`
371373 // NodePrep is the current status of node preparation for this node
372374 NodePrep runtime.RawExtension `json:"nodePrep,omitempty"`
373375 // HostInfo contains information about the node's host machine
You can’t perform that action at this time.
0 commit comments