Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
549 commits
Select commit Hold shift + click to select a range
fb1c5af
pull req comments
Dec 23, 2015
0f7c84c
pull req comments
Dec 23, 2015
b8c2ead
Merge branch 'feature/pc' of https://github.com/saichint/cisco-networ…
Dec 23, 2015
bdb3ce4
review comment
Dec 23, 2015
fffa805
conflict cleaned
Dec 23, 2015
7478ab9
removed optional space from hash distribution
Dec 23, 2015
4f7f42c
Merge pull request #150 from saichint/feature/pc
chrisvanheuveln Dec 23, 2015
b4068de
Merge remote-tracking branch 'upstream/develop' into develop
chrisvanheuveln Dec 23, 2015
3a350ae
Merge branch 'develop' into vlan_translation
chrisvanheuveln Dec 23, 2015
01cdadc
remove cruft file, remove no feature vni for mt_lite check
chrisvanheuveln Dec 23, 2015
18b9ef3
Merge branch 'vlan_translation' of https://github.com/chrisvanheuveln…
chrisvanheuveln Dec 23, 2015
d4e5db8
remove extra arg in self.globals
Dec 23, 2015
a737793
array replaced with hash
Dec 23, 2015
fd98037
Merge pull request #152 from saichint/feature/pc
chrisvanheuveln Dec 24, 2015
1c8dde5
simplify self.globals
chrisvanheuveln Dec 24, 2015
a918188
Add a vdc_support check to teardowns
chrisvanheuveln Dec 24, 2015
94165f8
refix self.globals
chrisvanheuveln Dec 24, 2015
e8ce23b
event_history to cisco_bgp
Dec 25, 2015
52737a0
Merge pull request #151 from chrisvanheuveln/vlan_translation
chrisvanheuveln Dec 28, 2015
87d880a
Merge pull request #154 from andy91315/eventhistory
chrisvanheuveln Jan 4, 2016
1af7a41
alpha order bullets
chrisvanheuveln Jan 4, 2016
fae258b
Added SNMP Notification Receiver
jonnytdevops Dec 9, 2015
74a1429
Fixed errors on YAML file and added a few methods and minitest cases
dcheriancisco Jan 4, 2016
5e217dd
fixed YAML errors
dcheriancisco Jan 5, 2016
0e09e9a
fixed more YAML errors
dcheriancisco Jan 5, 2016
08b0959
Merge pull request #129 from jonnytpuppet/snmp_notification_receiver
mikewiebe Jan 5, 2016
46b0f49
added set_args_keys method to vpc.rb for setters
dcheriancisco Jan 5, 2016
2f42fa5
add disable_policy_batching to cisco_bgp
Jan 6, 2016
de69ec3
fix static analysis
Jan 6, 2016
3af81b8
Error if keyword substitution yields empty result
jamtaylo Dec 23, 2015
ff6a434
Refactor to please RuboCop
jamtaylo Dec 23, 2015
f0a6e43
Fix typo
jamtaylo Jan 4, 2016
499e1b2
VPC base params commit
dcheriancisco Jan 6, 2016
293e0b8
add disable_policy_batching_ipv4 and ipv6
Jan 6, 2016
f3a0e59
fix static analysis
Jan 6, 2016
1156b51
fix comment
Jan 6, 2016
940d5f6
fix comment 2
Jan 6, 2016
0d1a3c9
Merge pull request #155 from andy91315/disablepolicybatch
chrisvanheuveln Jan 7, 2016
0ead86d
fix encap profile vni comment
chrisvanheuveln Jan 7, 2016
9804237
VPC System Params
PrasannaRajah Jan 7, 2016
5d0beea
Add verbose option to rake test
Jan 7, 2016
953eae1
change event_history
Jan 7, 2016
8b48205
add terminal dont-ask to feature vpc
dcheriancisco Jan 8, 2016
fb22f03
fix "weight" attribute yaml file and add test_weight
HelenHZhang Jan 8, 2016
76dc9aa
remove the comment for "platform"
HelenHZhang Jan 8, 2016
8f95987
Merge pull request #162 from HelenHZhang/develop
mikewiebe Jan 8, 2016
1ba484e
Rename interface_service files to interface_service_vni
chrisvanheuveln Jan 8, 2016
18bbb64
Merge pull request #161 from andy91315/eventhistory
chrisvanheuveln Jan 8, 2016
a818361
mv yaml file to new name
chrisvanheuveln Jan 8, 2016
454acfb
Rename interface_service refs to interface_service_vni
chrisvanheuveln Jan 8, 2016
5ab321c
Merge pull request #163 from chrisvanheuveln/intf-svc-vni-rename
chrisvanheuveln Jan 8, 2016
368fab3
fixes for interface bd and interface vlan
dcheriancisco Jan 8, 2016
9bf2c20
PR #158 Extend cisco_interface with acl properties
chrisvanheuveln Jan 11, 2016
228fd5f
Add default_value to limit_resource_module_type
chrisvanheuveln Jan 11, 2016
fb8b412
Merge remote-tracking branch 'upstream/develop' into develop
chrisvanheuveln Jan 11, 2016
ca7434d
Merge pull request #164 from chrisvanheuveln/develop
mikewiebe Jan 11, 2016
780ab92
Fix feature nv overlay in tests
Jan 12, 2016
7a232a6
Move feature check to property
Jan 12, 2016
f24bf06
Move common feature code to separate provider
Jan 12, 2016
6368f90
Remove redundancy in method name
Jan 12, 2016
1f3bb25
Refactor method calls to match name
Jan 12, 2016
bbb3fb8
Merge pull request #165 from cisco/feature/nv-overlay-fix
chrisvanheuveln Jan 12, 2016
2d3dd83
Merge pull request #156 from jamtaylo/US61997
chrisvanheuveln Jan 12, 2016
9f3d3ae
Fix invalid feature fabricpath forwarding
Jan 12, 2016
7f87d9e
Fix test for n7k platform
Jan 12, 2016
b2bc5b6
RD & route-target properties move to vrf
chrisvanheuveln Jan 12, 2016
7573a27
Refactor platform check for readability
Jan 12, 2016
8e4c93a
changing default value of acl prop
bansalpradeep Jan 13, 2016
28d0429
Merge pull request #168 from bansalpradeep/develop
chrisvanheuveln Jan 13, 2016
b5d18a2
Bugfix for vlan_mapping getter
chrisvanheuveln Jan 13, 2016
8d7d844
Handle feature-set fabric being uninstalled
Jan 13, 2016
fd0a189
Refactor feature provider and fix for 9k
Jan 13, 2016
4168faa
Fix rubocop error
Jan 13, 2016
27b3f27
fix the Fixnum issue in title pattern by making domain a string
dcheriancisco Jan 13, 2016
eb6efef
Move feature calls into feature.rb
chrisvanheuveln Jan 13, 2016
9c7f502
Merge branch 'mv-rd-rt-from-bgp-to-vrf' of https://github.com/chrisva…
chrisvanheuveln Jan 13, 2016
32855be
Remove unneeded <state> refs
chrisvanheuveln Jan 13, 2016
8c7aa2d
Merge branch 'mv-rd-rt-from-bgp-to-vrf' of https://github.com/chrisva…
chrisvanheuveln Jan 13, 2016
32db14d
fix resource ordering with peer gateway and fix minitests
dcheriancisco Jan 14, 2016
77f846a
fix rubocop errors
dcheriancisco Jan 14, 2016
546ba2b
review comments
Jan 14, 2016
b4f18a9
Replace platform specific code
Jan 14, 2016
ac139ac
Merge remote-tracking branch 'upstream/develop' into feature/vpc
dcheriancisco Jan 14, 2016
dbddc35
Merge pull request #167 from chrisvanheuveln/mv-rd-rt-from-bgp-to-vrf
robert-w-gries Jan 14, 2016
564aff6
Merge branch 'develop' into feature/fabricpath-forwarding-fix
Jan 14, 2016
8b52c2a
Merge pull request #169 from cisco/feature/fabricpath-forwarding-fix
robert-w-gries Jan 14, 2016
52c8e10
Merge pull request #166 from saichint/feature/snmpserver
mikewiebe Jan 14, 2016
d284b49
Explicitly exclude platforms and skip minitest
Jan 14, 2016
3eb8e3a
removing exclusion of shutdown, autorecovery
dcheriancisco Jan 15, 2016
18e1787
fix idempotence issue with layer3-routing and peer gateway
dcheriancisco Jan 15, 2016
7db4c2a
Remove unnecessary exclusion
Jan 15, 2016
2d7ef59
Add ipv4_arp_timeout and ipv4_address_secondary props
mikewiebe Jan 15, 2016
bbbfd09
Addressed PR comments
mikewiebe Jan 15, 2016
5e04b89
Change method names back to orginal names
mikewiebe Jan 15, 2016
cc0deff
Merge pull request #173 from cisco/feature/vxlan_int
mikewiebe Jan 15, 2016
e852f28
Refactor vxlan_vtep_vni NU to have ingress_replication and multicast_…
Jan 16, 2016
c73d284
add peer-keepalive and vpc_id, vpc_peer_link
dcheriancisco Jan 16, 2016
e7c78c0
Merge remote-tracking branch 'upstream/develop' into feature/vpc
dcheriancisco Jan 16, 2016
2adf9da
fixed syntax error witj no feature, fixed minitest issues
dcheriancisco Jan 16, 2016
7718fda
add skips for N9K shutdown, layer3_routing
dcheriancisco Jan 16, 2016
2591582
fix rubocop error
dcheriancisco Jan 16, 2016
526be5d
Remove option_format from ace provider
chrisvanheuveln Jan 19, 2016
dc01dd2
Fix ace code to handle absent
chrisvanheuveln Jan 19, 2016
b3a823a
Fix ace to handle updated ace entries
chrisvanheuveln Jan 19, 2016
1b81351
Merge pull request #172 from cisco/feature/vxlan-vtep-vni-test-fix
mikewiebe Jan 19, 2016
c581aff
Remove rescue RuntimeError anti-pattern
Jan 19, 2016
5714cf7
Add another error message to speed skip pattern
Jan 19, 2016
216fe30
Additional ipv4_addr and ipv4_arp_timeout updates
mikewiebe Jan 19, 2016
aa82b4a
Merge pull request #177 from cisco/feature/vxlan_int
chrisvanheuveln Jan 19, 2016
81eb22e
Merge branch 'develop' into feature/interface-regression-fix
Jan 19, 2016
d556095
Merge pull request #174 from dcheriancisco/feature/vpc
mikewiebe Jan 19, 2016
db65d99
Merge branch 'develop' into feature/interface-regression-fix
Jan 20, 2016
a97b959
vrf is missing some default methods
chrisvanheuveln Jan 20, 2016
83b00f4
Merge pull request #178 from chrisvanheuveln/vrf_missing_defaults
chrisvanheuveln Jan 20, 2016
773eddd
Ignore case to fix n5k and n6k
Jan 21, 2016
31c6e03
Handle different description sizes for platforms
Jan 21, 2016
1fd770e
system_default_switchport nvgens twice
chrisvanheuveln Jan 21, 2016
3abf158
Fix test_all_interfaces for n7k
Jan 21, 2016
83500ce
Handle switchport being enabled before test
Jan 22, 2016
d6845e3
Bad regex in vlan getters causes multiple match
chrisvanheuveln Jan 22, 2016
f6deb36
Merge branch 'develop' of https://github.com/alok-aggarwal/cisco-netw…
Jan 22, 2016
ea1c10e
Remove 'all' for port-channel interface on 7k
Jan 22, 2016
d0d7543
Initial commit interface_channel_group provider
chrisvanheuveln Jan 23, 2016
05087c9
Merge pull request #181 from chrisvanheuveln/changrp-provider
chrisvanheuveln Jan 25, 2016
289e2e7
fix node util for n7k
Jan 25, 2016
e01af77
Fix assert messages in test_router_bgp.rb
chrisvanheuveln Jan 25, 2016
a720d10
Adding support for self.pims needed for beaker
smigopal Jan 25, 2016
dc20560
Fix patterns regexp
Jan 25, 2016
8d8a5d8
Remove interface description length tests
Jan 25, 2016
3b26c4a
vni moved to vlan NU and vxlan_vtep_vni review comments
Jan 26, 2016
b941f49
review rework
Jan 26, 2016
849b13d
Fixed rubocop
Jan 26, 2016
17ad1dd
Merge pull request #188 from cisco/feature/interface-regression-updated
chrisvanheuveln Jan 26, 2016
f0b276b
Change NU dependency to nxapi 1.0.1
chrisvanheuveln Jan 26, 2016
3f8aac2
Handling feature fabric forwarding exception for n9k I3 images
smigopal Jan 27, 2016
df3e9e7
Merge pull request #193 from chrisvanheuveln/nxapi-dep
mikewiebe Jan 27, 2016
aa50c98
Review rework on vxlan_vtep_vni and vlan NUs
Jan 27, 2016
0b9becd
Node utils modification to make sure the ingress replication static i…
Jan 27, 2016
c80c4e9
Merge remote-tracking branch 'upstream/release_1.2.0' into develop
mikewiebe Jan 27, 2016
b31ee2a
vlan fix
mikewiebe Jan 27, 2016
69f3536
removed feature_vn_segment from vlan.yaml
Jan 27, 2016
d236e72
fix for n7k
Jan 27, 2016
d822aa5
fix for static analysis
Jan 27, 2016
f88cd41
removed 'end' statement for ingress_replication
Jan 27, 2016
e7bc505
change router id
Jan 27, 2016
ecd7984
Addressing review comments
smigopal Jan 27, 2016
c136311
Release version and CHANGELOG updates
mikewiebe Jan 27, 2016
be2d90e
change test comment
Jan 27, 2016
9df1e20
Merge pull request #196 from cisco/release120/misc_updates
chrisvanheuveln Jan 27, 2016
3590377
added comment about 'end' statement in vn-segment config
Jan 27, 2016
22b7184
Merge pull request #190 from alok-aggarwal/develop
mikewiebe Jan 27, 2016
564e497
Revert "Handling feature fabric forwarding exception for n9k I3 images"
smigopal Jan 27, 2016
d778c89
Merge branch 'release_1.2.0' of https://github.com/smigopal/cisco-net…
smigopal Jan 27, 2016
ba8f1bd
change test comment2
Jan 27, 2016
b320820
Merge branch 'release_1.2.0' of https://github.com/smigopal/cisco-net…
smigopal Jan 27, 2016
07785c4
Merge pull request #186 from smigopal/release_1.2.0
chrisvanheuveln Jan 28, 2016
942bb11
fix code for no default
Jan 28, 2016
bc5f12c
vlan fix and cleanup
mikewiebe Jan 28, 2016
780b70d
changing interface cases to accomodate channel_group changes
dcheriancisco Jan 28, 2016
d22a232
Use Vlan.vlans instead of @device.cmd
mikewiebe Jan 28, 2016
86e556b
Refactored to include teardown
mikewiebe Jan 28, 2016
8c201f0
Merge pull request #198 from cisco/release120/vlan_bug_fix
mikewiebe Jan 28, 2016
ec74698
ipv4_addr_mask_set unset idempotence
Jan 28, 2016
0baac4d
addressed PR comments and rubocop
dcheriancisco Jan 28, 2016
e2a4c51
Merge pull request #199 from cisco/release120/ipv4_addr_mask_set
Jan 28, 2016
cbcdf6c
fixed assert match
dcheriancisco Jan 28, 2016
a69ac1c
fix router_id 2
Jan 28, 2016
a267bf0
Merge pull request #195 from andy91315/develop
mikewiebe Jan 28, 2016
cd81f06
Fix for feature fabric forwarding exception for n9k I3 images
smigopal Jan 28, 2016
d55c574
removed negative range checks as per PR comments
dcheriancisco Jan 28, 2016
151945f
Update _exclude for nv_overlay_evpn
mikewiebe Jan 29, 2016
24f254e
Merge pull request #197 from dcheriancisco/release_1.2.0
chrisvanheuveln Jan 29, 2016
ee3c71d
Dynamic interface lookup for minitests.
mikewiebe Jan 29, 2016
6160a37
Remove tests/platform_info.yaml
mikewiebe Jan 29, 2016
e50a0be
Fix event_history_detail getter
chrisvanheuveln Jan 29, 2016
6432b4e
Skip switchport mode access vtp tests for 5/6/7k
Jan 29, 2016
88e70d1
Addressing review comments
smigopal Jan 29, 2016
41bf2bd
Fixing Rubocop issues
smigopal Jan 29, 2016
ad33ad3
Merge pull request #202 from smigopal/28_final_nve
chrisvanheuveln Jan 29, 2016
7554679
Temp commit, rework before push
mikewiebe Jan 29, 2016
26b2109
Added IPv6 support for snmp_notification_receiver
jonnytdevops Jan 26, 2016
f9ce9af
Added IPv6 support for syslog_server
jonnytdevops Jan 26, 2016
c699cdc
Added ipv6 support for ntp_server
jonnytdevops Jan 25, 2016
654a9a1
Added IPv6 support for radius_server_group
jonnytdevops Jan 25, 2016
ddec4ef
Added IPv6 support for radius_server
jonnytdevops Jan 25, 2016
1485222
Merge pull request #204 from cisco/rel/netdev_ipv6_cherry_picks
chrisvanheuveln Jan 29, 2016
fdbcaa2
Addressed review comments
mikewiebe Jan 31, 2016
3d3928b
Raise clear message on rescue
mikewiebe Jan 31, 2016
7495702
Remove bgp dot-notation handlers
chrisvanheuveln Feb 1, 2016
51bf1e1
Change skip message and make helper method
Feb 1, 2016
f5fc484
Merge pull request #203 from cisco/feature/interface-switchport-fix
chrisvanheuveln Feb 1, 2016
19fda2e
Add rescues for pim 'all' methods: grouplists, rp_addresses
chrisvanheuveln Feb 1, 2016
1773559
vlan test fixes
mikewiebe Feb 1, 2016
9e74832
Rubocop and test case cleanup
mikewiebe Feb 1, 2016
0b4a667
Merge branch 'release_1.2.0' into rel/minitest_query_interfaces
mikewiebe Feb 1, 2016
d418370
Updated based on review comments
mikewiebe Feb 1, 2016
3f18034
Merge pull request #201 from cisco/rel/minitest_query_interfaces
mikewiebe Feb 1, 2016
9a3432b
Add BGP validate_asnum, fix tests
chrisvanheuveln Feb 1, 2016
74bd78b
Merge pull request #207 from chrisvanheuveln/bgp-asn-dot-fix
chrisvanheuveln Feb 2, 2016
0b013fe
Merge branch 'release_1.2.0' into rel/vlan_fix
mikewiebe Feb 2, 2016
830c889
Update regexp
mikewiebe Feb 2, 2016
df1b130
Merge pull request #208 from cisco/rel/vlan_fix
mikewiebe Feb 2, 2016
c070ce8
BGP minitest fixes
chrisvanheuveln Feb 2, 2016
a1b60ed
minitest fixes for bgp_neighbor_af
chrisvanheuveln Feb 2, 2016
2e58a8f
Merge pull request #209 from chrisvanheuveln/minitest-bgp
chrisvanheuveln Feb 2, 2016
53fc8ee
svi interface fixes
mikewiebe Feb 2, 2016
19e236c
Merge pull request #210 from cisco/rel/int_svi_fixes
chrisvanheuveln Feb 3, 2016
07d8d96
minitest svi nits
chrisvanheuveln Feb 3, 2016
1135915
bgp_neighbor: local_as, remote_as
chrisvanheuveln Feb 3, 2016
bc9e1f1
advertise_l2vpn_evpn: exclude N(3|6)
chrisvanheuveln Feb 5, 2016
171ee07
Supporting property fabric forwarding mode anycast-gateway under Inte…
smigopal Feb 5, 2016
1136f44
Adding property - fabric forwarding mode anycast-gateway, to Cisco_in…
smigopal Feb 8, 2016
7b5fb98
Update platform support list
mikewiebe Feb 8, 2016
096188c
Update Copyrights
mikewiebe Feb 8, 2016
9263c69
Fixed Copyrights
mikewiebe Feb 8, 2016
ea1a32f
More copyright fixes
mikewiebe Feb 8, 2016
c94f199
More copyright fixes
mikewiebe Feb 8, 2016
5c0ca55
Refactored support table
mikewiebe Feb 8, 2016
171124a
Fix create method to handle error
mikewiebe Feb 9, 2016
5e56a71
Added sleep and reduced attempts
mikewiebe Feb 9, 2016
4a04dfa
Minor refactoring
mikewiebe Feb 9, 2016
78e87aa
Addressed PR comments
mikewiebe Feb 9, 2016
85a2024
vxlan only supported on n9k
mikewiebe Feb 9, 2016
32ee0d0
Merge pull request #219 from cisco/rel/dns_domain_fix
mikewiebe Feb 9, 2016
b311e4a
Merge pull request #216 from cisco/rel/doc_updates
mikewiebe Feb 9, 2016
c8b1238
File renames
Feb 9, 2016
143b850
s/vxlan_global/overlay_global/g
Feb 9, 2016
3b0eb78
Better behavior for overlay_global
Feb 9, 2016
ebf67f7
Better feature fabric forwarding handling
Feb 9, 2016
357631b
Add Feature.bgp_enable to non-global bgp's
chrisvanheuveln Feb 10, 2016
186f030
Merge pull request #220 from cisco/rel120/vxlan_global_fix
Feb 10, 2016
b8f40cc
Merge branch 'release_1.2.0' into final_interface
smigopal Feb 10, 2016
5633903
Add n3k_in_n3k_mode() platform check
chrisvanheuveln Feb 11, 2016
6342900
Addressing review comments
smigopal Feb 11, 2016
af3bd6c
Adding destroy method for pim, needed for resource=absent
smigopal Feb 11, 2016
2994d90
Merge pull request #222 from smigopal/Pim_feb
chrisvanheuveln Feb 11, 2016
35f4714
Use setter in destroy, add destroy testcases
chrisvanheuveln Feb 11, 2016
710ed7a
Merge pull request #215 from smigopal/final_interface
mikewiebe Feb 11, 2016
8f4735d
fabric_forwarding_anycast fixes
mikewiebe Feb 11, 2016
b6e75b4
Addressed comments
mikewiebe Feb 11, 2016
8183015
Typo fix
mikewiebe Feb 11, 2016
740f3d4
Merge pull request #223 from cisco/rel/vxlan_fabric_fixes
chrisvanheuveln Feb 11, 2016
ad2b90f
overlay_global yaml change and test cleanup
mikewiebe Feb 11, 2016
5f0d1ce
vlan fixes
chrisvanheuveln Feb 11, 2016
81cc3c3
Fix zero_pad issue in overlay_global
mikewiebe Feb 11, 2016
d1f0ec1
Merge pull request #224 from cisco/rel/zero_pad
mikewiebe Feb 11, 2016
1eb7dcc
Update CHANGELOG.md
chrisvanheuveln Feb 11, 2016
36d3e9c
Update README.md
chrisvanheuveln Feb 11, 2016
b41a4e8
Update cisco_node_utils.gemspec
chrisvanheuveln Feb 11, 2016
1f2e2ff
Update cisco_node_utils.gemspec
chrisvanheuveln Feb 11, 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
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ pkg/*
vendor/*
coverage
Gemfile.lock
*.gem
*.gem
*.swp
127 changes: 126 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,126 @@
Changelog
=========

## [v1.2.0]

### New feature support
* ACL (platforms: Nexus 3k and Nexus 9k)
* acl (@saqibraza)
* ace (@yjyongz)
* remark ace (@bansalpradeep)
* EVPN (platforms: Nexus 3k and Nexus 9k)
* evpn_vni (@andish)
* Fabric Path (platforms: Nexus 7k)
* fabricpath_global (@dcheriancisco)
* fabricpath_topology (@dcheriancisco)
* Feature
* feature (@robert-w-gries)
* Interface (platforms: Nexus 3k, Nexus 5k, Nexus 6k, Nexus 7k and Nexus 9k)
* interface_channel_group (@chrisvanheuveln)
* interface_portchannel (@saichint)
* interface_service_vni (@chrisvanheuveln)
* PIM (platforms: Nexus 3k and Nexus 9k)
* pim (@smigopal)
* pim_group_list (@smigopal)
* pim_rp_address (@smigopal)
* Port Channel (platforms: Nexus 3k, Nexus 5k, Nexus 6k, Nexus 7k and Nexus 9k)
* interface_channel_group (@chrisvanheuveln)
* interface_portchannel (@saichint)
* portchannel_global (@saichint)
* SNMP (platforms: Nexus 3k, Nexus 5k, Nexus 6k, Nexus 7k and Nexus 9k)
* snmpnotification (@tphoney)
* VDC (platforms: Nexus 7k)
* vdc (@chrisvanheuveln)
* VPC (platforms: Nexus 3k, Nexus 5k, Nexus 6k, Nexus 7k and Nexus 9k)
* vpc (@dcheriancisco)
* VRF (platforms: Nexus 3k, Nexus 5k, Nexus 6k, Nexus 7k and Nexus 9k)
* vrf_af (@chrisvanheuveln)
* VXLAN (platforms: Nexus 9k)
* overlay_global (@alok-aggarwal)
* vxlan_vtep (@dcheriancisco)
* vxlan_vtep_vni (@mikewiebe)


### Additional platform support added to existing classes
#### Cisco Nexus 56xx, 60xx and 7xxx
* AAA
* aaa_authentication_login
* aaa_authentication_login_service
* aaa_authentication_service
* BGP
* bgp
* bgp_af
* bgp_af_neighobr
* bgp_neighbor_af
* COMMAND_CONFIG
* command_config (config_parser)
* DOMAIN
* dns_domain
* domain_name
* name_server
* INTERFACE
* interface
* NTP
* ntp_config
* ntp_server
* OSPF
* interface_ospf
* ospf
* ospf_vrf
* RADIUS
* radius_global
* SNMP
* snmp_community
* snmp_group
* snmp_notification_receiver
* snmp_server
* snmp_user
* SYSLOG
* syslog_server
* syslog_setting
* TACACS
* tacacs_server
* tacacs_server_group
* tacacs_server_host
* VLAN
* vlan

### Added

* `Cisco::UnsupportedError` exception class, raised when a command is explicitly marked as unsupported on a particular class of nodes.
* Extend bgp with attributes:
* `disable_policy_batching`, `disable_policy_batching_ipv4`, `disable_policy_batching_ipv6`
* `event_history_cli`, `event_history_detail`, `event_history_events`, `event_history_periodic`
* `fast_external_fallover`
* `flush_routes`
* `isolate`
* `neighbor_down_fib_accelerate`
* `route_distinguisher`
* Extend bgp_af with attributes:
* `default_metric`
* `distance_ebgp`, `distance_ibgp`, `distance_local`
* `inject_map`
* `suppress_inactive`
* `table_map`
* Extend interface with attributes:
* `fabric_forwarding_anycast_gateway`
* `ipv4_acl_in`, `ipv4_acl_out`, `ipv6_acl_in`, `ipv6_acl_out`
* `ipv4_address_secondary`, `ipv4_arp_timeout`
* `vlan_mapping`
* `vpc_id`, `vpc_peer_link`
* switchport mode `fabricpath`
* Extend vrf with attributes:
* `vni`
* Extend vlan with attribute:
* `mode`

### Changed

* Major refactor and enhancement of `CommandReference` YAML files:
- Added support for `auto_default`, `default_only`, `kind`, and `multiple`
- Added filtering by product ID (`/N7K/`) and by client type (`cli_nexus`)
- `CommandReference` methods that do key-value style wildcard substitution now raise an `ArgumentError` if the result is empty (because not enough parameters were supplied).

## [v1.1.0]

### New feature support
Expand All @@ -15,10 +135,12 @@ Changelog
* RADIUS
* radius_global (@jonnytpuppet)
* radius_server (@jonnytpuppet)
* SNMP
* snmp_notification_receiver (@jonnytpuppet)
* SYSLOG
* syslog_server (@jonnytpuppet)
* syslog_setting (@jonnytpuppet)
* Miscellaneous
* Miscellaneous
* dns_domain (@hunner)
* domain_name (@bmjen)
* name_server (@hunner)
Expand All @@ -43,6 +165,8 @@ Changelog
* Added `config` and `(assert|refute)_show_match` helper methods for testing.
* Added `bin/check_metric_limits.rb` helper script in support of refactoring.
* Added best practices development guide.
* Added support for radius_global (@jonnytpuppet)
* Added support for radius_server_group (@jonnytpuppet)

### Fixed

Expand Down Expand Up @@ -92,6 +216,7 @@ Changelog
[git-flow]: https://github.com/petervanderdoes/gitflow-avh
[SimpleCov]: https://github.com/colszowka/simplecov

[v1.2.0]: https://github.com/cisco/cisco-network-node-utils/compare/v1.1.0...v1.2.0
[v1.1.0]: https://github.com/cisco/cisco-network-node-utils/compare/v1.0.1...v1.1.0
[v1.0.1]: https://github.com/cisco/cisco-network-node-utils/compare/v1.0.0...v1.0.1
[v1.0.0]: https://github.com/cisco/cisco-network-node-utils/compare/v0.9.0...v1.0.0
Expand Down
31 changes: 19 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,23 @@ Please see [Learning Resources](#resources) for additional references.

The CiscoNodeUtils gem provides utilities for management of Cisco network
nodes. It is designed to work with Puppet and Chef as well as other
open source management tools. This release supports Cisco NX-OS nodes
running NX-OS 7.0(3)I2(1) and later.
open source management tools.

Please note: A virtual Nexus N9000/N3000 may be helpful for development and testing. Users with a valid [cisco.com](http://cisco.com) user ID can obtain a copy of a virtual Nexus N9000/N3000 by sending their [cisco.com](http://cisco.com) user ID in an email to <get-n9kv@cisco.com>. If you do not have a [cisco.com](http://cisco.com) user ID please register for one at [https://tools.cisco.com/IDREG/guestRegistration](https://tools.cisco.com/IDREG/guestRegistration)
This CiscoNodeUtils gem release supports the following:

Platform | OS | OS Version |
-----------------|-------|----------------------|
Cisco Nexus 30xx | NX-OS | 7.0(3)I2(1) and later
Cisco Nexus 31xx | NX-OS | 7.0(3)I2(1) and later
Cisco Nexus 93xx | NX-OS | 7.0(3)I2(1) and later
Cisco Nexus 95xx | NX-OS | 7.0(3)I2(1) and later
Cisco N9kv | NX-OS | 7.0(3)I2(1) and later
Cisco Nexus 56xx | NX-OS | 7.3(0)N1(1) and later
Cisco Nexus 60xx | NX-OS | 7.3(0)N1(1) and later
Cisco Nexus 7xxx | NX-OS | 7.3(0)D1(1) and later


Please note: For Cisco Nexus 3k and 9k platforms, a virtual Nexus N9000/N3000 may be helpful for development and testing. Users with a valid [cisco.com](http://cisco.com) user ID can obtain a copy of a virtual Nexus N9000/N3000 by sending their [cisco.com](http://cisco.com) user ID in an email to <get-n9kv@cisco.com>. If you do not have a [cisco.com](http://cisco.com) user ID please register for one at [https://tools.cisco.com/IDREG/guestRegistration](https://tools.cisco.com/IDREG/guestRegistration)

## <a name="installation">Installation</a>

Expand Down Expand Up @@ -97,15 +110,9 @@ network node. It provides the base APIs `config_set`, `config_get`, and

### CommandReference

The `CommandReference` module provides for the abstraction of NX-OS CLI,
especially to handle its variance between hardware platforms.
A series of YAML files are used to describe the CLI corresponding to a given
`(feature, attribute)` tuple for any given platform. When a `Node` is
connected, the platform identification of the Node is used to construct a
`CmdRef` object that corresponds to this platform. The `Node` APIs
`config_set`, `config_get`, and `config_get_default` all rely on the `CmdRef`.
The `CommandReference` class abstracts away the differences between various supported `Node` types, be that API differences (CLI vs. YANG), platform differences (NX-OS vs. IOS XR), or hardware differences (Nexus 9xxx vs. Nexus 3xxx). A series of YAML files describe various `feature` groupings. Each file describes a set of `attributes` of the given feature and the specifics of how to inspect and manage these attributes for any supported `Node` types. When a `Node` is connected, the platform identification of the Node is used to construct a `CommandReference` instance containing a set of `CmdRef` objects specific to this `Node`. The `Node` APIs `config_set`, `config_get`, and `config_get_default` all rely on the `CmdRef`.

See also [README_YAML](lib/cisco_node_utils/README_YAML.md).
See also [README_YAML](lib/cisco_node_utils/cmd_ref/README_YAML.md).

### Feature Providers

Expand Down Expand Up @@ -161,7 +168,7 @@ See [CHANGELOG](CHANGELOG.md) for a list of changes.
## <a name="license_info">License Information</a>


Copyright (c) 2013-2015 Cisco and/or its affiliates.
Copyright (c) 2013-2016 Cisco and/or its affiliates.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
1 change: 1 addition & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ Rake::TestTask.new do |t|
t.pattern = 'tests/test_*.rb'
t.warning = true
t.verbose = true
t.options = '-v'
end
8 changes: 8 additions & 0 deletions bin/git/hooks/commit-msg/enforce_style
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,14 @@ if $errors > 0 # rubocop:disable Style/GlobalVars
puts '{'
puts message_lines.join("\n")
puts '}'

fd = IO.sysopen('/dev/tty', 'w+')
a = IO.new(fd, 'w+')
a.puts 'Continue anyway? [y/N] '
response = a.gets.chomp
# rubocop:disable Style/GlobalVars
$errors = 0 if response.downcase[0] == 'y'
# rubocop:enable Style/GlobalVars
end

exit $errors # rubocop:disable Style/GlobalVars
7 changes: 4 additions & 3 deletions cisco_node_utils.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ Gem::Specification.new do |spec|
spec.name = 'cisco_node_utils'
spec.version = CiscoNodeUtils::VERSION
spec.authors = ['Alex Hunsberger', 'Glenn Matthews',
'Chris Van Heuveln', 'Mike Wiebe', 'Jie Yang']
'Chris Van Heuveln', 'Mike Wiebe', 'Jie Yang',
'Rob Gries']
spec.email = 'cisco_agent_gem@cisco.com'
spec.summary = 'Utilities for management of Cisco network nodes'
spec.description = <<-EOF
Expand All @@ -30,7 +31,7 @@ Currently supports NX-OS nodes.
spec.add_development_dependency 'minitest', '~> 5.0'
spec.add_development_dependency 'bundler', '~> 1.7'
spec.add_development_dependency 'rake', '~> 10.0'
spec.add_development_dependency 'rubocop', '= 0.34.2'
spec.add_development_dependency 'rubocop', '= 0.35.1'
spec.add_development_dependency 'simplecov', '~> 0.9'
spec.add_runtime_dependency 'cisco_nxapi', '~> 1.0'
spec.add_runtime_dependency 'cisco_nxapi', '~> 1.0', '>= 1.0.1'
end
Loading