Crosswork Automation Hub
Welcome to the Automation Hub—a collaborative space designed for the automation community to foster ...
3011 PostsWelcome to the Automation Hub—a collaborative space designed for the automation community to foster ...
3011 PostsCommunity space to connect, share knowledge, and seek guidance on network controllers and related to...
843 PostsExplore, inquire, and collaborate on network devices.
163 PostsWe use nso to configure juniper junos routers via netconf ned.We have a service template to apply interface egress shaper, which is equivalent to the below junos cli command: set class-of-service interfaces xe-0/0/10 unit 2819 shaping-rate 1g The ser...
Cisco NSO use netconf NED to manage some juniper routers."show devices device xxx capability" from NSO returns below line, indicating the router is a commit-confirmed capable router."capability urn:ietf:params:xml:ns:netconf:capability:confirmed-comm...
Hi All,I am currently working on a pyATS automation project where I have implemented parallel execution of testcases using the aetest framework.So far, my script provides an overall summary at the end of execution, including the number of tests that...
I've been trying to use the yang-patch method with JSON data to write changes to device configurations in NSO, but have been having trouble making it work. Below is the JSON data I am trying to send to /restconf/data to configure an IOS device: { ...
Hi all,I am working on a pyATS/Easypy test automation project where I maintain a shared dictionary across multiple test cases using runtime.synchro.dict.Here is my setup:# Initialize shared dictionary in main scriptshared_dict = runtime.synchro.dict(...
Hello,I was running the following playbook; the purpose is to run ping checks of virtual IPs on a Cisco 7K switch.So far so good. However, when I wanted to expand the playbook by also counting the successful ping.Running the runbook again I receive t...
I'd like to use xpath eval or a similar Cisco NSO CLI command to further pre-validate my XML code before running "packages reload". I'd like to speed up my template development by catching syntax issues earlier. In particular, I'd like to be able t...
Hello,Everytime the pyats connection gets executed, it creates a log file ([device]-cli-[timestamp].log in the script directory. I cannot seem to disable it I am running 25.7 version # Attempt to connect to the device try: LOGGER.info...
If you're looking to automate network device configuration using Python, there are several powerful libraries and tools available. Below is a summary of some key options: LibraryConnection Data ModelDevices SupportYDK-PySSH, NETCONFYANGAll devices su...
I'm trying to implement secret strings in order to avoid plain text passwords in my yaml files.All pyats documentation points me to make changes to the "pyats.conf" file. However, I cannot find such a file.Any idea where this could be? I've used ever...
Hi, all:I recently encounter one thing which I do not understand.My vendor's device yang has the following:leaf secret-key{tailf:info "Secret key string shared for a connection";type tailf:aes-256-cfb-128-encrypted-string;mandatory true;}I set the se...
Hi Guys, I have to write a Python function to launch a file copy using ftp on IOSXE (no PyATS API available for this ... with vrf option). So I discovered Unicon, the execute API, the reply/dialog option to validate expected questions from the CLI an...
Hi Guys, I am looking for an API in PyATS (or Genie, Unicon...) that would copy a file from the Linux client (where my PyATS script is running) to a router declared in the PyATS testbed. I've found various APIs : In Unicon "copy" is available ... but...
is there any webhook realtime events that we can webhook out/syslog/snmptrap like the 5508s/8540s there were enhanced traps from the WLCs . But in DNAC not sure if theres a way to stream to i know we can use clients API but when dealing with 20000 c...
Hi All, I trying to use the API via python to associate and deploy cat8300, for a customer. Right now i can already deploy device with a configuration group using the variable excel export from the gui. My issue now is that some configuration groups ...
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide
User | Helpful Count |
---|---|
5 | |
2 | |
1 | |
1 |