{
"schema":"Configuration file for our servers",
"description":"mount points for servers",
"@dev":{
"home_nfs":{
"%default":{
"%mount_opts":"nfsvers=3,timeo=600,retrans=2",
"%mount_user":"root",
"%mount_group":"root",
"%mount_acl":"0755"
},
"home-lnk-mpt":{
"%export_name":"/links10",
"%filer_device":{
"ny_loc":"nydevnfstest10_links",
"nj_loc":"njdevnfstest11_links"
},
"%filer_volume":{
"ny_loc":"/vol/linkstest10",
"nj_loc":"/vol/linkstest11"
}
}
}
},
"@fred":{
"home_nfs":{
"%default":{
"%mount_opts":"nfsvers=3,timeo=600,retrans=2",
"%mount_user":"root",
"%mount_group":"root",
"%mount_acl":"0755"
},
"home-lnk-mpt":{
"%export_name":"/links",
"%filer_device":{
"ny_loc":"nydevnfs_links",
"nj_loc":"njdevnfs_links"
},
"%filer_volume":{
"ny_loc":"/vol/links",
"nj_loc":"/vol/links"
}
}
}
}
}
####
{
"%name": "nfs mount schema",
"%description": "Definitions for nfs_mount properties and their required fields",
"%definition": {"nfs": {
"%comment": "Properties for an NFS mount definition",
"%mount_opts": {"%type": "string"},
"%mount_user": {"%type": "string"},
"%mount_group": {"%type": "string"},
"%mount_acl": {"%type": "integer"},
"%export_name": {"%type": "path"},
"%filer_device": {"%type": "string"},
"%filer_volume": {"%type": "path"}
}},
"%output": {
"%comment": "Output format available",
"mountnfs": {
"%comment": "Output format needed for the mount script",
"%uses": "nfs",
"%format": "%tag:%filer_device:%filer_volume:%export_name"
}
}
}
####
ny_loc file =
@dev:nydevnfstest10_links:/vol/linkstest10:/links10
@fred:nydevnfs_links:/vol/links:/links
nj_loc file =
@dev:njdevnfstest11_links:/vol/linkstest11:/links10
@fred:njdevnfs_links:/vol/links:/links