Closed dccurtis closed 7 years ago
A1) It would be nice to test all 3 states:
A2) Here's some examples: Without a prefix; ontap prefix default of netappdvp_ should be used
{
"version": 1,
"storageDriverName": "ontap-nas",
"managementLIF": "10.0.207.6",
"dataLIF": "10.0.207.5",
"svm": "nfs_vs",
"username": "vsadmin",
"password": "Cei1sha8ipeo",
"aggregate": "aggr1"
}
With an empty prefix (last line); no prefix should be used
{
"version": 1,
"storageDriverName": "ontap-san",
"managementLIF": "10.0.207.8",
"svm": "iscsi_vs",
"username": "vsadmin",
"password": "Tho5Aghai5th",
"aggregate": "aggr1",
"storagePrefix": ""
}
With a non-default prefix (last line)
{
"version": 1,
"storageDriverName": "ontap-san",
"managementLIF": "10.0.207.8",
"dataLIF": "10.0.207.7",
"svm": "iscsi_vs",
"username": "vsadmin",
"password": "Tho5Aghai5th",
"aggregate": "aggr1",
"storagePrefix": "rippy_"
}
Thanks! I'll add these test cases when I submit the fix for this.
Has there been any discussion of integrating the repo with Travis-CI or something similar?
Thi issue can be closed
onto_test.go is failing due to a "json: error calling MarshalJSON for type json.RawMessage: unexpected end of JSON input" error in encodeConfig
i.e:
I have a few questions related to this:
Test Failure: