rbeapi 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +3 -0
- data/CHANGELOG.md +20 -0
- data/Gemfile +1 -1
- data/README.md +11 -11
- data/Rakefile +19 -0
- data/guide/Makefile +177 -0
- data/guide/_static/arista_logo_11-trans-w.png +0 -0
- data/guide/_static/arista_logo_jpg-11.jpg +0 -0
- data/guide/_static/favicon.ico +0 -0
- data/guide/conf.py +279 -0
- data/guide/cookbook.rst +4 -0
- data/guide/developing.rst +4 -0
- data/guide/faq.rst +4 -0
- data/guide/index.rst +23 -0
- data/guide/installation.rst +4 -0
- data/guide/license.rst +5 -0
- data/guide/overview.rst +20 -0
- data/guide/quickstart.rst +4 -0
- data/guide/release-notes-0.5.0.rst +60 -0
- data/guide/release-notes.rst +6 -0
- data/guide/testing.rst +4 -0
- data/guide/troubleshooting.rst +1 -0
- data/lib/rbeapi/api/aaa.rb +54 -18
- data/lib/rbeapi/api/acl.rb +60 -2
- data/lib/rbeapi/api/bgp.rb +81 -0
- data/lib/rbeapi/api/dns.rb +48 -2
- data/lib/rbeapi/api/interfaces.rb +97 -32
- data/lib/rbeapi/api/ipinterfaces.rb +13 -2
- data/lib/rbeapi/api/logging.rb +11 -2
- data/lib/rbeapi/api/mlag.rb +20 -10
- data/lib/rbeapi/api/ntp.rb +4 -3
- data/lib/rbeapi/api/ospf.rb +102 -10
- data/lib/rbeapi/api/prefixlists.rb +47 -4
- data/lib/rbeapi/api/radius.rb +9 -9
- data/lib/rbeapi/api/routemaps.rb +7 -5
- data/lib/rbeapi/api/snmp.rb +13 -4
- data/lib/rbeapi/api/staticroutes.rb +1 -1
- data/lib/rbeapi/api/stp.rb +39 -14
- data/lib/rbeapi/api/switchports.rb +126 -2
- data/lib/rbeapi/api/system.rb +24 -3
- data/lib/rbeapi/api/tacacs.rb +9 -10
- data/lib/rbeapi/api/users.rb +12 -3
- data/lib/rbeapi/api/varp.rb +40 -8
- data/lib/rbeapi/api/vlans.rb +15 -5
- data/lib/rbeapi/client.rb +19 -11
- data/lib/rbeapi/eapilib.rb +8 -0
- data/lib/rbeapi/utils.rb +10 -0
- data/lib/rbeapi/version.rb +1 -1
- data/spec/fixtures/eapi.conf.yaml +6 -0
- data/spec/fixtures/empty.conf +0 -0
- data/spec/fixtures/env_path.conf +5 -0
- data/spec/fixtures/test.conf +39 -0
- data/spec/fixtures/wildcard.conf +43 -0
- data/spec/system/rbeapi/api/aaa_groups_spec.rb +122 -0
- data/spec/system/rbeapi/api/aaa_spec.rb +90 -0
- data/spec/system/{api_acl_spec.rb → rbeapi/api/acl_spec.rb} +0 -0
- data/spec/system/rbeapi/api/bgp_neighbors_spec.rb +354 -0
- data/spec/system/rbeapi/api/bgp_spec.rb +275 -0
- data/spec/system/rbeapi/api/dns_spec.rb +17 -1
- data/spec/system/rbeapi/api/interfaces_base_spec.rb +46 -5
- data/spec/system/rbeapi/api/interfaces_ethernet_spec.rb +14 -0
- data/spec/system/rbeapi/api/interfaces_portchannel_spec.rb +68 -0
- data/spec/system/rbeapi/api/interfaces_vxlan_spec.rb +0 -1
- data/spec/system/{api_ospf_interfaces_spec.rb → rbeapi/api/ospf_interfaces_spec.rb} +3 -2
- data/spec/system/{api_ospf_spec.rb → rbeapi/api/ospf_spec.rb} +11 -2
- data/spec/system/rbeapi/api/routemaps_spec.rb +3 -4
- data/spec/system/rbeapi/api/snmp_spec.rb +65 -0
- data/spec/system/rbeapi/api/staticroutes_spec.rb +177 -0
- data/spec/system/rbeapi/api/stp_instances_spec.rb +20 -0
- data/spec/system/rbeapi/api/stp_interfaces_spec.rb +7 -0
- data/spec/system/rbeapi/api/switchports_spec.rb +86 -16
- data/spec/system/rbeapi/api/users_spec.rb +324 -0
- data/spec/system/rbeapi/api/varp_interfaces_spec.rb +34 -0
- data/spec/system/rbeapi/api/vrrp_spec.rb +707 -0
- data/spec/system/rbeapi/client_spec.rb +367 -0
- data/spec/unit/rbeapi/api/aaa/aaa_groups_spec.rb +111 -0
- data/spec/unit/rbeapi/api/aaa/aaa_spec.rb +77 -0
- data/spec/unit/rbeapi/api/aaa/fixture_aaa.text +3 -0
- data/spec/unit/rbeapi/api/switchports/default_spec.rb +249 -0
- data/spec/unit/rbeapi/api/switchports/fixture_switchports.text +284 -0
- data/spec/unit/rbeapi/api/users/default_spec.rb +1 -1
- data/spec/unit/rbeapi/client_spec.rb +211 -0
- metadata +65 -10
@@ -0,0 +1,211 @@
|
|
1
|
+
#
|
2
|
+
# Copyright (c) 2015, Arista Networks, Inc.
|
3
|
+
# All rights reserved.
|
4
|
+
#
|
5
|
+
# Redistribution and use in source and binary forms, with or without
|
6
|
+
# modification, are permitted provided that the following conditions are
|
7
|
+
# met:
|
8
|
+
#
|
9
|
+
# Redistributions of source code must retain the above copyright notice,
|
10
|
+
# this list of conditions and the following disclaimer.
|
11
|
+
#
|
12
|
+
# Redistributions in binary form must reproduce the above copyright
|
13
|
+
# notice, this list of conditions and the following disclaimer in the
|
14
|
+
# documentation and/or other materials provided with the distribution.
|
15
|
+
#
|
16
|
+
# Neither the name of Arista Networks nor the names of its
|
17
|
+
# contributors may be used to endorse or promote products derived from
|
18
|
+
# this software without specific prior written permission.
|
19
|
+
#
|
20
|
+
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
21
|
+
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
22
|
+
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
23
|
+
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ARISTA NETWORKS
|
24
|
+
# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
25
|
+
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
26
|
+
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
27
|
+
# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
28
|
+
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
29
|
+
# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
30
|
+
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
31
|
+
#
|
32
|
+
require 'spec_helper'
|
33
|
+
|
34
|
+
require 'rbeapi/client'
|
35
|
+
|
36
|
+
include FixtureHelpers
|
37
|
+
|
38
|
+
describe Rbeapi::Client do
|
39
|
+
subject { described_class }
|
40
|
+
|
41
|
+
def dut_conf
|
42
|
+
fixture_file('dut.conf')
|
43
|
+
end
|
44
|
+
|
45
|
+
def test_conf
|
46
|
+
fixture_file('test.conf')
|
47
|
+
end
|
48
|
+
|
49
|
+
def empty_conf
|
50
|
+
fixture_file('empty.conf')
|
51
|
+
end
|
52
|
+
|
53
|
+
def yaml_conf
|
54
|
+
fixture_file('eapi.conf.yaml')
|
55
|
+
end
|
56
|
+
|
57
|
+
def wildcard_conf
|
58
|
+
fixture_file('wildcard.conf')
|
59
|
+
end
|
60
|
+
|
61
|
+
let(:dut) do
|
62
|
+
File.read(dut_conf)
|
63
|
+
end
|
64
|
+
|
65
|
+
let(:test) do
|
66
|
+
File.read(test_conf)
|
67
|
+
end
|
68
|
+
|
69
|
+
let(:veos01) do
|
70
|
+
{
|
71
|
+
'username' => 'eapi',
|
72
|
+
'password' => 'password',
|
73
|
+
'transport' => 'http',
|
74
|
+
'host' => 'veos01'
|
75
|
+
}
|
76
|
+
end
|
77
|
+
|
78
|
+
let(:veos05) do
|
79
|
+
{
|
80
|
+
'host' => '172.16.131.40',
|
81
|
+
'username' => 'admin',
|
82
|
+
'password' => 'admin',
|
83
|
+
'enablepwd' => 'password',
|
84
|
+
'transport' => 'https',
|
85
|
+
'port' => 1234,
|
86
|
+
'open_timeout' => 12,
|
87
|
+
'read_timeout' => 12
|
88
|
+
}
|
89
|
+
end
|
90
|
+
|
91
|
+
let(:wildcard) do
|
92
|
+
{
|
93
|
+
'username' => 'foo',
|
94
|
+
'password' => 'bar',
|
95
|
+
'host' => '*'
|
96
|
+
}
|
97
|
+
end
|
98
|
+
|
99
|
+
let(:test_data) do
|
100
|
+
[
|
101
|
+
'[connection:veos01]'
|
102
|
+
]
|
103
|
+
end
|
104
|
+
|
105
|
+
let(:default_entry) { "[connection:localhost]\ntransport : socket\n" }
|
106
|
+
|
107
|
+
# Client class methods
|
108
|
+
describe '#config_for' do
|
109
|
+
# Verify that the EAPI_CONF env variable path is used by default
|
110
|
+
# when the Config class is instantiated/reload-ed.
|
111
|
+
it 'env path to config file' do
|
112
|
+
# Store env path for the eapi conf file and reload the class
|
113
|
+
conf = fixture_dir + '/env_path.conf'
|
114
|
+
ENV.store('EAPI_CONF', conf)
|
115
|
+
subject.config.reload
|
116
|
+
|
117
|
+
# Verify env_path.conf file was loaded
|
118
|
+
expect(subject.config.to_s).to include('[connection:env_path]')
|
119
|
+
end
|
120
|
+
|
121
|
+
it 'returns the configuration options for the connection' do
|
122
|
+
expect(subject.load_config(test_conf)).to eq(nil)
|
123
|
+
expect(subject.config_for('veos01')).to eq(veos01)
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
127
|
+
describe '#connect_to' do
|
128
|
+
it 'retrieves the node config' do
|
129
|
+
expect(subject.connect_to('veos01')).to be_truthy
|
130
|
+
end
|
131
|
+
|
132
|
+
it 'check connection wildcard host name' do
|
133
|
+
expect(subject.load_config(wildcard_conf)).to eq(nil)
|
134
|
+
expect(subject.connect_to('host1')).to be_truthy
|
135
|
+
expect(subject.config.get_connection('host1')) .to eq(wildcard)
|
136
|
+
expect(subject.connect_to('host2')).to be_truthy
|
137
|
+
expect(subject.config.get_connection('host2')) .to eq(wildcard)
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
141
|
+
describe '#load_config' do
|
142
|
+
it 'overrides the default conf file loaded in the config' do
|
143
|
+
expect(subject.load_config(test_conf)).to eq(nil)
|
144
|
+
expect(subject.config_for('dut')).to eq(nil)
|
145
|
+
expect(subject.config_for('veos01')).to eq(veos01)
|
146
|
+
end
|
147
|
+
end
|
148
|
+
|
149
|
+
# Config class methods
|
150
|
+
describe 'config' do
|
151
|
+
it 'gets the loaded configuration file data' do
|
152
|
+
expect(subject.load_config(test_conf)).to eq(nil)
|
153
|
+
expect(subject.config.to_s).to include(test_data[0])
|
154
|
+
end
|
155
|
+
|
156
|
+
it 'loading empty config file does not fail' do
|
157
|
+
expect(subject.load_config(empty_conf)).to eq(nil)
|
158
|
+
expect(subject.config.to_s).to eq(default_entry)
|
159
|
+
end
|
160
|
+
|
161
|
+
it 'does not load bad config file data' do
|
162
|
+
expect(subject.load_config(yaml_conf)).to eq(nil)
|
163
|
+
expect(subject.config.to_s).to eq('')
|
164
|
+
end
|
165
|
+
end
|
166
|
+
|
167
|
+
describe '#read' do
|
168
|
+
it 'read the specified filename and load it' do
|
169
|
+
expect(subject.load_config(dut_conf)).to eq(nil)
|
170
|
+
expect(subject.config.read(test_conf)).to eq(nil)
|
171
|
+
expect(subject.config.to_s).to include(test_data[0])
|
172
|
+
end
|
173
|
+
end
|
174
|
+
|
175
|
+
describe '#get_connection' do
|
176
|
+
it 'get connection dut' do
|
177
|
+
expect(subject.config.get_connection('veos01')).to eq(veos01)
|
178
|
+
end
|
179
|
+
|
180
|
+
it 'connection wildcard works' do
|
181
|
+
expect(subject.load_config(wildcard_conf)).to eq(nil)
|
182
|
+
expect(subject.config.get_connection('host1')) .to eq(wildcard)
|
183
|
+
expect(subject.config.get_connection('host2')) .to eq(wildcard)
|
184
|
+
end
|
185
|
+
end
|
186
|
+
|
187
|
+
describe '#reload' do
|
188
|
+
it 'reloads the configuration file' do
|
189
|
+
expect(subject.config.get_connection('veos01')).to eq(veos01)
|
190
|
+
expect(subject.config.reload(filename: [dut_conf])).to eq(nil)
|
191
|
+
expect(subject.config.get_connection('veos01')).to eq(nil)
|
192
|
+
expect(subject.config.get_connection('dut')).not_to be_nil
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
196
|
+
describe '#add_connection' do
|
197
|
+
it 'adds a new connection section' do
|
198
|
+
expect(subject.config.add_connection('test2',
|
199
|
+
username: 'test2',
|
200
|
+
password: 'test',
|
201
|
+
transport: 'http',
|
202
|
+
host: 'test2'
|
203
|
+
)).to eq(nil)
|
204
|
+
expect(subject.config.get_connection('test2'))
|
205
|
+
.to eq(username: 'test2',
|
206
|
+
password: 'test',
|
207
|
+
transport: 'http',
|
208
|
+
host: 'test2')
|
209
|
+
end
|
210
|
+
end
|
211
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbeapi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2016-01-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: inifile
|
@@ -211,6 +211,23 @@ files:
|
|
211
211
|
- gems/net_http_unix/net_http_unix.spec.tmpl
|
212
212
|
- gems/netaddr/README.rst
|
213
213
|
- gems/netaddr/netaddr.spec.tmpl
|
214
|
+
- guide/Makefile
|
215
|
+
- guide/_static/arista_logo_11-trans-w.png
|
216
|
+
- guide/_static/arista_logo_jpg-11.jpg
|
217
|
+
- guide/_static/favicon.ico
|
218
|
+
- guide/conf.py
|
219
|
+
- guide/cookbook.rst
|
220
|
+
- guide/developing.rst
|
221
|
+
- guide/faq.rst
|
222
|
+
- guide/index.rst
|
223
|
+
- guide/installation.rst
|
224
|
+
- guide/license.rst
|
225
|
+
- guide/overview.rst
|
226
|
+
- guide/quickstart.rst
|
227
|
+
- guide/release-notes-0.5.0.rst
|
228
|
+
- guide/release-notes.rst
|
229
|
+
- guide/testing.rst
|
230
|
+
- guide/troubleshooting.rst
|
214
231
|
- lib/rbeapi.rb
|
215
232
|
- lib/rbeapi/api.rb
|
216
233
|
- lib/rbeapi/api/aaa.rb
|
@@ -244,12 +261,19 @@ files:
|
|
244
261
|
- rbeapi.gemspec
|
245
262
|
- rbeapi.spec.tmpl
|
246
263
|
- spec/fixtures/dut.conf
|
264
|
+
- spec/fixtures/eapi.conf.yaml
|
265
|
+
- spec/fixtures/empty.conf
|
266
|
+
- spec/fixtures/env_path.conf
|
267
|
+
- spec/fixtures/test.conf
|
268
|
+
- spec/fixtures/wildcard.conf
|
247
269
|
- spec/spec_helper.rb
|
248
270
|
- spec/support/fixtures.rb
|
249
271
|
- spec/support/shared_examples_for_api_modules.rb
|
250
|
-
- spec/system/
|
251
|
-
- spec/system/
|
252
|
-
- spec/system/
|
272
|
+
- spec/system/rbeapi/api/aaa_groups_spec.rb
|
273
|
+
- spec/system/rbeapi/api/aaa_spec.rb
|
274
|
+
- spec/system/rbeapi/api/acl_spec.rb
|
275
|
+
- spec/system/rbeapi/api/bgp_neighbors_spec.rb
|
276
|
+
- spec/system/rbeapi/api/bgp_spec.rb
|
253
277
|
- spec/system/rbeapi/api/dns_spec.rb
|
254
278
|
- spec/system/rbeapi/api/interfaces_base_spec.rb
|
255
279
|
- spec/system/rbeapi/api/interfaces_ethernet_spec.rb
|
@@ -260,16 +284,25 @@ files:
|
|
260
284
|
- spec/system/rbeapi/api/mlag_interfaces_spec.rb
|
261
285
|
- spec/system/rbeapi/api/mlag_spec.rb
|
262
286
|
- spec/system/rbeapi/api/ntp_spec.rb
|
287
|
+
- spec/system/rbeapi/api/ospf_interfaces_spec.rb
|
288
|
+
- spec/system/rbeapi/api/ospf_spec.rb
|
263
289
|
- spec/system/rbeapi/api/routemaps_spec.rb
|
264
290
|
- spec/system/rbeapi/api/snmp_spec.rb
|
291
|
+
- spec/system/rbeapi/api/staticroutes_spec.rb
|
265
292
|
- spec/system/rbeapi/api/stp_instances_spec.rb
|
266
293
|
- spec/system/rbeapi/api/stp_interfaces_spec.rb
|
267
294
|
- spec/system/rbeapi/api/stp_spec.rb
|
268
295
|
- spec/system/rbeapi/api/switchports_spec.rb
|
269
296
|
- spec/system/rbeapi/api/system_spec.rb
|
297
|
+
- spec/system/rbeapi/api/users_spec.rb
|
270
298
|
- spec/system/rbeapi/api/varp_interfaces_spec.rb
|
271
299
|
- spec/system/rbeapi/api/varp_spec.rb
|
272
300
|
- spec/system/rbeapi/api/vlans_spec.rb
|
301
|
+
- spec/system/rbeapi/api/vrrp_spec.rb
|
302
|
+
- spec/system/rbeapi/client_spec.rb
|
303
|
+
- spec/unit/rbeapi/api/aaa/aaa_groups_spec.rb
|
304
|
+
- spec/unit/rbeapi/api/aaa/aaa_spec.rb
|
305
|
+
- spec/unit/rbeapi/api/aaa/fixture_aaa.text
|
273
306
|
- spec/unit/rbeapi/api/acl/default_spec.rb
|
274
307
|
- spec/unit/rbeapi/api/acl/fixture_acl_standard.text
|
275
308
|
- spec/unit/rbeapi/api/bgp/bgp_neighbors_spec.rb
|
@@ -286,6 +319,8 @@ files:
|
|
286
319
|
- spec/unit/rbeapi/api/routemaps/fixture_routemaps.text
|
287
320
|
- spec/unit/rbeapi/api/staticroutes/default_spec.rb
|
288
321
|
- spec/unit/rbeapi/api/staticroutes/fixture_staticroutes.text
|
322
|
+
- spec/unit/rbeapi/api/switchports/default_spec.rb
|
323
|
+
- spec/unit/rbeapi/api/switchports/fixture_switchports.text
|
289
324
|
- spec/unit/rbeapi/api/system/default_spec.rb
|
290
325
|
- spec/unit/rbeapi/api/system/fixture_system.text
|
291
326
|
- spec/unit/rbeapi/api/users/default_spec.rb
|
@@ -294,6 +329,7 @@ files:
|
|
294
329
|
- spec/unit/rbeapi/api/vlans/fixture_vlans.text
|
295
330
|
- spec/unit/rbeapi/api/vrrp/default_spec.rb
|
296
331
|
- spec/unit/rbeapi/api/vrrp/fixture_vrrp.text
|
332
|
+
- spec/unit/rbeapi/client_spec.rb
|
297
333
|
homepage: https://github.com/arista-eosplus/rbeapi
|
298
334
|
licenses:
|
299
335
|
- New BSD
|
@@ -309,7 +345,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
309
345
|
version: '0'
|
310
346
|
segments:
|
311
347
|
- 0
|
312
|
-
hash: -
|
348
|
+
hash: -1152048949229311589
|
313
349
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
314
350
|
none: false
|
315
351
|
requirements:
|
@@ -318,7 +354,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
318
354
|
version: '0'
|
319
355
|
segments:
|
320
356
|
- 0
|
321
|
-
hash: -
|
357
|
+
hash: -1152048949229311589
|
322
358
|
requirements: []
|
323
359
|
rubyforge_project:
|
324
360
|
rubygems_version: 1.8.23
|
@@ -327,12 +363,19 @@ specification_version: 3
|
|
327
363
|
summary: This Gem library provides a Ruby interface to the Arista EOS command API
|
328
364
|
test_files:
|
329
365
|
- spec/fixtures/dut.conf
|
366
|
+
- spec/fixtures/eapi.conf.yaml
|
367
|
+
- spec/fixtures/empty.conf
|
368
|
+
- spec/fixtures/env_path.conf
|
369
|
+
- spec/fixtures/test.conf
|
370
|
+
- spec/fixtures/wildcard.conf
|
330
371
|
- spec/spec_helper.rb
|
331
372
|
- spec/support/fixtures.rb
|
332
373
|
- spec/support/shared_examples_for_api_modules.rb
|
333
|
-
- spec/system/
|
334
|
-
- spec/system/
|
335
|
-
- spec/system/
|
374
|
+
- spec/system/rbeapi/api/aaa_groups_spec.rb
|
375
|
+
- spec/system/rbeapi/api/aaa_spec.rb
|
376
|
+
- spec/system/rbeapi/api/acl_spec.rb
|
377
|
+
- spec/system/rbeapi/api/bgp_neighbors_spec.rb
|
378
|
+
- spec/system/rbeapi/api/bgp_spec.rb
|
336
379
|
- spec/system/rbeapi/api/dns_spec.rb
|
337
380
|
- spec/system/rbeapi/api/interfaces_base_spec.rb
|
338
381
|
- spec/system/rbeapi/api/interfaces_ethernet_spec.rb
|
@@ -343,16 +386,25 @@ test_files:
|
|
343
386
|
- spec/system/rbeapi/api/mlag_interfaces_spec.rb
|
344
387
|
- spec/system/rbeapi/api/mlag_spec.rb
|
345
388
|
- spec/system/rbeapi/api/ntp_spec.rb
|
389
|
+
- spec/system/rbeapi/api/ospf_interfaces_spec.rb
|
390
|
+
- spec/system/rbeapi/api/ospf_spec.rb
|
346
391
|
- spec/system/rbeapi/api/routemaps_spec.rb
|
347
392
|
- spec/system/rbeapi/api/snmp_spec.rb
|
393
|
+
- spec/system/rbeapi/api/staticroutes_spec.rb
|
348
394
|
- spec/system/rbeapi/api/stp_instances_spec.rb
|
349
395
|
- spec/system/rbeapi/api/stp_interfaces_spec.rb
|
350
396
|
- spec/system/rbeapi/api/stp_spec.rb
|
351
397
|
- spec/system/rbeapi/api/switchports_spec.rb
|
352
398
|
- spec/system/rbeapi/api/system_spec.rb
|
399
|
+
- spec/system/rbeapi/api/users_spec.rb
|
353
400
|
- spec/system/rbeapi/api/varp_interfaces_spec.rb
|
354
401
|
- spec/system/rbeapi/api/varp_spec.rb
|
355
402
|
- spec/system/rbeapi/api/vlans_spec.rb
|
403
|
+
- spec/system/rbeapi/api/vrrp_spec.rb
|
404
|
+
- spec/system/rbeapi/client_spec.rb
|
405
|
+
- spec/unit/rbeapi/api/aaa/aaa_groups_spec.rb
|
406
|
+
- spec/unit/rbeapi/api/aaa/aaa_spec.rb
|
407
|
+
- spec/unit/rbeapi/api/aaa/fixture_aaa.text
|
356
408
|
- spec/unit/rbeapi/api/acl/default_spec.rb
|
357
409
|
- spec/unit/rbeapi/api/acl/fixture_acl_standard.text
|
358
410
|
- spec/unit/rbeapi/api/bgp/bgp_neighbors_spec.rb
|
@@ -369,6 +421,8 @@ test_files:
|
|
369
421
|
- spec/unit/rbeapi/api/routemaps/fixture_routemaps.text
|
370
422
|
- spec/unit/rbeapi/api/staticroutes/default_spec.rb
|
371
423
|
- spec/unit/rbeapi/api/staticroutes/fixture_staticroutes.text
|
424
|
+
- spec/unit/rbeapi/api/switchports/default_spec.rb
|
425
|
+
- spec/unit/rbeapi/api/switchports/fixture_switchports.text
|
372
426
|
- spec/unit/rbeapi/api/system/default_spec.rb
|
373
427
|
- spec/unit/rbeapi/api/system/fixture_system.text
|
374
428
|
- spec/unit/rbeapi/api/users/default_spec.rb
|
@@ -377,4 +431,5 @@ test_files:
|
|
377
431
|
- spec/unit/rbeapi/api/vlans/fixture_vlans.text
|
378
432
|
- spec/unit/rbeapi/api/vrrp/default_spec.rb
|
379
433
|
- spec/unit/rbeapi/api/vrrp/fixture_vrrp.text
|
434
|
+
- spec/unit/rbeapi/client_spec.rb
|
380
435
|
has_rdoc:
|