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

Ospf_area_virtual_link #436

Merged
merged 40 commits into from
Jun 28, 2016
Merged
Show file tree
Hide file tree
Changes from 39 commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
4e4a708
partial code commit, no test yet
Jun 4, 2016
1f2166c
partial testing
Jun 6, 2016
c4c3025
range added
Jun 7, 2016
7a72fdb
fix range
Jun 7, 2016
f5955ad
fix default cost
Jun 7, 2016
497265b
Added comments
Jun 7, 2016
7e03f91
other method add
Jun 8, 2016
1f19249
review comments
Jun 8, 2016
f65107f
partial review comments fixed
Jun 8, 2016
dcefefc
partial review comments fixed
Jun 8, 2016
be81ce3
fix auth and stub
Jun 9, 2016
e81b560
All review comments fixed
Jun 9, 2016
5aaf16c
Merge remote-tracking branch 'upstream/develop' into ospf
Jun 10, 2016
decb039
bug ID added
Jun 10, 2016
9c05e3f
Merge remote-tracking branch 'upstream/develop' into ospf
Jun 13, 2016
b51efb4
Merge remote-tracking branch 'upstream/develop' into ospf
Jun 13, 2016
4d96204
nssa translate added
Jun 13, 2016
0643c85
nssa properties added
Jun 14, 2016
5aef499
Merge remote-tracking branch 'upstream/develop' into ospf
Jun 15, 2016
7b491af
comments added
Jun 16, 2016
d168fe6
route-map default is empty
Jun 16, 2016
64dcadf
skip few tests for n8k due to bugs
Jun 16, 2016
7c51168
Review comments
Jun 17, 2016
e835d54
Merge remote-tracking branch 'upstream/develop' into ospf
Jun 17, 2016
1af555d
Merge remote-tracking branch 'upstream/develop' into ospf
Jun 20, 2016
4d09429
first commit
Jun 21, 2016
a28f2eb
test code for vls
Jun 21, 2016
0066bc1
test code for vls
Jun 21, 2016
1f4d91a
add more tests
Jun 21, 2016
b531699
auth added
Jun 21, 2016
84f0494
cleartext added
Jun 21, 2016
91f7d6d
Merge remote-tracking branch 'upstream/develop' into ospf
Jun 22, 2016
c0c3bea
authentication_key_pw added
Jun 22, 2016
dbe3e4e
message_digest_key added
Jun 22, 2016
dd4412e
Merge remote-tracking branch 'upstream/develop' into ospf
Jun 23, 2016
ce72f93
default for key_id
Jun 24, 2016
2eeb206
comments add
Jun 24, 2016
1971aa8
CHANGELOG fixed
Jun 24, 2016
e48eab7
comment added
Jun 24, 2016
62da95d
review coments
Jun 27, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Changelog
* bfd (@saichint)
* OSPF
* ospf_area (@saichint)
* ospf_area_vl (@saichint)
Copy link
Contributor

@chrisvanheuveln chrisvanheuveln Jun 27, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know the name is getting long. I'd prefer more than just an abbreviation though for customer-facing names. How does ospf_area_vlink sound? That's somewhat in line with our private-vlan / pvlan naming.


### Added

Expand Down
88 changes: 88 additions & 0 deletions lib/cisco_node_utils/cmd_ref/ospf_area_vl.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
# ospf_area_vl
---
_exclude: [ios_xr]

_template:
get_command: "show running ospf | no-more"
context:
- "router ospf <name>"
- "(?)vrf <vrf>"
- "area <area> virtual-link <vl>"

auth_key_chain:
get_value: '/^authentication key-chain (\S+)$/'
set_value: '<state> authentication key-chain <key_id>'
default_value: false

authentication:
# the config can be 'authentication' or 'authentication message-digest'
# or 'authentication null' or
# no authentication config at all so need to grab the
# optional match to get the whole config for checking
# the mode
get_value: '/^authentication(?:\s+\S+)?$/'
set_value: '<state> authentication <auth>'
default_value: false

authentication_key_enc_type:
get_value: '/^authentication-key (\d+)/'
default_value: '0'

authentication_key_password:
get_value: '/^authentication-key \d+ (\S+)/'
default_value: ''

authentication_key_set:
set_value: "<state> authentication-key <enctype> <password>"

dead_interval:
kind: int
get_value: '/^dead-interval (\d+)$/'
set_value: 'dead-interval <interval>'
default_value: 40

hello_interval:
kind: int
get_value: '/^hello-interval (\d+)$/'
set_value: 'hello-interval <interval>'
default_value: 10

message_digest_key_alg_type:
get_value: '/^message-digest-key \d+ (\S+)/'
default_value: 'md5'

message_digest_key_enc_type:
get_value: '/^message-digest-key \d+ \S+ (\d+)/'
default_value: '0'

message_digest_key_id:
kind: int
get_value: '/^message-digest-key (\d+)/'
default_value: 0

message_digest_key_password:
get_value: '/^message-digest-key \d+ \S+ \d+ (\S+)/'
default_value: ''

message_digest_key_set:
set_value: "<state> message-digest-key <keyid> <algtype> <enctype> <password>"

retransmit_interval:
kind: int
get_value: '/^retransmit-interval (\d+)$/'
set_value: 'retransmit-interval <interval>'
default_value: 5

transmit_delay:
kind: int
get_value: '/^transmit-delay (\d+)$/'
set_value: 'transmit-delay <delay>'
default_value: 1

virtual_links:
multiple: true
context:
- "router ospf <name>"
- "(?)vrf <vrf>"
get_value: '/^area (\S+) virtual-link (\S+)$/'
set_value: '<state> area <area> virtual-link <vl>'
Loading