Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   vtep    ( 5 )

схема базы данных hardware_vtep (hardware_vtep database schema)

Physical_Port TABLE

A port within a Physical_Switch.

Summary: vlan_bindings map of integer-Logical_Switch pairs, key in range 0 to 4,095 acl_bindings map of integer-ACL pairs, key in range 0 to 4,095 vlan_stats map of integer- Logical_Binding_Stats pairs, key in range 0 to 4,095 Identification: name string description string Error Notification: port_fault_status : invalid_vlan_map none port_fault_status : invalid_ACL_binding none port_fault_status : unspecified_fault none Common Column: other_config map of string-string pairs

Details: vlan_bindings: map of integer-Logical_Switch pairs, key in range 0 to 4,095 Identifies how VLANs on the physical port are bound to logical switches. If, for example, the map contains a (VLAN, logical switch) pair, a packet that arrives on the port in the VLAN is considered to belong to the paired logical switch. A value of zero in the VLAN field means that untagged traffic on the physical port is mapped to the logical switch.

acl_bindings: map of integer-ACL pairs, key in range 0 to 4,095 Attach Access Control Lists (ACLs) to the physical port. The column consists of a map of VLAN tags to ACLs. If the value of the VLAN tag in the map is 0, this means that the ACL is associated with the entire physical port. Non-zero values mean that the ACL is to be applied only on packets carrying that VLAN tag value. Switches will not necessarily support matching on the VLAN tag for all ACLs, and unsupported ACL bindings will cause errors to be reported. The binding of an ACL to a specific VLAN and the binding of an ACL to the entire physical port should not be combined on a single physical port. That is, a mix of zero and non-zero keys in the map is not recommended.

vlan_stats: map of integer-Logical_Binding_Stats pairs, key in range 0 to 4,095 Statistics for VLANs bound to logical switches on the physical port. An implementation that fully supports such statistics would populate this column with a mapping for every VLAN that is bound in vlan_bindings. An implementation that does not support such statistics or only partially supports them would not populate this column or partially populate it, respectively. A value of zero in the VLAN field refers to untagged traffic on the physical port.

Identification:

name: string Symbolic name for the port. The name ought to be unique within a given Physical_Switch, but the database is not capable of enforcing this.

description: string An extended description for the port.

Error Notification:

An entry in this column indicates to the NVC that the physical port has encountered a fault. The switch must clear this column when the error has been cleared.

port_fault_status : invalid_vlan_map: none Indicates that a VLAN-to-logical-switch mapping requested by the controller could not be instantiated by the switch because of a conflict with local configuration.

port_fault_status : invalid_ACL_binding: none Indicates that an error has occurred in associating an ACL with a port.

port_fault_status : unspecified_fault: none Indicates that an error has occurred on the port but that no more specific information is available.

Common Column:

The overall purpose of this column is described under Common Column at the beginning of this document.

other_config: map of string-string pairs