sync_driver
scrapli_community.scrapli.networkdriver.sync_driver
ScrapliNetworkDriverWithMethods
¶
Bases: NetworkDriver
Source code in scrapli/networkdriver/sync_driver.py
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
|
__init__(*args: Any, **kwargs: Any) -> None
¶
Example scrapli community platform class
Parameters:
Name | Type | Description | Default |
---|---|---|---|
args |
positional args |
required | |
kwargs |
keyword args |
required |
Returns:
Type | Description |
---|---|
None
|
N/A |
Source code in scrapli/networkdriver/sync_driver.py
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
|
example_method() -> None
¶
Example scrapli community method
Returns:
Type | Description |
---|---|
None
|
N/A |
Source code in scrapli/networkdriver/sync_driver.py
63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 |
|
default_sync_on_close(conn: NetworkDriver) -> None
¶
scrapli_example default on_close callable
Parameters:
Name | Type | Description | Default |
---|---|---|---|
conn |
NetworkDriver
|
NetworkDriver object |
required |
Returns:
Type | Description |
---|---|
None
|
N/A |
Source code in scrapli/networkdriver/sync_driver.py
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
|
default_sync_on_open(conn: NetworkDriver) -> None
¶
scrapli_example default on_open callable
Parameters:
Name | Type | Description | Default |
---|---|---|---|
conn |
NetworkDriver
|
NetworkDriver object |
required |
Returns:
Type | Description |
---|---|
None
|
N/A |
Source code in scrapli/networkdriver/sync_driver.py
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
|