Merge operator6/ into operator/

This commit is contained in:
Yifan Gao 2019-12-19 15:58:59 +08:00
parent 6ff8ee9543
commit da40357727
10 changed files with 4 additions and 19 deletions

View File

@ -8,14 +8,8 @@ for file in operator/*.conf; do
operator=${file%.*} operator=${file%.*}
operator=${operator##*/} operator=${operator##*/}
log_info "generating IP list of $operator ..." log_info "generating IP list of $operator ..."
get_asn $file | tee /dev/stderr | xargs bgptools -b rib.txt | sort | uniq | docker run -i --rm yangzhaofengsteven/cidr-merge > result/$operator.txt get_asn $file
log_info "done" get_asn $file | xargs bgptools -b rib.txt | sort | uniq | docker run -i --rm yangzhaofengsteven/cidr-merge > result/${operator}.txt
get_asn $file | xargs bgptools -b rib6.txt | sort | uniq | docker run -i --rm yangzhaofengsteven/cidr-merge > result/${operator}6.txt
done done
for file in operator6/*.conf; do
operator=${file%.*}
operator=${operator##*/}
log_info "generating IPv6 list of $operator ..."
get_asn $file | tee /dev/stderr | xargs bgptools -b rib6.txt | sort | uniq | docker run -i --rm yangzhaofengsteven/cidr-merge > result/${operator}6.txt
log_info "done"
done

View File

@ -1,2 +1,2 @@
PATTERN='cernet' PATTERN='(cngi|cernet)'
COUNTRY='CN' COUNTRY='CN'

View File

@ -1,2 +0,0 @@
PATTERN='(cngi|cernet)'
COUNTRY='CN'

View File

@ -1 +0,0 @@
../operator/china.conf

View File

@ -1 +0,0 @@
../operator/chinanet.conf

View File

@ -1 +0,0 @@
../operator/cmcc.conf

View File

@ -1 +0,0 @@
../operator/cstnet.conf

View File

@ -1 +0,0 @@
../operator/drpeng.conf

View File

@ -1 +0,0 @@
../operator/tietong.conf

View File

@ -1 +0,0 @@
../operator/unicom.conf