-
Notifications
You must be signed in to change notification settings - Fork 438
/
nat.go
31 lines (26 loc) · 963 Bytes
/
nat.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Code generated by "libovsdb.modelgen"
// DO NOT EDIT.
package ovnnb
const NATTable = "NAT"
type (
NATType = string
)
var (
NATTypeDNAT NATType = "dnat"
NATTypeDNATAndSNAT NATType = "dnat_and_snat"
NATTypeSNAT NATType = "snat"
)
// NAT defines an object in NAT table
type NAT struct {
UUID string `ovsdb:"_uuid"`
AllowedExtIPs *string `ovsdb:"allowed_ext_ips"`
ExemptedExtIPs *string `ovsdb:"exempted_ext_ips"`
ExternalIDs map[string]string `ovsdb:"external_ids"`
ExternalIP string `ovsdb:"external_ip"`
ExternalMAC *string `ovsdb:"external_mac"`
ExternalPortRange string `ovsdb:"external_port_range"`
LogicalIP string `ovsdb:"logical_ip"`
LogicalPort *string `ovsdb:"logical_port"`
Options map[string]string `ovsdb:"options"`
Type NATType `ovsdb:"type"`
}