Skip to content

Commit

Permalink
ndb config changes (#555)
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhishekism9450 authored Feb 20, 2023
1 parent 76472a7 commit 01d9be4
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
14 changes: 14 additions & 0 deletions nutanix/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,20 @@ type TestConfig struct {
} `json:"protection_policy"`
// sshKey required for ndb database provision test
SSHKey string `json:"ssh_key"`
// NDB config
NDB struct {
RegisterClusterInfo struct {
ClusterIP string `json:"cluster_ip"`
Username string `json:"username"`
Password string `json:"password"`
DNS string `json:"dns"`
NTP string `json:"ntp"`
StaticIP string `json:"static_ip"`
Gateway string `json:"gateway"`
SubnetMask string `json:"subnet_mask"`
StorageContainer string `json:"strorage_container"`
} `json:"register_cluster_info"`
} `json:"ndb"`
}

type IPMIConfig struct {
Expand Down
15 changes: 14 additions & 1 deletion test_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,20 @@
"cluster_uuid":""
}
},
"ssh_key":""
"ssh_key":"",
"ndb":{
"register_cluster_info":{
"cluster_ip": "",
"username": "",
"password":"",
"strorage_container":"",
"dns":"",
"ntp":"",
"static_ip":"",
"gateway":"",
"subnet_mask":""
}
}
}


Expand Down

0 comments on commit 01d9be4

Please sign in to comment.