Added delete REST APIs and subnet info when creating network.