Skip to content
This repository was archived by the owner on Jan 2, 2020. It is now read-only.
This repository was archived by the owner on Jan 2, 2020. It is now read-only.

generatekeys seems to be broken #7

@nvx

Description

@nvx

If you commit with generatekeys set to true while not at the top (ie, if you're in say "edit protocols tinc test" level) you get the following error:

nvx@ERL# commit
[ protocols tinc test ]
The specified configuration node is not valid
Set failed
The specified configuration node is not valid
Set failed

[edit protocols tinc test]
nvx@ERL#```

Committing from the top level results in an unhelpful error "Aborted" and the config session is left quite broken (running "compare" says no changes while running "show" shows a every config option as pending removal):

``` [edit]
nvx@ERL# commit
Aborted
[edit]
nvx@ERL# compare
No changes between working and active configurations
[edit]
nvx@ERL# show
-interfaces {
-    ethernet eth0 {
-        address 10.190.38.253/24
-        description LAN
-        duplex auto
-        mtu 1500
-        speed auto
-    }
-    ethernet eth1 {
-        duplex auto
-        speed auto
-    }
-    ethernet eth2 {
-        address 10.190.39.144/31
-        description "ERL - ERXAS"
-        duplex auto
-        speed auto
-    }
-    loopback lo {
-        address 10.190.39.152/32
-    }
-}

Tested on EdgeOS v1.8.5alpha1 (latest alpha).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions