Chris Lu
12 years ago
7 changed files with 68 additions and 68 deletions
-
5weed-fs/src/cmd/weed/master.go
-
32weed-fs/src/pkg/topology/configuration.go
-
14weed-fs/src/pkg/topology/data_center.go
-
21weed-fs/src/pkg/topology/ip_range.go
-
2weed-fs/src/pkg/topology/node.go
-
10weed-fs/src/pkg/topology/rack.go
-
26weed-fs/src/pkg/topology/topology.go
@ -1,21 +0,0 @@ |
|||
package topology |
|||
|
|||
import ( |
|||
|
|||
) |
|||
|
|||
|
|||
type IpRange struct { |
|||
inclusives []string |
|||
exclusives []string |
|||
} |
|||
|
|||
func (r *IpRange) Match(ip string) bool { |
|||
// TODO
|
|||
// for _, exc := range r.exclusives {
|
|||
// if exc
|
|||
// }
|
|||
// for _, inc := range r.inclusives {
|
|||
// }
|
|||
return true |
|||
} |
Write
Preview
Loading…
Cancel
Save
Reference in new issue