forked from google/seesaw
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve engine tracking of configured VIP addresses.
Otherwise the engine can leave configured (and try to act upon) no longer used VIP addresses. - When receiving a vserver config update, check that the previously configured unicast VIP addresses are still needed, and remove them if not. - Better document relevant vserver fields. - Ensure vips and lbVservers maps are in-sync with the interface by pruning as necessary. - Implement a stub lb interface for testing that allows introspection of live configuration. - Use it to validate state during a re-ip transition. - Other minor test style cleanup.
- Loading branch information
Showing
9 changed files
with
379 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
seesaw_vip < | ||
fqdn: "seesaw-vip1.example.com." | ||
ipv4: "192.168.36.16/26" | ||
status: PRODUCTION | ||
> | ||
vserver < | ||
name: "dns.resolver@au-syd" | ||
rp: "foo" | ||
entry_address < | ||
fqdn: "dns-vip1.example.com." | ||
ipv4: "192.168.36.1/24" | ||
status: PRODUCTION | ||
> | ||
vserver_entry < | ||
protocol: UDP | ||
port: 53 | ||
persistence: 100 | ||
healthcheck < | ||
type: HTTP | ||
send: "foo" | ||
receive: "bar" | ||
code: 200 | ||
mode: DSR | ||
> | ||
> | ||
backend: < | ||
host: < | ||
fqdn: "dns1-1.example.com." | ||
ipv4: "192.168.37.2/26" | ||
status: PRODUCTION | ||
> | ||
> | ||
> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
seesaw_vip < | ||
fqdn: "seesaw-vip1.example.com." | ||
ipv4: "192.168.36.16/26" | ||
status: PRODUCTION | ||
> | ||
vserver < | ||
name: "dns.resolver@au-syd" | ||
rp: "foo" | ||
entry_address < | ||
fqdn: "dns-vip1.example.com." | ||
ipv4: "192.168.36.5/24" | ||
status: PRODUCTION | ||
> | ||
vserver_entry < | ||
protocol: UDP | ||
port: 53 | ||
persistence: 100 | ||
healthcheck < | ||
type: HTTP | ||
send: "foo" | ||
receive: "bar" | ||
code: 200 | ||
mode: DSR | ||
> | ||
> | ||
backend: < | ||
host: < | ||
fqdn: "dns1-1.example.com." | ||
ipv4: "192.168.37.2/26" | ||
status: PRODUCTION | ||
> | ||
> | ||
> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
seesaw_vip < | ||
fqdn: "seesaw-vip1.example.com." | ||
ipv4: "192.168.36.16/26" | ||
status: PRODUCTION | ||
> | ||
vserver < | ||
name: "dns.resolver@au-syd" | ||
rp: "foo" | ||
entry_address < | ||
fqdn: "dns-vip1.example.com." | ||
ipv4: "192.168.36.5/24" | ||
status: DISABLED | ||
> | ||
vserver_entry < | ||
protocol: UDP | ||
port: 53 | ||
persistence: 100 | ||
healthcheck < | ||
type: HTTP | ||
send: "foo" | ||
receive: "bar" | ||
code: 200 | ||
mode: DSR | ||
> | ||
> | ||
backend: < | ||
host: < | ||
fqdn: "dns1-1.example.com." | ||
ipv4: "192.168.37.2/26" | ||
status: DISABLED | ||
> | ||
> | ||
> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
seesaw_vip < | ||
fqdn: "seesaw-vip1.example.com." | ||
ipv4: "192.168.36.16/26" | ||
status: PRODUCTION | ||
> | ||
vserver < | ||
name: "dns.resolver@au-syd" | ||
rp: "foo" | ||
entry_address < | ||
fqdn: "dns-anycast.example.com." | ||
ipv4: "192.168.255.1/24" | ||
status: PRODUCTION | ||
> | ||
vserver_entry < | ||
protocol: UDP | ||
port: 53 | ||
persistence: 100 | ||
healthcheck < | ||
type: HTTP | ||
send: "foo" | ||
receive: "bar" | ||
code: 200 | ||
mode: DSR | ||
> | ||
> | ||
backend: < | ||
host: < | ||
fqdn: "dns1-1.example.com." | ||
ipv4: "192.168.37.2/26" | ||
status: PRODUCTION | ||
> | ||
> | ||
> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
seesaw_vip < | ||
fqdn: "seesaw-vip1.example.com." | ||
ipv4: "192.168.36.16/26" | ||
status: PRODUCTION | ||
> | ||
vserver < | ||
name: "dns.resolver@au-syd" | ||
rp: "foo" | ||
entry_address < | ||
fqdn: "dns-anycast.example.com." | ||
ipv4: "192.168.255.1/24" | ||
status: DISABLED | ||
> | ||
vserver_entry < | ||
protocol: UDP | ||
port: 53 | ||
persistence: 100 | ||
healthcheck < | ||
type: HTTP | ||
send: "foo" | ||
receive: "bar" | ||
code: 200 | ||
mode: DSR | ||
> | ||
> | ||
backend: < | ||
host: < | ||
fqdn: "dns1-1.example.com." | ||
ipv4: "192.168.37.2/26" | ||
status: DISABLED | ||
> | ||
> | ||
> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.