ncdiff.ModelDownloader class¶
-
class
ncdiff.
ModelDownloader
(nc_device, folder)[source]¶ Bases:
object
Abstraction of a Netconf schema downloader.
-
device
¶ Model name.
Type: ModelDevice
-
dir_yang
¶ Path to yang files.
Type: str
-
yang_capabilities
¶ Path to capabilities.txt file in the folder of yang files.
Type: str
-
need_download
¶ True if the content of capabilities.txt file disagrees with device capabilities exchange. False otherwise.
Type: bool
__init__ instantiates a ModelDownloader instance.
-