Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
Hello, We are running DNA version 1.3 but seems that the API bundle isn't activating properly. All of the APIs under the contents page are showing with a red x and saying "The API is not available because the system encountered a configuration error"...
Hello, I'm using the guest shell in on a 9300 and trying to save a run config txt file and then print out the run config txt file in the python interpreter. But it's not working, see below: >>> cli_output = cli("sh run")>>> type(cli_output)<type 'str...
I see the issue when I just try reading the file, it only outputting "cli_output" , it's not storing the value of the variable in the file: >>> f = open("run_config.txt" , "r")>>> contents = f.read()>>> print contentscli_output how can I pass the con...
Thanks for the reply, so I tried the for loop and getting the below: >>> f = open("run_config1.txt" , "w+")>>> f.write("run_config")>>> for lines in f:... print (lines)...>>> >>>>>> f = open("run_config1.txt" , "w+")>>> f.write("run_config")>>> f1 =...