r/netconfig • • Dec 15 '17

500 ERROR PAGE

1 Upvotes

I've carefully followed the documentation for installation and NetBox integration. Once I log in to NetConfig, the device I've been testing from NetBox appears in the list. The status shows a green check. When I click on the device, I receive a 500 ERROR PAGE that tells me to try logging out and back in. I've confirmed that the hostname and IPv4 address of the device is reachable from NetConfig and I'm able to start a normal SSH session from the command-line of the box itself. I'm considering breaking the NetBox integration and going with the local database option unless anyone has any other ideas. Thanks.


r/netconfig • • Dec 14 '17

netconfig depends on external cdns

2 Upvotes

please get rid of external resources. Most management systems don't have internet access and can't access https://cdn.datatables.net


r/netconfig • • Dec 13 '17

Can't get past login

1 Upvotes

I installed everything required and I've put netbox in before installed netconfig, but I just can't get past the login page. What am I missing?


r/netconfig • • Feb 26 '19

How to change the default timeout for "netconf-console"

1 Upvotes

Hi All,

Trying "netconf-console", I see there is a default timeout = 60 sec. According to the netconf-console --help, It seems also possible to change this timeout using the option" --timeout"

However, whatever I put there is NOT taking into the account!

csoteam@netconf:~/netconf-console$ netconf-console --host=172.16.2.2 --user=admin --password=admin --port=830 --commit --timeout=600
Operation failed: TimeoutExpiredError - ncclient timed out while waiting for an rpc reply.
###DIDN'T HELP, STILL AFTER 1 MIN IT GOT TIMED OUT, I WAS EXPECTING 10 MINUTES
csoteam@netconf:~/netconf-console$ netconf-console --host=172.16.2.2 --user=admin --password=admin --port=830 --timeout=120 --commit
Operation failed: TimeoutExpiredError - ncclient timed out while waiting for an rpc reply.
###DIDN'T HELP, STILL AFTER 1 MIN IT GOT TIMED OUT, I WAS EXPECTING 2 MINUTES
csoteam@netconf:~/netconf-console$ netconf-console --host=172.16.2.2 --user=admin --password=admin --port=830 --timeout 120 --commit
Operation failed: TimeoutExpiredError - ncclient timed out while waiting for an rpc reply.
###DIDN'T HELP, STILL AFTER 1 MIN IT GOT TIMED OUT, I WAS EXPECTING 2 MINUTES
csoteam@netconf:~/netconf-console$ netconf-console --host=172.16.2.2 --user=admin  --password=admin --port=830 --timeout 12 --commit
Operation failed: TimeoutExpiredError - ncclient timed out while waiting for an rpc reply.
###DIDN'T HELP, STILL AFTER 1 MIN IT GOT TIMED OUT, I WAS EXPECTING 12 SECONDS
csoteam@netconf:~/netconf-console$ netconf-console  --host=172.16.2.2 --user=admin --pass=admin --port=830 --timeout=600
netconf> edit-config osv6-basic-config.xml --db=candidate
<ok xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0"/>
netconf> commit
Operation failed: TimeoutExpiredError - ncclient timed out while waiting for an rpc reply.
netconf> 
###AGAIN DIDN'T HELP

Have you tried this option? What is the correct syntax? How could I change the timeout?

The idea is that I want to commit a big chuck of configuration that takes more than one minutes, and I get this error on my netconf client machine! I know, at the end the commitment will be done successfully and this warning message doesn't harm actually. However, I prefer to have the correct timeout and warning messages to avoid doing manual checks on my router to see, if it's done or not!

Thanks in advance,


r/netconfig • • May 17 '18

Netbox integration documentation out of sync with current stable netbox.

1 Upvotes

http://netconfig.readthedocs.io/en/latest/netbox-integration.html says to check "Is Filterable" which is not an option in netbox v2.3.3.

I'm also having difficult getting both netbox and netconfig to play nice with nginx. I can't assign subdomains to the machine, so I'm trying to place netbox under a path within the same name.


r/netconfig • • Feb 21 '18

Any work on porting to CentOS/RHEL?

2 Upvotes

I just tried doing an install on CentOS 7. And had to correct a few parts (package names, start ups, etc..). But its giving me just the default NGINX page instead of the NetConfig one.

Was wondering if anyone else tried to use CentOS or RHEL, maybe compare notes.


r/netconfig • • Sep 02 '20

Mysterious items discovered

Thumbnail
gallery
2 Upvotes

r/netconfig • • Jul 03 '23

Ansible Netconf Cisco : netconf_config -> is it declarative or imperative?

2 Upvotes

Hi,

As the title goes:

using Ansible with ansible.netcommon.netconf_config implies an imperative or declarative approach?

I am asking because I was also looking at IOS-XE terraform Cisco provider and it stated there that the approach is imperative so that made me wonder how it is by doing this in Ansible

This is a sample playbook:

---
- name: "PLAY 1 - Configure VRFs"
  hosts: r4
  connection: netconf
  tasks:
    - name: Configure VRFs in netconf (Cisco)
      ansible.netcommon.netconf_config:
        content: |
            <config xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
              <native xmlns="http://cisco.com/ns/yang/Cisco-IOS-XE-native">
               <vrf operation ="replace">
                 <definition>
                   <name>Mgmt-vrf</name>
                   <address-family>
                     <ipv4>
                     </ipv4>
                     <ipv6>
                     </ipv6>
                   </address-family>
                 </definition>
                 <definition>
                   <name>blue</name>
                 </definition>
                 <definition>
                   <name>green</name>
                 </definition>
                 <definition>
                   <name>red</name>
                 </definition>
               </vrf>
             </native>
            </config>