if index is passed in, use it
Merge pull request #56 from sholland/vnic_index

if index is passed in, use it