The vmware_nsx.db.nsx_models Module

NSX data models.

This module defines data models used by the VMware NSX plugin family.

class vmware_nsx.db.nsx_models.Lsn(net_id, lsn_id)

Bases: sqlalchemy.ext.declarative.api.Base, oslo_db.sqlalchemy.models.TimestampMixin

created_at
lsn_id
net_id
updated_at
class vmware_nsx.db.nsx_models.LsnPort(lsn_port_id, subnet_id, mac_address, lsn_id)

Bases: sqlalchemy.ext.declarative.api.Base, oslo_db.sqlalchemy.models.TimestampMixin

created_at
lsn_id
lsn_port_id
mac_addr
sub_id
updated_at
class vmware_nsx.db.nsx_models.MacLearningState(**kwargs)

Bases: sqlalchemy.ext.declarative.api.Base, oslo_db.sqlalchemy.models.TimestampMixin

created_at
mac_learning_enabled
port
port_id
updated_at
class vmware_nsx.db.nsx_models.MultiProviderNetworks(network_id)

Bases: sqlalchemy.ext.declarative.api.Base, oslo_db.sqlalchemy.models.TimestampMixin

Networks provisioned through multiprovider extension.

created_at
network_id
updated_at
class vmware_nsx.db.nsx_models.NetworkConnection(**kwargs)

Bases: sqlalchemy.ext.declarative.api.Base, neutron.db.model_base.HasProject, oslo_db.sqlalchemy.models.TimestampMixin

Defines a connection between a network gateway and a network.

created_at
network_gateway_id
network_id
port_id
project_id
segmentation_id
segmentation_type
tenant_id
updated_at
class vmware_nsx.db.nsx_models.NetworkGateway(**kwargs)

Bases: sqlalchemy.ext.declarative.api.Base, neutron.db.model_base.HasId, neutron.db.model_base.HasProject, oslo_db.sqlalchemy.models.TimestampMixin

Defines the data model for a network gateway.

created_at
default
devices
id
name
network_connections
project_id
tenant_id
updated_at
class vmware_nsx.db.nsx_models.NetworkGatewayDevice(**kwargs)

Bases: sqlalchemy.ext.declarative.api.Base, neutron.db.model_base.HasId, neutron.db.model_base.HasProject, oslo_db.sqlalchemy.models.TimestampMixin

connector_ip
connector_type
created_at
id
name
nsx_id
project_id
status
tenant_id
updated_at
class vmware_nsx.db.nsx_models.NetworkGatewayDeviceReference(**kwargs)

Bases: sqlalchemy.ext.declarative.api.Base, oslo_db.sqlalchemy.models.TimestampMixin

created_at
id
interface_name
network_gateway_id
updated_at
class vmware_nsx.db.nsx_models.NetworkQueueMapping(**kwargs)

Bases: sqlalchemy.ext.declarative.api.Base, oslo_db.sqlalchemy.models.TimestampMixin

created_at
network
network_id
queue_id
updated_at
class vmware_nsx.db.nsx_models.NeutronNsxDhcpBinding(**kwargs)

Bases: sqlalchemy.ext.declarative.api.Base, oslo_db.sqlalchemy.models.TimestampMixin

Represents a binding of a Neutron port with DHCP address binding.

created_at
ip_address
nsx_binding_id
nsx_service_id
port_id
subnet_id
updated_at
class vmware_nsx.db.nsx_models.NeutronNsxFirewallSectionMapping(**kwargs)

Bases: sqlalchemy.ext.declarative.api.Base, oslo_db.sqlalchemy.models.TimestampMixin

Backend mappings for Neutron Security-group associated fw sections.

created_at
neutron_id
nsx_id
updated_at
class vmware_nsx.db.nsx_models.NeutronNsxNetworkMapping(**kwargs)

Bases: sqlalchemy.ext.declarative.api.Base, oslo_db.sqlalchemy.models.TimestampMixin

Maps neutron network identifiers to NSX identifiers.

Because of chained logical switches more than one mapping might exist for a single Neutron network. For a VLAN network, one neutron network may map to multiple logical switches(port groups) created on multiple DVSes in the backend for NSX-V plugin. DVS-ID will store the moref of the DVS where the nsx id is being created. For other types and plugins, this value will remain null.

created_at
dvs_id
neutron_id
nsx_id
updated_at
class vmware_nsx.db.nsx_models.NeutronNsxPortMapping(neutron_id, nsx_switch_id, nsx_port_id)

Bases: sqlalchemy.ext.declarative.api.Base, oslo_db.sqlalchemy.models.TimestampMixin

Represents the mapping between neutron and nsx port uuids.

created_at
neutron_id
nsx_port_id
nsx_switch_id
updated_at
class vmware_nsx.db.nsx_models.NeutronNsxRouterMapping(**kwargs)

Bases: sqlalchemy.ext.declarative.api.Base, oslo_db.sqlalchemy.models.TimestampMixin

Maps neutron router identifiers to NSX identifiers.

created_at
neutron_id
nsx_id
updated_at
class vmware_nsx.db.nsx_models.NeutronNsxRuleMapping(**kwargs)

Bases: sqlalchemy.ext.declarative.api.Base, oslo_db.sqlalchemy.models.TimestampMixin

Backend mappings for firewall rules.

This class maps a neutron security group rule with NSX firewall rule.

created_at
neutron_id
nsx_id
updated_at
class vmware_nsx.db.nsx_models.NeutronNsxSecurityGroupMapping(**kwargs)

Bases: sqlalchemy.ext.declarative.api.Base, oslo_db.sqlalchemy.models.TimestampMixin

Backend mappings for Neutron Security Group identifiers.

This class maps a neutron security group identifier to the corresponding NSX security profile identifier.

created_at
neutron_id
nsx_id
updated_at
class vmware_nsx.db.nsx_models.NeutronNsxServiceBinding(**kwargs)

Bases: sqlalchemy.ext.declarative.api.Base, oslo_db.sqlalchemy.models.TimestampMixin

Represents a binding of a Neutron network with enabled NSX services.

created_at
network_id
nsx_service_id
nsx_service_type
port_id
updated_at
class vmware_nsx.db.nsx_models.NsxL2GWConnectionMapping(**kwargs)

Bases: sqlalchemy.ext.declarative.api.Base, oslo_db.sqlalchemy.models.TimestampMixin

Define a mapping between L2 gateway connection and bridge endpoint.

bridge_endpoint_id
connection_id
created_at
port_id
updated_at
class vmware_nsx.db.nsx_models.NsxPortMirrorSessionMapping(**kwargs)

Bases: sqlalchemy.ext.declarative.api.Base

Define a mapping between Tap Flow and PortMirrorSession object.

port_mirror_session_id
tap_flow_id
class vmware_nsx.db.nsx_models.PortQueueMapping(**kwargs)

Bases: sqlalchemy.ext.declarative.api.Base, oslo_db.sqlalchemy.models.TimestampMixin

created_at
port
port_id
queue_id
updated_at
class vmware_nsx.db.nsx_models.QoSQueue(**kwargs)

Bases: sqlalchemy.ext.declarative.api.Base, neutron.db.model_base.HasId, neutron.db.model_base.HasProject, oslo_db.sqlalchemy.models.TimestampMixin

created_at
default
dscp
id
max
min
name
project_id
qos_marking
tenant_id
updated_at
class vmware_nsx.db.nsx_models.QosPolicySwitchProfile(**kwargs)

Bases: sqlalchemy.ext.declarative.api.Base, oslo_db.sqlalchemy.models.TimestampMixin

created_at
qos_policy_id
switch_profile_id
updated_at
class vmware_nsx.db.nsx_models.TzNetworkBinding(network_id, binding_type, phy_uuid, vlan_id)

Bases: sqlalchemy.ext.declarative.api.Base, oslo_db.sqlalchemy.models.TimestampMixin

Represents a binding of a virtual network with a transport zone.

This model class associates a Neutron network with a transport zone; optionally a vlan ID might be used if the binding type is ‘bridge’

binding_type
created_at
network_id
phy_uuid
updated_at
vlan_id

Previous topic

The vmware_nsx.db.networkgw_db Module

Next topic

The vmware_nsx.db.nsxrouter Module

This Page