Filtering Options
- Discussions
- in accepted solutions
- +
- solved
- +
- in Automation Scripts
1 - 10 of 17 discussions
Sorted by:
1Creating a Network with custom DHCP options in Ans...
Latest Post By
JZhou_1
in Automation Scripts
Hi I am using NIOS 8.6 and have a custom DHCP option defined. I try to create a Network with custom DHCP options in Ansible playbook. But i could not it in Network module. I was wondering wh...
01-21-2023
03:20 AM
1
Reply
1212
Views
1Creating DHCP range structure error
Latest Post By
itsthekraken
in Automation Scripts
...erver_association_type": "MEMBER", "restart_if_needed": True # "failover_association": "IPv4 DHCP Failover Association (ANET-Failover-Group)" (production code) } try: print(dhcp_settings) dhcp_range = o...
07-10-2023
03:35 AM
2
Replies
2531
Views
1Cookie Authentication Using Python
Latest Post By
mluchini2
in Automation Scripts
Is there an example of using a cookie in a Python script to verify authentication? This is as far as I have gotten. The requests returns a 401 error indicating that there is not any authention....
03-26-2023
09:26 AM
2
Replies
5310
Views
1Delete network container and all sub objects via a...
Latest Post By
bbonaccorso06
in Automation Scripts
Wanted to see if there was certain flag or if there is an example of how i can delete a network container and all of the other sub objects within it via the API I have been able to do ...
09-06-2022
10:23 AM
1
Reply
1355
Views
1Download numerous session logs from jobs in NetMRI
Latest Post By
hebron1212
in Automation Scripts
I have a couple thousand session logs I need to pull from jobs in NetMRI. Is there a way to do this via API or SCP? It is quite cumbersome and inefficient to use the UI.
03-03-2022
07:15 AM
3
Replies
1949
Views
1Ansible lookup dhcp options
Latest Post By
adminfromhell
in Automation Scripts
Hello everyone, i try to lookup the 'domain_name_servers' dhcp option of a given network. is it possible to query or filter the lookup to return only the options with name equals 'domain_nam...
07-06-2021
10:38 AM
2
Replies
2369
Views
1SSH to a second device within Python script in Net...
Latest Post By
RParker_1
in Automation Scripts
Hi, Not sure if this has been asked before but is there a way of connecting to a second device using SSH using Python within the same script. So we use "easy" to connect to the main dev...
06-26-2020
01:49 AM
12
Replies
8819
Views
1Error when creating host record via Ansible with i...
Latest Post By
jpfingstmann
in Automation Scripts
First off, I'm new to ansible and infoblox, so my issue may be something really simple, despite many queries online, I've not come across anything to help so far. I've got Ansible Tower set ...
1Trouble with substring in python
Latest Post By
daniel_diep
in Automation Scripts
Hello, Has anyone tried to manipulate strings in python with NetMRI? Basically, I'm trying to pull the first 4 characters of the device's name and stored it in a new variable. ...
05-26-2020
04:56 PM
2
Replies
3033
Views
1Generate custom issue in python
Latest Post By
daniel_diep
in Automation Scripts
Hello, I followed the example from the "Getting started with 5 scripts' to generate a custom issue in python. After some minor modification, my script runs without error but the custom issue created ...
05-20-2020
05:55 PM
2
Replies
2787
Views