import re


def validate_container_name(name):
    """Make sure a container name accordings to the naming convention
    https://docs.openstack.org/developer/swift/api/object_api_v1_overview.html
    https://lists.launchpad.net/openstack/msg06956.html
    > Length of container names / Maximum value 256 bytes / Cannot contain the / character.
    """
    validate_name = re.compile('^[^/]+$')
    return (
        len(name) <= 256 and bool(validate_name.match(name))
    )