@ -51,14 +51,23 @@ func getVal() []interface{} {
map [ dnsname . FQDN ] [ ] netaddr . IP {
map [ dnsname . FQDN ] [ ] netaddr . IP {
dnsname . FQDN ( "a." ) : { netaddr . MustParseIP ( "1.2.3.4" ) , netaddr . MustParseIP ( "4.3.2.1" ) } ,
dnsname . FQDN ( "a." ) : { netaddr . MustParseIP ( "1.2.3.4" ) , netaddr . MustParseIP ( "4.3.2.1" ) } ,
dnsname . FQDN ( "b." ) : { netaddr . MustParseIP ( "8.8.8.8" ) , netaddr . MustParseIP ( "9.9.9.9" ) } ,
dnsname . FQDN ( "b." ) : { netaddr . MustParseIP ( "8.8.8.8" ) , netaddr . MustParseIP ( "9.9.9.9" ) } ,
dnsname . FQDN ( "c." ) : { netaddr . MustParseIP ( "6.6.6.6" ) , netaddr . MustParseIP ( "7.7.7.7" ) } ,
dnsname . FQDN ( "d." ) : { netaddr . MustParseIP ( "6.7.6.6" ) , netaddr . MustParseIP ( "7.7.7.8" ) } ,
dnsname . FQDN ( "e." ) : { netaddr . MustParseIP ( "6.8.6.6" ) , netaddr . MustParseIP ( "7.7.7.9" ) } ,
dnsname . FQDN ( "f." ) : { netaddr . MustParseIP ( "6.9.6.6" ) , netaddr . MustParseIP ( "7.7.7.0" ) } ,
} ,
} ,
map [ dnsname . FQDN ] [ ] netaddr . IPPort {
map [ dnsname . FQDN ] [ ] netaddr . IPPort {
dnsname . FQDN ( "a." ) : { netaddr . MustParseIPPort ( "1.2.3.4:11" ) , netaddr . MustParseIPPort ( "4.3.2.1:22" ) } ,
dnsname . FQDN ( "a." ) : { netaddr . MustParseIPPort ( "1.2.3.4:11" ) , netaddr . MustParseIPPort ( "4.3.2.1:22" ) } ,
dnsname . FQDN ( "b." ) : { netaddr . MustParseIPPort ( "8.8.8.8:11" ) , netaddr . MustParseIPPort ( "9.9.9.9:22" ) } ,
dnsname . FQDN ( "b." ) : { netaddr . MustParseIPPort ( "8.8.8.8:11" ) , netaddr . MustParseIPPort ( "9.9.9.9:22" ) } ,
dnsname . FQDN ( "c." ) : { netaddr . MustParseIPPort ( "8.8.8.8:12" ) , netaddr . MustParseIPPort ( "9.9.9.9:23" ) } ,
dnsname . FQDN ( "d." ) : { netaddr . MustParseIPPort ( "8.8.8.8:13" ) , netaddr . MustParseIPPort ( "9.9.9.9:24" ) } ,
dnsname . FQDN ( "e." ) : { netaddr . MustParseIPPort ( "8.8.8.8:14" ) , netaddr . MustParseIPPort ( "9.9.9.9:25" ) } ,
} ,
} ,
map [ tailcfg . DiscoKey ] bool {
map [ tailcfg . DiscoKey ] bool {
{ 1 : 1 } : true ,
{ 1 : 1 } : true ,
{ 1 : 2 } : false ,
{ 1 : 2 } : false ,
{ 2 : 3 } : true ,
{ 3 : 4 } : false ,
} ,
} ,
}
}
}
}