code: def volume_create(name, size=100, snapshot=None, voltype=None, profile=None, **kwargs):
      '''
      Create a block storage volume
  
      name
          Name of the new volume (must be first)
  
      size
          Volume size
  
      snapshot
          Block storage snapshot id
  
      voltype
          Type of storage
  
      profile
          Profile to build on
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' nova.volume_create myblock size=300 profile=openstack
  
      '''
      conn = _auth(profile, **kwargs)
      return conn.volume_create(
          name,
          size,
          snapshot,
          voltype
      f volume_create(name, size=100, snapshot=None, voltype=None, profile=None, **kwargs):
      '''
      Create a block storage volume
  
      name
          Name of the new volume (must be first)
  
      size
          Volume size
  
      snapshot
          Block storage snapshot id
  
      voltype
          Type of storage
  
      profile
          Profile to build on
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' nova.volume_create myblock size=300 profile=openstack
  
      '''
      conn = _auth(profile, **kwargs)
      return conn.volume_create(
          name,
          size,
          snapshot,
          voltype
      )
docs: Create a block storage volume
  
      name
          Name of the new volume (must be first)
  
      size
          Volume size
  
      snapshot
          Block storage snapshot id
  
      voltype
          Type of storage
  
      profile
          Profile to build on
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' nova.volume_create myblock size=300 profile=openstack