Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

in junos license output remove values that change frequently #2488

Merged
merged 2 commits into from May 13, 2022

Conversation

matejv
Copy link
Contributor

@matejv matejv commented Feb 21, 2022

Pre-Request Checklist

  • Passes rubocop code analysis (try rubocop --auto-correct)
  • Tests added or adapted (try rake test)
  • Changes are reflected in the documentation
  • User-visible changes appended to CHANGELOG.md

Description

junos model archives the output of show system license command. That output contains used values where some change often. In our case that is the number of active routes (in fib-scale and rib-scale lines). I've replaced the values in used column with <count>

> show system license 
License usage: 
                                 Licenses     Licenses    Licenses    Expiry
  Feature name                       used    installed      needed
  bgp                                   1            1           0    permanent
  isis                                  0            1           0    permanent
  filter-based-forwarding               0            1           0    permanent
  vrrp                                  0            1           0    permanent
  fib-scale                         90925       256000           0    permanent
  rib-scale                         90748      3000000           0    permanent
  bgp-peer-scale                       29         1000           0    permanent
  ip-tunnel-scale                       0         1000           0    permanent
  vrf-scale                             1            0           1    invalid
  gre_tunnel                            0            1           0    permanent
  Port Bandwidth Usage (in gbps)     1630         3600           0    permanent
  ospf                                  1            1           0    permanent
  Firewall Filters Scale License       14         4000           0    permanent
  Firewall Terms Scale License         76        16000           0    permanent
  TierRestricted-2001                   0            1           0    permanent

@mortzu
Copy link
Collaborator

mortzu commented May 13, 2022

Please fix the merge conflict

@matejv
Copy link
Contributor Author

matejv commented May 13, 2022

Please fix the merge conflict

Done

@mortzu mortzu merged commit b5b1a62 into ytti:master May 13, 2022
@matejv matejv deleted the junos-license branch May 13, 2022 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants