'Creates a route table within a VPC.
:param      vpc_id: The VPC that the subnet should be created in.
:type       vpc_id: :class:`.EC2Network`
:rtype:     :class: `.EC2RouteTable`'

def ex_create_route_table(self, network, name=None):

    params = {'Action': 'CreateRouteTable', 'VpcId': network.id}
    response = self.connection.request(self.path, params=params).object
    element = response.findall(fixxpath(xpath='routeTable', namespace=NAMESPACE))[0]
    route_table = self._to_route_table(element, name=name)
    if (name and self.ex_create_tags(route_table, {'Name': name})):
        route_table.extra['tags']['Name'] = name
    return route_table
