Skip to content

Commit

Permalink
Port LogicalRouterSNATAdd and LogicalRouterDNATSNATAdd to libovsdb
Browse files Browse the repository at this point in the history
  • Loading branch information
DhruvNistala committed May 6, 2024
1 parent d210c9c commit c44ef47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/server/network/ovn/ovn_nb_actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ func (o *NB) CreateLogicalRouterNAT(ctx context.Context, routerName OVNRouter, n
UUID: "nat",
LogicalIP: intNet.String(),
ExternalIP: extIP.String(),
Options: map[string]string{"stateless": "false"},
Options: map[string]string{"stateless": Str(stateless)},

Check failure on line 305 in internal/server/network/ovn/ovn_nb_actions.go

View workflow job for this annotation

GitHub Actions / Code

undefined: Str

Check failure on line 305 in internal/server/network/ovn/ovn_nb_actions.go

View workflow job for this annotation

GitHub Actions / System (1.21.x, cluster, lvm)

undefined: Str

Check failure on line 305 in internal/server/network/ovn/ovn_nb_actions.go

View workflow job for this annotation

GitHub Actions / System (1.21.x, standalone, btrfs)

undefined: Str

Check failure on line 305 in internal/server/network/ovn/ovn_nb_actions.go

View workflow job for this annotation

GitHub Actions / System (1.21.x, cluster, random)

undefined: Str

Check failure on line 305 in internal/server/network/ovn/ovn_nb_actions.go

View workflow job for this annotation

GitHub Actions / System (1.21.x, standalone, lvm)

undefined: Str

Check failure on line 305 in internal/server/network/ovn/ovn_nb_actions.go

View workflow job for this annotation

GitHub Actions / System (1.21.x, standalone, random)

undefined: Str

Check failure on line 305 in internal/server/network/ovn/ovn_nb_actions.go

View workflow job for this annotation

GitHub Actions / System (1.21.x, cluster, dir)

undefined: Str

Check failure on line 305 in internal/server/network/ovn/ovn_nb_actions.go

View workflow job for this annotation

GitHub Actions / System (1.21.x, standalone, dir)

undefined: Str

Check failure on line 305 in internal/server/network/ovn/ovn_nb_actions.go

View workflow job for this annotation

GitHub Actions / System (1.21.x, standalone, ceph)

undefined: Str

Check failure on line 305 in internal/server/network/ovn/ovn_nb_actions.go

View workflow job for this annotation

GitHub Actions / System (stable, cluster, dir)

undefined: Str

Check failure on line 305 in internal/server/network/ovn/ovn_nb_actions.go

View workflow job for this annotation

GitHub Actions / System (1.21.x, cluster, btrfs)

undefined: Str

Check failure on line 305 in internal/server/network/ovn/ovn_nb_actions.go

View workflow job for this annotation

GitHub Actions / System (1.21.x, standalone, zfs)

undefined: Str

Check failure on line 305 in internal/server/network/ovn/ovn_nb_actions.go

View workflow job for this annotation

GitHub Actions / System (stable, standalone, dir)

undefined: Str

Check failure on line 305 in internal/server/network/ovn/ovn_nb_actions.go

View workflow job for this annotation

GitHub Actions / System (1.21.x, cluster, zfs)

undefined: Str

Check failure on line 305 in internal/server/network/ovn/ovn_nb_actions.go

View workflow job for this annotation

GitHub Actions / System (1.21.x, cluster, ceph)

undefined: Str
Type: natType,
}
} else {
Expand All @@ -311,7 +311,7 @@ func (o *NB) CreateLogicalRouterNAT(ctx context.Context, routerName OVNRouter, n
UUID: "nat",
LogicalIP: intIP.String(),
ExternalIP: extIP.String(),
Options: map[string]string{"stateless": "false"},
Options: map[string]string{"stateless": Str(stateless)},

Check failure on line 314 in internal/server/network/ovn/ovn_nb_actions.go

View workflow job for this annotation

GitHub Actions / Code

undefined: Str

Check failure on line 314 in internal/server/network/ovn/ovn_nb_actions.go

View workflow job for this annotation

GitHub Actions / System (1.21.x, cluster, lvm)

undefined: Str

Check failure on line 314 in internal/server/network/ovn/ovn_nb_actions.go

View workflow job for this annotation

GitHub Actions / System (1.21.x, standalone, btrfs)

undefined: Str

Check failure on line 314 in internal/server/network/ovn/ovn_nb_actions.go

View workflow job for this annotation

GitHub Actions / System (1.21.x, cluster, random)

undefined: Str

Check failure on line 314 in internal/server/network/ovn/ovn_nb_actions.go

View workflow job for this annotation

GitHub Actions / System (1.21.x, standalone, lvm)

undefined: Str

Check failure on line 314 in internal/server/network/ovn/ovn_nb_actions.go

View workflow job for this annotation

GitHub Actions / System (1.21.x, standalone, random)

undefined: Str

Check failure on line 314 in internal/server/network/ovn/ovn_nb_actions.go

View workflow job for this annotation

GitHub Actions / System (1.21.x, cluster, dir)

undefined: Str

Check failure on line 314 in internal/server/network/ovn/ovn_nb_actions.go

View workflow job for this annotation

GitHub Actions / System (1.21.x, standalone, dir)

undefined: Str

Check failure on line 314 in internal/server/network/ovn/ovn_nb_actions.go

View workflow job for this annotation

GitHub Actions / System (1.21.x, standalone, ceph)

undefined: Str

Check failure on line 314 in internal/server/network/ovn/ovn_nb_actions.go

View workflow job for this annotation

GitHub Actions / System (stable, cluster, dir)

undefined: Str

Check failure on line 314 in internal/server/network/ovn/ovn_nb_actions.go

View workflow job for this annotation

GitHub Actions / System (1.21.x, cluster, btrfs)

undefined: Str

Check failure on line 314 in internal/server/network/ovn/ovn_nb_actions.go

View workflow job for this annotation

GitHub Actions / System (1.21.x, standalone, zfs)

undefined: Str

Check failure on line 314 in internal/server/network/ovn/ovn_nb_actions.go

View workflow job for this annotation

GitHub Actions / System (stable, standalone, dir)

undefined: Str

Check failure on line 314 in internal/server/network/ovn/ovn_nb_actions.go

View workflow job for this annotation

GitHub Actions / System (1.21.x, cluster, zfs)

undefined: Str

Check failure on line 314 in internal/server/network/ovn/ovn_nb_actions.go

View workflow job for this annotation

GitHub Actions / System (1.21.x, cluster, ceph)

undefined: Str
Type: natType,
}
}
Expand Down

0 comments on commit c44ef47

Please sign in to comment.