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!
Metadata
Release files for nextnextping 1.31.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nextnextping-1.31.1.tar.gz | 132.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nextnextping-1.31.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 271.7 kB
Release files / nextnextping-1.31.1.tar.gz
| Download URL | nextnextping-1.31.1.tar.gz |
|---|---|
| Size | 132.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bfd5bfa98de87f0ddbb2fe0d39c1258697cb8e15532d098c0a9183dc0da5f55f
|
|
BLAKE2b-256 checksum How to use checksums |
c6fd9a1bcf3aa7f7b301f6cfe3d1dcf24b057944e40f148d75e4628ae7269b5f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / nextnextping-1.31.1-py3-none-any.whl
| Download URL | nextnextping-1.31.1-py3-none-any.whl |
|---|---|
| Size | 139.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
701b5b7df0b8a75fcd7bf42e3fc2199c25f0a6335884ce069c688dc7662d3f8b
|
|
BLAKE2b-256 checksum How to use checksums |
98fd870a6b273121d35aaad1172c36d77ab50f1e0b3f2e3674d1d62085606b51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|