code: def create(cls, ip_version, datacenter, bandwidth, vm=None, vlan=None,
                 ip=None, background=False):
          
          return Iface.create(ip_version, datacenter, bandwidth, vlan, vm, ip,
                              background)
docs: Create a public ip and attach it if vm is given.