![]() Using with a context manager, `prepare` will open the scrapli connection (if notĪlready open), and `close` will close the scrapli connection. If `True` will automatically open and close the scrapli connection when Underlying scrapli connection and will raise an exception if the scrapli connection On_prepare: optional callable to run at connection `prepare`ĭedicated_connection: if `False` (default value) scrapli cfg will not open or close the Version inherited from the base ScrapliCfgPlatform and did not implement the abstract methods Just so that the naming convention (w/ upper case things) is "right", but given that the class Return a sync scrapli config object for the provided platform. ![]() From typing import TYPE_CHECKING, Any, Callable, List, Optionalįrom import AsyncNetworkDriver, NetworkDriverįrom scrapli_cfg.exceptions import ScrapliCfgExceptionįrom scrapli_eos import AsyncScrapliCfgEOS, ScrapliCfgEOSįrom scrapli_iosxe import AsyncScrapliCfgIOSXE, ScrapliCfgIOSXEįrom scrapli_iosxr import AsyncScrapliCfgIOSXR, ScrapliCfgIOSXRįrom scrapli_nxos import AsyncScrapliCfgNXOS, ScrapliCfgNXOSįrom scrapli_junos import AsyncScrapliCfgJunos, ScrapliCfgJunosįrom scrapli_platform import AsyncScrapliCfgPlatform # pragma: no coverįrom scrapli_platform import ScrapliCfgPlatform # pragma: no coverĬonfig_sources: Optional] = None,
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
June 2023
Categories |