There is an XML interface that allows you to write scripts, such as Perl scripts, that will create and manage NSS pools and volumes. The API set can be downloaded from NDK: Virtual File Services for NetWare. Although the title suggests that the Virtual File Services are only for NetWare, they are for NSS services on NetWare 6.0, NetWare 6.5, OES 1 Linux and NetWare, and OES 2 Linux and NetWare servers.
Look for sample scripts at the link above or in Cool Solutions. For example: