use ipam while creating subnet
Merge pull request #400 from shettyp/master

use ipam while creating subnet