the network shell arts sandbox.
ネットワークシェル芸の遊び場です。
the shell arts, as known as シェル芸/shell-gei in Japanese, is unique, practical and pretty much ridiculous one-liner programming style on unix/linux shell. see wikipedia for your reference, however, information is limited in only Japanese language since above definition was created by Japanese robotics researcher Ryuichi Ueda Ph.D.
シェル芸はユニークで実用的、かつ馬鹿馬鹿しいワンライナースタイルのコマンドのことを言います。詳しくは「シェル芸の定義バージョン1.1」を参照してください。英語では何て言うのか決まっていないみたいなので、ちょこっと上記で説明しました。
it is coined term by me, shell arts's practical uses for network operation. unlike usual shell arts method, network shell arts does not care about one-liner style. southbound interface for network equipment by rancid's login script. some people say this is just a paraphrase of old school shell script voodoo technique of telecom/datacom industry. that is for sure, but I like them. so what?
ネットワークシェル芸はmatsuの造語です。シェル芸をネットワーク機器の操作に応用したものですが、通常のシェル芸とは違い、別にワンライナーに拘わりません。ネットワーク機器へのサウスバウンドとしてはRANCIDを使用します。昔ながらの、シェルスクリプトを使った保守が困難なネットワーク機器の操作自動化と何が違うの?と言われたら、それそのものです。アレルギーがある方はご遠慮ください。
Networking technique with shell scripting
shell arts practical use cases 1., for campus AP deployment
shell arts practical use cases 2., for HP ProCurve/H3C based Aruba SW
shell arts practical use cases 3., for campus SW deployment
your 1st network shell arts! try to generate configs and operate multiple node w/ one-line code!
初めてのネットワークシェル芸。Configを自動で生成し、複数台の機器をワンライナーで操作しよう。
阿部寛のLLDP。 ネットワーク機器からlldp情報を引っ張ってきて、htmlにします。
$ apt-get install fping nmap m4 arp-scan rancid locate snmp snmp-mibs-downloader rsyslog wget curl jq gwak
$ export PATH=$PATH:/usr/lib/rancid/bin
$ cp /usr/share/doc/rancid/examples/cloginrc.sample ~
$ mv ~/cloginrc.sample ~/.cloginrc
$ chmod 600 ~/.cloginrc
$ git config --global user.name ****
$ git config --global user.email *****
$ mkdir ~/public_html
$ chmod o+rx ~/public_html