For software development issues related to Juniper hardware. Networking and configuration questions should be asked on https://networkengineering.stackexchange.com/
Questions tagged [juniper]
108 questions
0
votes
1 answer
Commit all changes after executing playbook
I made an Ansible play book that loops through a .yaml file and adds descriptions to interfaces. The problem is after every set command Ansible commits, waits for the commit then configures the next interface. If I run this on a VC with 10 members…

WillyB
- 11
- 2
0
votes
1 answer
pyEZ : how to get junos default groups
I am working on a project to automate junos firewall policy creation workflow. I found pyEZ as the most viable option for my case.
Although I am able to retrieve the complete configuration from the device in xml format by using rpc.get_config()…

Prabir
- 11
- 4
0
votes
4 answers
Configuring Juniper switch with python(paramiko)
I am trying to push config into multiple juniper devices. But as a test I enter into config mode and change config.
client1 = paramiko.SSHClient()
client1.set_missing_host_key_policy(paramiko.AutoAddPolicy())
client1.connect(IP,…

sivabala senna
- 57
- 1
- 8
0
votes
1 answer
How do I identify an issue with crypto while running an Ansible playbbok?
Trying to run a simple gather_ facts playbook using Ansible. I can connect via SSH using the user credentials with no issues but for a reason I cannot get my head around the playbook fails with the following message:
2017-10-07 22:57:44,248…

Jose H. Rosa
- 514
- 4
- 8
0
votes
2 answers
Juniper SRX firewall routing configuration
I have a question about Juniper SRX firewall configuration,
Running 11.4R7
My question is about routing table used while processing traffic passing through the firewall,
I have routing configuration part of the routing-instances definition, and it…

JanAroub
- 1
- 1
-1
votes
1 answer
How do you change a junos device root password with Ansible?
I am completely new to Ansible and cannot find much documentation regarding changing the root password of a Juniper device. What is the framework to do something like this?
This is what I have so far but I am not confident it is correct.
---
- vars:…

Dhar_
- 19
- 3
-1
votes
1 answer
Sending VSAs from FreeRADIUS and OpenLDAP
This may seem simple, however after much trawling through the documentation it, unfortunately, isn't clear so any help will be much appreciated.
In short I want to return a VSA in response to an auth request. The VSA is a juniper VSA for virtual…

davetayl
- 113
- 1
- 7
-1
votes
1 answer
Issue with DateTime in Rust with juniper and chrono
I've got the problem, that I have a graphQL query, with a DateTime and cannot use it with juniper.
At the documentation they write that they have the scalar type feature chrono::DateTime build in by default. So I pub imported the DateTime from…

Auryn
- 1,117
- 1
- 13
- 37
-1
votes
2 answers
php juniper lot hotel soap web service not working
am trying to consume juniper soap web service but I am getting errors
the following is the code I am using
$client = new SoapClient('http://xml2.bookingengine.es/WebService/JP/WebServiceJP.asmx?WSDL', array("trace" => 1, "exception" =>…

Ahmed Eltokhy
- 19
- 5
-1
votes
1 answer
Juniper SRX add custom BGP route
I have BGP configured between AzureStack (win2k16) and SRX210. On the Juniper I see all routes advertised but the Juniper is only advertising its physical interface networks..
I want the Juniper to also include all static routes that are configured…

Roelf
- 9
- 1
-1
votes
1 answer
Automating group creation with colours
With ref to :-
Automating group creation
I have a similar issue - whereby I am importing juniper code into excel and would like to group it - please see screenshot.
Issue is that in the original question the identifier was a ., in this case the…

Stephen C.
- 1
- 2
-1
votes
1 answer
How to prepare Ansible inventory, playbook and configuration file used by Ansible module using Ansible/Jinja2?
I have a plain-text file routers in versioning system which contains host-names separated by newlines:
$ cat routers
r1
r2
r3
$
I also have routers configuration templates in versioning system as a plain-text files. For example:
$ cat system:syslog…

Martin
- 957
- 7
- 25
- 38
-1
votes
1 answer
Trying to get Juniper Firewall Configured
I will be honest, I am not a firewall guy.
I have been working on a number of Change Controls to get our Juniper Firewall configured to allow the ability to run WMI Queries via PowerShell.
For Example:
$time =…

Leptonator
- 3,379
- 2
- 38
- 51
-2
votes
1 answer
no printing inside of "if" block
I have the code below in my juniper book. If user_payments is empty, i have message "no information" back. it works fine. But if rent_id is not empty, the information about user_profile (which must be printed inside of if: block, is not visible.
If…

OcMaRUS
- 329
- 3
- 13
-2
votes
1 answer
how can I fix sql type error with diesel and juniper for mysql in graphQL mutation?
I confronted the error logs below when I try to create mutation with graphGL and mysql via diesel.
currently the type of enum is just diesel's type but I want to make that with graphQl's type.
I implemented Customer Structure for graphQL like…

ryosukemitake
- 49
- 1
- 6