Move create_vnodes from Class Server to Mom in PTL

Move create_vnodes from Class Server to Mom in PTL

Follow the PBS Pro Design Document Guidelines.

Links

Overview

  • create_vnodes is a mom specific functionality. So it should be under Class Mom.

  • Remove name and mom object attribute from create_vnodes method arguments.

  • Use mom.shortname as the prefix to create vnodes to be consistent across all platforms.

  • Add vname attribute to create_vnodes method to provide an option to give vnode_prefix only if it is necessary for testing. For example: Testing a long vnode name, Having multiple vnode files.