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
- 動作確認方法
- 以下、カレントフォルダを
.とする- 必要なパッケージが入ってなかったら入れる ※最初のみ
- 別のPCにインストールしたときはフォルダ名等は見直す ※最初のみ
.pypircを持ってきて.に置く。※ Python packageを改版する場合python mybuild.pyの中にあるVERSION=情報を変更する。最後が0になるの数値は使わないことpython mybuild.pyを実行する。※ pyinstaller が動きますpytest -sを実行する- すべての test にパスすることを確認する
- 内部で Mock の ssh や scp サーバを起動します
- Layer4 port 2200 を占有します
wslを起動するwslの中でpytest -sを実行する- すべての test にパスすることを確認する
wslの中でpython3 test/test_nextnextping.pyを起動しっぱなにするwslの中で実行しないと後続のsite.ymlが正常動作しません- Mock の ssh や scp サーバを起動します
- Layer4 port 2200 を占有します
- もう一枚コマンドプロンプトを起動して
wslを起動するcd ../binに移動するnextnextpingを実行して動作に問題ないことを確認する- wsl の tkinterで文字化けするのは font が入ってないせい
sudo apt install fonts-noto-cjkで font を入れること
cd ./forwsl2に移動するwslの中でansible-playbook site.ymlを実行する- すべての test にパスすることを確認する
wslの中でansible-playbook site_pypi.ymlを実行して PyPi にアップロードする./dest配下に公開に必要なファイル群ができあがる- 2つのコマンドプロンプトを
wslをexitで抜ける
- ansible-galaxy に登録する
- githubに登録する
git add .git commit . -m "DOCUMENT"git push
- エラーが出た時は、指示に従って見直す
- pyinstall, tkinter, pytest など必要なパッケージが入ってないとエラーになります
- フォルダ名は環境に合わせて修正が必要です
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.25.1.tar.gz
(128.6 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.25.1-py3-none-any.whl
(134.5 kB
view details)
File details
Details for the file nextnextping-1.25.1.tar.gz.
File metadata
- Download URL: nextnextping-1.25.1.tar.gz
- Upload date:
- Size: 128.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8dbb97bc45f207a63d6ae268f097fe5fd34491e08cdbb769f12c5dd0b7c5eab9
|
|
| MD5 |
1ce36553527d26e726dfc34d4bf403f0
|
|
| BLAKE2b-256 |
17892ef84e7267f0efbc5834be65a84a42145a5c9164d9c9dd9cd8f70943b02d
|
File details
Details for the file nextnextping-1.25.1-py3-none-any.whl.
File metadata
- Download URL: nextnextping-1.25.1-py3-none-any.whl
- Upload date:
- Size: 134.5 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 |
ae930f8b72ec9dc7d77943e17118e79ae7562aeb06ab6318988c670581d2ca2b
|
|
| MD5 |
8e7ad7e4d32049ff5463f9e722c9b5dc
|
|
| BLAKE2b-256 |
c1d76968dcce954e951bb8ff5833274fcb468158d2525b52be7b10b20d430280
|