def __init__(self, id=None, address=None, network=None, type=None, details=None, devname=None, ovs_interfaceid=None, qbh_params=None, qbg_params=None, active=False, vnic_type=VNIC_TYPE_NORMAL, profile=None, preserve_on_delete=False, **kwargs):
    super(VIF, self).__init__()
    self['id'] = id
    self['address'] = address
    self['network'] = (network or None)
    self['type'] = type
    self['details'] = (details or {})
    self['devname'] = devname
    self['ovs_interfaceid'] = ovs_interfaceid
    self['qbh_params'] = qbh_params
    self['qbg_params'] = qbg_params
    self['active'] = active
    self['vnic_type'] = vnic_type
    self['profile'] = profile
    self['preserve_on_delete'] = preserve_on_delete
    self._set_meta(kwargs)
def __init__(self, id=None, address=None, network=None, type=None, details=None, devname=None, ovs_interfaceid=None, qbh_params=None, qbg_params=None, active=False, vnic_type=VNIC_TYPE_NORMAL, profile=None, preserve_on_delete=False, **kwargs):
    super(VIF, self).__init__()
    self['id'] = id
    self['address'] = address
    self['network'] = (network or None)
    self['type'] = type
    self['details'] = (details or {})
    self['devname'] = devname
    self['ovs_interfaceid'] = ovs_interfaceid
    self['qbh_params'] = qbh_params
    self['qbg_params'] = qbg_params
    self['active'] = active
    self['vnic_type'] = vnic_type
    self['profile'] = profile
    self['preserve_on_delete'] = preserve_on_delete
    self._set_meta(kwargs)