@classmethod
def create(cls, node=None, nickname=None, **kwargs):
    """Create a subnets record in API and corresponding Subnet instance.

        Args:
            node (BaseNode): the node from which the subnet belongs
            nickname (str): nickname of subnet

        Returns:
            Subnet: a new Subnet instance
        """
    payload = cls.payload_for_create(nickname, **kwargs)
    response = node.user.client.subnets.create(node.user.id, node.id, payload)
    return cls.from_response(node, response)
