You can connect via SSH using a language called TTL(Terawaros Tekitou Language), which is similar to teraterm macro, and ping other servers as stepping stones.
Project description
NextNextPing
- This software is a tool similar to ExPing for pinging multiple devices in Windows.
- You can connect via SSH using a language called TTL(Terawaros Tekitou Language), which is similar to teraterm macro, and ping other servers as stepping stones.
How to run
For Linux or Python
(1) install
$ pip3 install nextnextping
(2) Invoke pyttl
- You can connect via SSH using a language called TTL(Terawaros Tekitou Language), which is similar to teraterm macro, and ping other servers as stepping stones.
$ pyttl TTL_FILENAME
Example:
$ pyttl ./test/0000_ok_test.ttl
(3) Invoke nextnextping
$ nextnextping
- This software is a tool similar to ExPing for pinging multiple devices in Windows.
For Windows
(1) Download
(2) Screen image
For Linux and ansible
Downlad Sourcecode
For TTL macro
基本的な使い方
- Basic -- sample01/setting.txt に例があります。
- Advanced -- sample02/setting.txt に例があります。
- nextnextpingを起動します。
- メニューバーから、Tool ⇒ Sheet をクリックします。
- 設定用CSVファイルを作成します。やり方は2種類あります。
- メニューバーから、File ⇒ Load csv で保存した csvをロードします。
- Createボタンを押して 設定画新規作成または編集画面面 を開いて編集します。
- 行をダブルクリックすると編集ができます。
- 今後のために File ⇒ Save csv で保存した csvをセーブします。
- メニューバーから、Go ⇒ Create ttl で ttlを自動生成します。
- メニューバーから、File ⇒ Closeでツールを終了します。
- 結果表示画面 からPingボタンをクリックします。
- しばらくするとpingに成功したものがOK、失敗したものがNGで表示されます。
- メニューバーから、File ⇒ Save log でログの保存ができます。
- メニューバーから、File ⇒ Exit で終了できます。
- Legend -- sample03/setting.txt に例があります。
- nextnextpingを起動します。
- メニューバーから、File ⇒ Setting で 設定画面 を開いて設定を変更します。
- ttlを自作します。
- トップ画面で
[説明文](ttl)ttlマクロのファイル名と記述します。 - Updateボタンをクリックします。
- Pingボタンをクリックします。
- しばらくするとpingに成功したものがOK、失敗したものがNGで表示されます。
- 失敗の条件はエラーが発生したか、または、
resultが 0 である場合のいずれかです。
- 失敗の条件はエラーが発生したか、または、
- メニューバーから、File ⇒ Save setting で設定の保存ができます。
- メニューバーから、File ⇒ Save log でログの保存ができます。
- メニューバーから、File ⇒ Exit で終了できます。
開発者に向けた README
- 動作確認方法
- 初期設定
- Windows を購入します
- wsl2 をインストールします
- 以下、カレントフォルダを
.とする - 必要なパッケージが入ってなかったら入れる ※最初のみ
- 別のPCにインストールしたときはフォルダ名等は見直す ※最初のみ
.pypircを持ってきて.に置きます ※ Python packageを改版する場合- pipを使い requirement.txt を見て必要なパッケージを入れます
- ビルドの実行
./mybuild.pyの中にあるVERSION=情報を変更する。最後が0になるの数値は使わないことwslを起動するwslの中でforwsl2に移動しpython3 make.pyを起動する- すべての test にパスすることを確認する
- エラーが出た時は、指示に従って見直す
- 動作確認
./binフォルダに移動しnextnextpingが動くことを確認します
- リリース処理
wslの中でforwsl2に移動しansible-playbook site_pypi.ymlを実行して PyPi にアップロードする- ansible-galaxy に登録する
./dest配下に公開に必要なファイル群ができあがっている- ansible-galaxy tand0.ttl
- ansible-galaxy tand0.makedoc
- githubに登録する
./dest配下に公開に必要なファイル群ができあがっているgit add .git commit . -m "DOCUMENT"git push
- enjoy!
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nextnextping-1.31.1.tar.gz
(132.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
nextnextping-1.31.1-py3-none-any.whl
(139.0 kB
view details)
File details
Details for the file nextnextping-1.31.1.tar.gz.
File metadata
- Download URL: nextnextping-1.31.1.tar.gz
- Upload date:
- Size: 132.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bfd5bfa98de87f0ddbb2fe0d39c1258697cb8e15532d098c0a9183dc0da5f55f
|
|
| MD5 |
6eed927b9340de6e2d6c96a68e78a5bb
|
|
| BLAKE2b-256 |
c6fd9a1bcf3aa7f7b301f6cfe3d1dcf24b057944e40f148d75e4628ae7269b5f
|
File details
Details for the file nextnextping-1.31.1-py3-none-any.whl.
File metadata
- Download URL: nextnextping-1.31.1-py3-none-any.whl
- Upload date:
- Size: 139.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
701b5b7df0b8a75fcd7bf42e3fc2199c25f0a6335884ce069c688dc7662d3f8b
|
|
| MD5 |
6caf60f21cb19caa6fb70897ff332ef5
|
|
| BLAKE2b-256 |
98fd870a6b273121d35aaad1172c36d77ab50f1e0b3f2e3674d1d62085606b51
|