clicon / clixon-controller

Clixon network controller
Apache License 2.0
12 stars 4 forks source link

Clixon curly configuration and JunOS curly configuration may differ #52

Closed krihal closed 6 months ago

krihal commented 8 months ago

JunOS:

routing-options {
    autonomous-system 1653;
}

Clixon:

routing-options {
    autonomous-system as-number 1653;
}
olofhagsand commented 8 months ago

Same in the CLI. Not JSON though. Could be an (automatic?) compression of YANGs on the form:

     container autonomous-system {
       leaf as-number {                                                                     
         type string;
         mandatory true;                                                                             
       }
   }

where as-number is suppressed. One could add such an extension or rule to the autocli. I dont consider this an error though.