Now let's finally start networking like pink test logging devices and clock management hearing first
for example.
Let's make a script for pin test and we can pin test for many devices fitted for the import SAP process
module first and we create two entities bound for ritual eyepiece and other is not ritual eyepiece that
enter the high list as hostages after that we tried to reach all values in host list with for loop.
We run SAP process that call as function as pink with IP address and PIN code is pink.
This is successful.
We add that IP to richly with append function if it is unsuccessful.
We add that I to not reach clean with append function.
Finally we print reached and not rich list and the result will be like that.
We have 3 1.
If it is reachable it will show reachable host.
If we if it is not reachable it was shown that not reachable like that.
Let's try it in future
import surpluses.
We create two empty lists to reach and
reach
and create a host.
We will enter the IP addresses that we want.
Pink
and just google
and create a for loop for IP.
In all these clean as a QS we will call call functions from sub process module up process that call
function.
And which is count how many times we will ping we can write to and come up IP here is a sign we will
write.
IP address if pink test kills to zero.
It means the test is successful.
Live a.
IP so if it is successful or empty reach list will append IP address.
As so many if it is not successful we will add the IP address to not which list at points.
Function
if we print
turned to where it could we will write IP address.
Here is reachable.
Format reach
Long
Reach you will not reach your curly brackets.
We will show format that reads so it will be like usage.
When we write here we have some steaks in line so there is no comma and we will enter personal touch.
Now when we run now.
Right.
First and second type.
Right now it's time out second class this time.
And finally pink.
Google.
Repeating pink.
First post pink is successful.
The pink of second toast is time out.
And third Google pink is successful.
And finally it tries to hose is reachable which we predicted and one host is not rich.
This is reached list and this is not rich list.
We enter with a pen.
We enter with a pen function.