public String getSubnetIdByName(String subnetName, String networkId)
      throws NeutronException, RegionException {
    ArrayList<Subnet> list = listSubnet();

    if (list != null) {
      for (Subnet subnet : list) {
        if (subnetName.equals(subnet.getName()) && networkId.equals(subnet.getNetworkId())) {
          return subnet.getId();
        }
      }

      throw new NotFoundByNameException();
    } else {

      throw new NotFoundAny();
    }
  }