mirror of
https://github.com/daeuniverse/dae.git
synced 2025-07-13 09:18:55 +07:00
docs: README
This commit is contained in:
@ -226,11 +226,12 @@ tryRuleAddAgain:
|
||||
}
|
||||
|
||||
func (c *ControlPlaneCore) bindLan(ifname string) error {
|
||||
c.log.Infof("Bind to LAN: %v", ifname)
|
||||
|
||||
err := CheckIpforward(ifname)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
c.log.Infof("Bind to LAN: %v", ifname)
|
||||
link, err := netlink.LinkByName(ifname)
|
||||
if err != nil {
|
||||
return err
|
||||
|
@ -32,8 +32,12 @@ global {
|
||||
}
|
||||
|
||||
# Subscriptions defined here will be resolved as nodes and merged as a part of global node pool.
|
||||
# Support to give subscription a tag and filter nodes from given subscription in group section.
|
||||
subscription {
|
||||
# Add your subscription links here.
|
||||
my_sub: 'https://www.example.com/subscription/link'
|
||||
another_sub: 'https://example.com/another_sub'
|
||||
'https://example.com/no_tag_link'
|
||||
}
|
||||
|
||||
# Nodes defined here will be merged as a part of global node pool.
|
||||
@ -64,7 +68,7 @@ group {
|
||||
group2 {
|
||||
# Filter nodes from global node pool defined by subscription and node section above.
|
||||
# Pass node names as input of keyword/regex filter.
|
||||
filter: name(keyword: netflix)
|
||||
filter: subtag(regex: '^my_', another_sub) && name(keyword: netflix)
|
||||
|
||||
# Select the node with min average of the last 10 latencies from the group for every connection.
|
||||
policy: min_avg10
|
||||
|
Reference in New Issue
Block a user