-
Notifications
You must be signed in to change notification settings - Fork 50
Feature/pc #150
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
Feature/pc #150
Conversation
CHANGELOG.md
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should be consistent on these names - please choose port_channel or portchannel.
test results[saichint@sjc-ads-6603 /ws/saichint-sjc/puppet_agent/cisco-network-node-utils/tests] $ ruby test_interface_portchannel.rb 10.122.197.117 admin admin Running:Node under test:
...... Finished in 46.916949s, 0.1279 runs/s, 0.2771 assertions/s. 6 runs, 13 assertions, 0 failures, 0 errors, 0 skips Running:Node under test:
...... Finished in 15.384674s, 0.3900 runs/s, 0.8450 assertions/s. 6 runs, 13 assertions, 0 failures, 0 errors, 0 skips [saichint@sjc-ads-6603 /ws/saichint-sjc/puppet_agent/cisco-network-node-utils/tests] $ ruby test_interface_portchannel.rb 10.122.84.77 admin nbv_1234 Running:Node under test:
....SS Finished in 28.213186s, 0.2127 runs/s, 0.2836 assertions/s. 6 runs, 8 assertions, 0 failures, 0 errors, 2 skips You have skipped tests. Run with --verbose for details. [saichint@sjc-ads-6603 /ws/saichint-sjc/puppet_agent/cisco-network-node-utils/tests] $ ruby test_portchannel_global.rb 10.122.84.77 admin nbv_1234 Running:Node under test:
SSSSS. Finished in 26.248570s, 0.2286 runs/s, 0.3429 assertions/s. 6 runs, 9 assertions, 0 failures, 0 errors, 5 skips You have skipped tests. Run with --verbose for details. Running:Node under test:
..SSSS Finished in 28.430601s, 0.2110 runs/s, 0.4221 assertions/s. 6 runs, 12 assertions, 0 failures, 0 errors, 4 skips You have skipped tests. Run with --verbose for details. Running:Node under test:
.SSS.. Finished in 16.368702s, 0.3666 runs/s, 0.7331 assertions/s. 6 runs, 12 assertions, 0 failures, 0 errors, 3 skips You have skipped tests. Run with --verbose for details. |
interface_port_channel and portchannel_global nodeutils added.
rubocop run:
[saichint@sjc-ads-6603 /ws/saichint-sjc/puppet_agent/cisco-network-node-utils/tests] $ rubocop ../lib/cisco_node_utils/interface_port_channel.rb ../lib/cisco_node_utils/portchannel_global.rb test_interface_port_channel.rb test_portchannel_global.rb
warning: parser/current is loading parser/ruby21, which recognizes
warning: 2.1.7-compliant syntax, but you are running 2.1.1.
Inspecting 4 files
....
4 files inspected, no offenses detected
mini-test results:
[saichint@sjc-ads-6603 /ws/saichint-sjc/puppet_agent/cisco-network-node-utils/tests] $ ruby test_portchannel_global.rb 10.122.197.117 admin admin
Run options: --seed 64148
Running:
Node under test:
......
Finished in 25.962281s, 0.2311 runs/s, 0.4622 assertions/s.
6 runs, 12 assertions, 0 failures, 0 errors, 0 skips
Coverage report generated for MiniTest to /ws/saichint-sjc/puppet_agent/cisco-network-node-utils/tests/coverage. 0.0 / 0.0 LOC (100.0%) covered.
[saichint@sjc-ads-6603 /ws/saichint-sjc/puppet_agent/cisco-network-node-utils/tests] $ ruby test_portchannel_global.rb 172.23.148.240 admin nbv_12345
Run options: --seed 54426
Running:
Node under test:
......
Finished in 15.348295s, 0.3909 runs/s, 0.7818 assertions/s.
6 runs, 12 assertions, 0 failures, 0 errors, 0 skips
Coverage report generated for MiniTest to /ws/saichint-sjc/puppet_agent/cisco-network-node-utils/tests/coverage. 0.0 / 0.0 LOC (100.0%) covered.
[saichint@sjc-ads-6603 /ws/saichint-sjc/puppet_agent/cisco-network-node-utils/tests] $ ruby test_portchannel_global.rb 10.122.84.77 admin nbv_1234
Run options: --seed 56569
Running:
Node under test:
......
Finished in 26.315032s, 0.2280 runs/s, 0.3420 assertions/s.
6 runs, 9 assertions, 0 failures, 0 errors, 0 skips
Coverage report generated for MiniTest to /ws/saichint-sjc/puppet_agent/cisco-network-node-utils/tests/coverage. 0.0 / 0.0 LOC (100.0%) covered.
[saichint@sjc-ads-6603 /ws/saichint-sjc/puppet_agent/cisco-network-node-utils/tests] $ ruby test_interface_port_channel.rb 10.122.197.117 admin admin
Run options: --seed 38297
Running:
Node under test:
......
Finished in 46.036638s, 0.1303 runs/s, 0.2824 assertions/s.
6 runs, 13 assertions, 0 failures, 0 errors, 0 skips
Coverage report generated for MiniTest to /ws/saichint-sjc/puppet_agent/cisco-network-node-utils/tests/coverage. 0.0 / 0.0 LOC (100.0%) covered.
[saichint@sjc-ads-6603 /ws/saichint-sjc/puppet_agent/cisco-network-node-utils/tests] $ ruby test_interface_port_channel.rb 172.23.148.240 admin nbv_12345
Run options: --seed 26005
Running:
Node under test:
......
Finished in 15.467798s, 0.3879 runs/s, 0.8405 assertions/s.
6 runs, 13 assertions, 0 failures, 0 errors, 0 skips
Coverage report generated for MiniTest to /ws/saichint-sjc/puppet_agent/cisco-network-node-utils/tests/coverage. 0.0 / 0.0 LOC (100.0%) covered.
[saichint@sjc-ads-6603 /ws/saichint-sjc/puppet_agent/cisco-network-node-utils/tests] $ ruby test_interface_port_channel.rb 10.122.84.77 admin nbv_1234
Run options: --seed 34278
Running:
Node under test:
......
Finished in 27.581864s, 0.2175 runs/s, 0.2900 assertions/s.
6 runs, 8 assertions, 0 failures, 0 errors, 0 skips
Coverage report generated for MiniTest to /ws/saichint-sjc/puppet_agent/cisco-network-node-utils/tests/coverage. 0.0 / 0.0 LOC (100.0%) covered.