rbeapi 1.0 → 1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.rubocop.yml +3 -0
- data/CHANGELOG.md +25 -2
- data/Gemfile +13 -7
- data/Rakefile +8 -7
- data/lib/rbeapi/api/alias.rb +160 -0
- data/lib/rbeapi/api/bgp.rb +9 -9
- data/lib/rbeapi/api/dns.rb +3 -1
- data/lib/rbeapi/api/interfaces.rb +194 -32
- data/lib/rbeapi/api/ipinterfaces.rb +5 -3
- data/lib/rbeapi/api/managementdefaults.rb +119 -0
- data/lib/rbeapi/api/mlag.rb +6 -6
- data/lib/rbeapi/api/ntp.rb +1 -1
- data/lib/rbeapi/api/ospf.rb +171 -12
- data/lib/rbeapi/api/prefixlists.rb +19 -9
- data/lib/rbeapi/api/radius.rb +5 -5
- data/lib/rbeapi/api/routemaps.rb +12 -12
- data/lib/rbeapi/api/snmp.rb +6 -4
- data/lib/rbeapi/api/stp.rb +24 -24
- data/lib/rbeapi/api/switchports.rb +15 -9
- data/lib/rbeapi/api/tacacs.rb +1 -1
- data/lib/rbeapi/api/users.rb +4 -4
- data/lib/rbeapi/api/varp.rb +7 -3
- data/lib/rbeapi/api/vlans.rb +2 -2
- data/lib/rbeapi/api/vrrp.rb +61 -61
- data/lib/rbeapi/client.rb +9 -6
- data/lib/rbeapi/eapilib.rb +3 -3
- data/lib/rbeapi/netdev/snmp.rb +8 -6
- data/lib/rbeapi/switchconfig.rb +9 -10
- data/lib/rbeapi/version.rb +1 -1
- data/spec/support/fixtures.rb +4 -4
- data/spec/support/matchers/switch_config_sections.rb +2 -2
- data/spec/system/rbeapi/api/acl_spec.rb +2 -4
- data/spec/system/rbeapi/api/alias_spec.rb +168 -0
- data/spec/system/rbeapi/api/bgp_spec.rb +1 -2
- data/spec/system/rbeapi/api/interfaces_base_spec.rb +7 -8
- data/spec/system/rbeapi/api/interfaces_ethernet_spec.rb +36 -3
- data/spec/system/rbeapi/api/interfaces_portchannel_spec.rb +35 -3
- data/spec/system/rbeapi/api/interfaces_vlan_spec.rb +90 -0
- data/spec/system/rbeapi/api/interfaces_vxlan_spec.rb +3 -4
- data/spec/system/rbeapi/api/managementdefaults_spec.rb +31 -0
- data/spec/system/rbeapi/api/ospf_interfaces_spec.rb +36 -11
- data/spec/system/rbeapi/api/ospf_spec.rb +240 -17
- data/spec/system/rbeapi/api/prefixlists_spec.rb +105 -89
- data/spec/system/rbeapi/api/routemaps_spec.rb +15 -10
- data/spec/system/rbeapi/api/users_spec.rb +4 -5
- data/spec/system/rbeapi/api/vrrp_spec.rb +2 -5
- data/spec/system/rbeapi/client_spec.rb +1 -2
- data/spec/unit/rbeapi/api/acl/default_spec.rb +1 -2
- data/spec/unit/rbeapi/api/alias/default_spec.rb +119 -0
- data/spec/unit/rbeapi/api/alias/fixture_alias.text +3 -0
- data/spec/unit/rbeapi/api/bgp/bgp_neighbors_spec.rb +1 -2
- data/spec/unit/rbeapi/api/bgp/bgp_spec.rb +1 -2
- data/spec/unit/rbeapi/api/interfaces/base_spec.rb +1 -1
- data/spec/unit/rbeapi/api/interfaces/ethernet_spec.rb +35 -1
- data/spec/unit/rbeapi/api/interfaces/fixture_interfaces.text +68 -0
- data/spec/unit/rbeapi/api/interfaces/portchannel_spec.rb +41 -4
- data/spec/unit/rbeapi/api/interfaces/vlan_spec.rb +72 -0
- data/spec/unit/rbeapi/api/interfaces/vxlan_spec.rb +2 -2
- data/spec/unit/rbeapi/api/managementdefaults/default_spec.rb +50 -0
- data/spec/unit/rbeapi/api/managementdefaults/fixture_managementdefaults.yaml +1 -0
- data/spec/unit/rbeapi/api/prefixlists/default_spec.rb +98 -80
- data/spec/unit/rbeapi/api/prefixlists/fixture_prefixlists.text +9 -4
- data/spec/unit/rbeapi/api/users/default_spec.rb +2 -4
- data/spec/unit/rbeapi/api/vrrp/default_spec.rb +2 -5
- data/spec/unit/rbeapi/client_spec.rb +21 -14
- data/spec/unit/rbeapi/switchconfig_spec.rb +10 -3
- metadata +49 -59
@@ -1,11 +1,16 @@
|
|
1
1
|
ip prefix-list test1
|
2
|
-
seq 10 permit
|
3
|
-
seq 20 permit
|
4
|
-
seq 30 permit
|
2
|
+
seq 10 permit 10.10.1.0/24
|
3
|
+
seq 20 permit 10.20.1.0/24 le 30
|
4
|
+
seq 30 permit 10.30.1.0/24 ge 26 le 30
|
5
5
|
!
|
6
6
|
ip prefix-list test2
|
7
7
|
seq 10 permit 10.11.0.0/16
|
8
8
|
seq 20 permit 10.12.0.0/16 le 24
|
9
9
|
!
|
10
10
|
ip prefix-list test3
|
11
|
-
!
|
11
|
+
!
|
12
|
+
ip prefix-list test4 seq 10 permit 10.14.0.0/16 le 20
|
13
|
+
!
|
14
|
+
ip prefix-list test5 seq 10 permit 10.50.1.0/24
|
15
|
+
ip prefix-list test5 seq 20 permit 10.50.2.0/24
|
16
|
+
!
|
@@ -57,8 +57,7 @@ describe Rbeapi::Api::Users do
|
|
57
57
|
nopassword: false,
|
58
58
|
encryption: 'md5',
|
59
59
|
secret: '$1$Ehb5lL0D$N3MgrkfMFxmeh0FSZ5sEZ1',
|
60
|
-
sshkey: sshkey
|
61
|
-
}
|
60
|
+
sshkey: sshkey }
|
62
61
|
end
|
63
62
|
let(:name) { test[:name] }
|
64
63
|
|
@@ -84,8 +83,7 @@ describe Rbeapi::Api::Users do
|
|
84
83
|
'rbeapi1' => { name: 'rbeapi1', privilege: 2,
|
85
84
|
role: 'network-minon', nopassword: false,
|
86
85
|
encryption: 'cleartext', secret: 'icanttellyou',
|
87
|
-
sshkey: nil }
|
88
|
-
}
|
86
|
+
sshkey: nil } }
|
89
87
|
end
|
90
88
|
|
91
89
|
it 'returns the username collection' do
|
@@ -49,15 +49,12 @@ describe Rbeapi::Api::Vrrp do
|
|
49
49
|
timers_advertise: 1,
|
50
50
|
track: [
|
51
51
|
{ name: 'Ethernet1', action: 'decrement', amount: 5 }
|
52
|
-
]
|
53
|
-
},
|
52
|
+
] },
|
54
53
|
40 => { primary_ip: '40.10.5.32', delay_reload: 0, description: nil,
|
55
54
|
enable: true, ip_version: 2, mac_addr_adv_interval: 30,
|
56
55
|
preempt: true, preempt_delay_min: 0, preempt_delay_reload: 0,
|
57
56
|
priority: 200, secondary_ip: [], timers_advertise: 1,
|
58
|
-
track: @tracks
|
59
|
-
}
|
60
|
-
}
|
57
|
+
track: @tracks } }
|
61
58
|
end
|
62
59
|
|
63
60
|
it 'returns the virtual router resource' do
|
@@ -200,8 +200,7 @@ describe Rbeapi::Client do
|
|
200
200
|
username: 'test2',
|
201
201
|
password: 'test',
|
202
202
|
transport: 'http',
|
203
|
-
host: 'test2'
|
204
|
-
)).to eq(nil)
|
203
|
+
host: 'test2')).to eq(nil)
|
205
204
|
expect(subject.config.get_connection('test2'))
|
206
205
|
.to eq(username: 'test2',
|
207
206
|
password: 'test',
|
@@ -212,11 +211,16 @@ describe Rbeapi::Client do
|
|
212
211
|
|
213
212
|
describe '#get_config' do
|
214
213
|
def startup_config
|
215
|
-
"! Command: show running-config\n! device: jere-debug-agent1 (vEOS,
|
214
|
+
"! Command: show running-config\n! device: jere-debug-agent1 (vEOS, " \
|
215
|
+
"EOS-4.14.9.1M)\n!\n! boot system flash:/vEOS-4.14.9.1M.swi\n!\n" \
|
216
|
+
"ip routing vrf MGMT\n!\nmanagement api http-commands\n" \
|
217
|
+
"no protocol https\n protocol unix-socket\n no shutdown\n" \
|
218
|
+
"vrf MGMT\n no shutdown\n!\nmanagement ssh\n vrf MGMT\n" \
|
219
|
+
"no shutdown\n!\n!\nend\n"
|
216
220
|
end
|
217
221
|
|
218
222
|
def startup_config_response
|
219
|
-
[{
|
223
|
+
[{ 'output' => startup_config }]
|
220
224
|
end
|
221
225
|
|
222
226
|
let(:node) do
|
@@ -229,26 +233,29 @@ describe Rbeapi::Client do
|
|
229
233
|
end
|
230
234
|
|
231
235
|
it 'with no arguments returns the startup-config' do
|
232
|
-
expect(node.get_config
|
236
|
+
expect(node.get_config).to eq(startup_config.strip.split("\n"))
|
233
237
|
end
|
234
238
|
|
235
|
-
it 'with no arguments and
|
236
|
-
allow(node).to receive(:run_commands) { [{
|
237
|
-
expect(node.get_config
|
239
|
+
it 'with no arguments and empty startup-config returns startup-config' do
|
240
|
+
allow(node).to receive(:run_commands) { [{ 'output' => '' }] }
|
241
|
+
expect(node.get_config).to eq([])
|
238
242
|
end
|
239
243
|
|
240
244
|
it 'with no arguments and no startup-config returns nil' do
|
241
|
-
msg = "CLI command 2 of 2 'show startup-config' failed: could not
|
242
|
-
|
243
|
-
|
245
|
+
msg = "CLI command 2 of 2 'show startup-config' failed: could not " \
|
246
|
+
'run command'
|
247
|
+
allow(node).to receive(:run_commands)
|
248
|
+
.and_raise(Rbeapi::Eapilib::CommandError.new(msg, 1000))
|
249
|
+
expect(node.get_config).to be_nil
|
244
250
|
end
|
245
251
|
|
246
252
|
it 'raises invalid command error' do
|
247
|
-
msg = "CLI command 2 of 2 'show startup-configurations' failed:
|
248
|
-
|
253
|
+
msg = "CLI command 2 of 2 'show startup-configurations' failed:" \
|
254
|
+
' invalid command'
|
255
|
+
allow(node).to receive(:run_commands)
|
256
|
+
.and_raise(Rbeapi::Eapilib::CommandError.new(msg, 1000))
|
249
257
|
expect { node.get_config(config: 'running-configurations') }
|
250
258
|
.to raise_error Rbeapi::Eapilib::CommandError
|
251
259
|
end
|
252
|
-
|
253
260
|
end
|
254
261
|
end
|
@@ -90,10 +90,17 @@ EOS
|
|
90
90
|
'vlan 100',
|
91
91
|
'interface Ethernet 2',
|
92
92
|
"banner motd\nThis is my \n multiline\n banner\nends here\n\nEOF",
|
93
|
-
'username fred privilege 0 role network-operator secret 5 $1$u4TDdWKN$
|
94
|
-
'
|
93
|
+
'username fred privilege 0 role network-operator secret 5 $1$u4TDdWKN$VC' \
|
94
|
+
'7cZmeGn/sgNM0RMNwhR.',
|
95
|
+
'username fred sshkey ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDtrjGuhFeJz7' \
|
96
|
+
'6Z5f3perh/R2s8XmnPcWF1uByHOqDDp53bggS9CZ7n67/QYVjbhyP70HMxY8R5Z4AevNtZT' \
|
97
|
+
'nSUQZmEgnuHvvAGNC63qrItE1i/sXKLvB1r8v0plcK35laNvJMYqGcGpjQ7T4Ufmn54zssi' \
|
98
|
+
'q1CBx6GfEX0+zKWD/5vnVDH9MMDolawILFb2a67VngzEZ0BCeRgLTg2ZEEEQt2hEKdglx87' \
|
99
|
+
'GBf7UIBFYM5xvywZRzHWta0dO1WDXCLD67kdqP52zucFXo7U3EUK/8X9Qltg5Pjr4mxf/U+' \
|
100
|
+
'hbO/K7xZJ+neAJDYA7bSXh8LkCuz00VxI5mAwo2PRMKaSp fred@localhost',
|
95
101
|
'router ospf 1',
|
96
|
-
'management cim-provider'
|
102
|
+
'management cim-provider'
|
103
|
+
]
|
97
104
|
cmds = [' switchport mode trunk',
|
98
105
|
' switchport trunk allowed vlan 100,200']
|
99
106
|
|
metadata
CHANGED
@@ -1,190 +1,167 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rbeapi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '1.
|
5
|
-
prerelease:
|
4
|
+
version: '1.1'
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Peter Sprygada
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2016-
|
11
|
+
date: 2016-12-06 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: inifile
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - ">="
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '0'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - ">="
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '0'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: json
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - ">="
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: '0'
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - ">="
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: '0'
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: net_http_unix
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - ">="
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: '0'
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - ">="
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: '0'
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: netaddr
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
|
-
- -
|
59
|
+
- - ">="
|
68
60
|
- !ruby/object:Gem::Version
|
69
61
|
version: '0'
|
70
62
|
type: :runtime
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
|
-
- -
|
66
|
+
- - ">="
|
76
67
|
- !ruby/object:Gem::Version
|
77
68
|
version: '0'
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: bundler
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
|
-
- - ~>
|
73
|
+
- - "~>"
|
84
74
|
- !ruby/object:Gem::Version
|
85
75
|
version: '1.3'
|
86
76
|
type: :development
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
|
-
- - ~>
|
80
|
+
- - "~>"
|
92
81
|
- !ruby/object:Gem::Version
|
93
82
|
version: '1.3'
|
94
83
|
- !ruby/object:Gem::Dependency
|
95
84
|
name: yard
|
96
85
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
86
|
requirements:
|
99
|
-
- -
|
87
|
+
- - ">="
|
100
88
|
- !ruby/object:Gem::Version
|
101
89
|
version: '0'
|
102
90
|
type: :development
|
103
91
|
prerelease: false
|
104
92
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
93
|
requirements:
|
107
|
-
- -
|
94
|
+
- - ">="
|
108
95
|
- !ruby/object:Gem::Version
|
109
96
|
version: '0'
|
110
97
|
- !ruby/object:Gem::Dependency
|
111
98
|
name: redcarpet
|
112
99
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
100
|
requirements:
|
115
|
-
- -
|
101
|
+
- - ">="
|
116
102
|
- !ruby/object:Gem::Version
|
117
103
|
version: '0'
|
118
104
|
type: :development
|
119
105
|
prerelease: false
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
107
|
requirements:
|
123
|
-
- -
|
108
|
+
- - ">="
|
124
109
|
- !ruby/object:Gem::Version
|
125
110
|
version: '0'
|
126
111
|
- !ruby/object:Gem::Dependency
|
127
112
|
name: rake
|
128
113
|
requirement: !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
130
114
|
requirements:
|
131
|
-
- - ~>
|
115
|
+
- - "~>"
|
132
116
|
- !ruby/object:Gem::Version
|
133
117
|
version: 10.1.0
|
134
118
|
type: :development
|
135
119
|
prerelease: false
|
136
120
|
version_requirements: !ruby/object:Gem::Requirement
|
137
|
-
none: false
|
138
121
|
requirements:
|
139
|
-
- - ~>
|
122
|
+
- - "~>"
|
140
123
|
- !ruby/object:Gem::Version
|
141
124
|
version: 10.1.0
|
142
125
|
- !ruby/object:Gem::Dependency
|
143
126
|
name: rspec
|
144
127
|
requirement: !ruby/object:Gem::Requirement
|
145
|
-
none: false
|
146
128
|
requirements:
|
147
|
-
- - ~>
|
129
|
+
- - "~>"
|
148
130
|
- !ruby/object:Gem::Version
|
149
131
|
version: 3.0.0
|
150
132
|
type: :development
|
151
133
|
prerelease: false
|
152
134
|
version_requirements: !ruby/object:Gem::Requirement
|
153
|
-
none: false
|
154
135
|
requirements:
|
155
|
-
- - ~>
|
136
|
+
- - "~>"
|
156
137
|
- !ruby/object:Gem::Version
|
157
138
|
version: 3.0.0
|
158
139
|
- !ruby/object:Gem::Dependency
|
159
140
|
name: rspec-mocks
|
160
141
|
requirement: !ruby/object:Gem::Requirement
|
161
|
-
none: false
|
162
142
|
requirements:
|
163
|
-
- - ~>
|
143
|
+
- - "~>"
|
164
144
|
- !ruby/object:Gem::Version
|
165
145
|
version: 3.0.0
|
166
146
|
type: :development
|
167
147
|
prerelease: false
|
168
148
|
version_requirements: !ruby/object:Gem::Requirement
|
169
|
-
none: false
|
170
149
|
requirements:
|
171
|
-
- - ~>
|
150
|
+
- - "~>"
|
172
151
|
- !ruby/object:Gem::Version
|
173
152
|
version: 3.0.0
|
174
153
|
- !ruby/object:Gem::Dependency
|
175
154
|
name: simplecov
|
176
155
|
requirement: !ruby/object:Gem::Requirement
|
177
|
-
none: false
|
178
156
|
requirements:
|
179
|
-
- -
|
157
|
+
- - ">="
|
180
158
|
- !ruby/object:Gem::Version
|
181
159
|
version: '0'
|
182
160
|
type: :development
|
183
161
|
prerelease: false
|
184
162
|
version_requirements: !ruby/object:Gem::Requirement
|
185
|
-
none: false
|
186
163
|
requirements:
|
187
|
-
- -
|
164
|
+
- - ">="
|
188
165
|
- !ruby/object:Gem::Version
|
189
166
|
version: '0'
|
190
167
|
description: Arista eAPI Ruby Library
|
@@ -194,8 +171,8 @@ executables: []
|
|
194
171
|
extensions: []
|
195
172
|
extra_rdoc_files: []
|
196
173
|
files:
|
197
|
-
- .gitignore
|
198
|
-
- .rubocop.yml
|
174
|
+
- ".gitignore"
|
175
|
+
- ".rubocop.yml"
|
199
176
|
- CHANGELOG.md
|
200
177
|
- Gemfile
|
201
178
|
- Guardfile
|
@@ -232,11 +209,13 @@ files:
|
|
232
209
|
- lib/rbeapi/api.rb
|
233
210
|
- lib/rbeapi/api/aaa.rb
|
234
211
|
- lib/rbeapi/api/acl.rb
|
212
|
+
- lib/rbeapi/api/alias.rb
|
235
213
|
- lib/rbeapi/api/bgp.rb
|
236
214
|
- lib/rbeapi/api/dns.rb
|
237
215
|
- lib/rbeapi/api/interfaces.rb
|
238
216
|
- lib/rbeapi/api/ipinterfaces.rb
|
239
217
|
- lib/rbeapi/api/logging.rb
|
218
|
+
- lib/rbeapi/api/managementdefaults.rb
|
240
219
|
- lib/rbeapi/api/mlag.rb
|
241
220
|
- lib/rbeapi/api/ntp.rb
|
242
221
|
- lib/rbeapi/api/ospf.rb
|
@@ -275,15 +254,18 @@ files:
|
|
275
254
|
- spec/system/rbeapi/api/aaa_groups_spec.rb
|
276
255
|
- spec/system/rbeapi/api/aaa_spec.rb
|
277
256
|
- spec/system/rbeapi/api/acl_spec.rb
|
257
|
+
- spec/system/rbeapi/api/alias_spec.rb
|
278
258
|
- spec/system/rbeapi/api/bgp_neighbors_spec.rb
|
279
259
|
- spec/system/rbeapi/api/bgp_spec.rb
|
280
260
|
- spec/system/rbeapi/api/dns_spec.rb
|
281
261
|
- spec/system/rbeapi/api/interfaces_base_spec.rb
|
282
262
|
- spec/system/rbeapi/api/interfaces_ethernet_spec.rb
|
283
263
|
- spec/system/rbeapi/api/interfaces_portchannel_spec.rb
|
264
|
+
- spec/system/rbeapi/api/interfaces_vlan_spec.rb
|
284
265
|
- spec/system/rbeapi/api/interfaces_vxlan_spec.rb
|
285
266
|
- spec/system/rbeapi/api/ipinterfaces_spec.rb
|
286
267
|
- spec/system/rbeapi/api/logging_spec.rb
|
268
|
+
- spec/system/rbeapi/api/managementdefaults_spec.rb
|
287
269
|
- spec/system/rbeapi/api/mlag_interfaces_spec.rb
|
288
270
|
- spec/system/rbeapi/api/mlag_spec.rb
|
289
271
|
- spec/system/rbeapi/api/ntp_spec.rb
|
@@ -309,6 +291,8 @@ files:
|
|
309
291
|
- spec/unit/rbeapi/api/aaa/fixture_aaa.text
|
310
292
|
- spec/unit/rbeapi/api/acl/default_spec.rb
|
311
293
|
- spec/unit/rbeapi/api/acl/fixture_acl_standard.text
|
294
|
+
- spec/unit/rbeapi/api/alias/default_spec.rb
|
295
|
+
- spec/unit/rbeapi/api/alias/fixture_alias.text
|
312
296
|
- spec/unit/rbeapi/api/bgp/bgp_neighbors_spec.rb
|
313
297
|
- spec/unit/rbeapi/api/bgp/bgp_spec.rb
|
314
298
|
- spec/unit/rbeapi/api/bgp/fixture_bgp.text
|
@@ -316,7 +300,10 @@ files:
|
|
316
300
|
- spec/unit/rbeapi/api/interfaces/ethernet_spec.rb
|
317
301
|
- spec/unit/rbeapi/api/interfaces/fixture_interfaces.text
|
318
302
|
- spec/unit/rbeapi/api/interfaces/portchannel_spec.rb
|
303
|
+
- spec/unit/rbeapi/api/interfaces/vlan_spec.rb
|
319
304
|
- spec/unit/rbeapi/api/interfaces/vxlan_spec.rb
|
305
|
+
- spec/unit/rbeapi/api/managementdefaults/default_spec.rb
|
306
|
+
- spec/unit/rbeapi/api/managementdefaults/fixture_managementdefaults.yaml
|
320
307
|
- spec/unit/rbeapi/api/mlag/default_spec.rb
|
321
308
|
- spec/unit/rbeapi/api/mlag/fixture_mlag.text
|
322
309
|
- spec/unit/rbeapi/api/prefixlists/default_spec.rb
|
@@ -342,30 +329,26 @@ files:
|
|
342
329
|
homepage: https://github.com/arista-eosplus/rbeapi
|
343
330
|
licenses:
|
344
331
|
- New BSD
|
332
|
+
metadata: {}
|
345
333
|
post_install_message:
|
346
334
|
rdoc_options: []
|
347
335
|
require_paths:
|
348
336
|
- lib
|
349
337
|
required_ruby_version: !ruby/object:Gem::Requirement
|
350
|
-
none: false
|
351
338
|
requirements:
|
352
|
-
- -
|
339
|
+
- - ">="
|
353
340
|
- !ruby/object:Gem::Version
|
354
341
|
version: 1.9.3
|
355
342
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
356
|
-
none: false
|
357
343
|
requirements:
|
358
|
-
- -
|
344
|
+
- - ">="
|
359
345
|
- !ruby/object:Gem::Version
|
360
346
|
version: '0'
|
361
|
-
segments:
|
362
|
-
- 0
|
363
|
-
hash: -1595496681146581179
|
364
347
|
requirements: []
|
365
348
|
rubyforge_project:
|
366
|
-
rubygems_version:
|
349
|
+
rubygems_version: 2.6.6
|
367
350
|
signing_key:
|
368
|
-
specification_version:
|
351
|
+
specification_version: 4
|
369
352
|
summary: This Gem library provides a Ruby interface to the Arista EOS command API
|
370
353
|
test_files:
|
371
354
|
- spec/fixtures/.gitignore
|
@@ -382,15 +365,18 @@ test_files:
|
|
382
365
|
- spec/system/rbeapi/api/aaa_groups_spec.rb
|
383
366
|
- spec/system/rbeapi/api/aaa_spec.rb
|
384
367
|
- spec/system/rbeapi/api/acl_spec.rb
|
368
|
+
- spec/system/rbeapi/api/alias_spec.rb
|
385
369
|
- spec/system/rbeapi/api/bgp_neighbors_spec.rb
|
386
370
|
- spec/system/rbeapi/api/bgp_spec.rb
|
387
371
|
- spec/system/rbeapi/api/dns_spec.rb
|
388
372
|
- spec/system/rbeapi/api/interfaces_base_spec.rb
|
389
373
|
- spec/system/rbeapi/api/interfaces_ethernet_spec.rb
|
390
374
|
- spec/system/rbeapi/api/interfaces_portchannel_spec.rb
|
375
|
+
- spec/system/rbeapi/api/interfaces_vlan_spec.rb
|
391
376
|
- spec/system/rbeapi/api/interfaces_vxlan_spec.rb
|
392
377
|
- spec/system/rbeapi/api/ipinterfaces_spec.rb
|
393
378
|
- spec/system/rbeapi/api/logging_spec.rb
|
379
|
+
- spec/system/rbeapi/api/managementdefaults_spec.rb
|
394
380
|
- spec/system/rbeapi/api/mlag_interfaces_spec.rb
|
395
381
|
- spec/system/rbeapi/api/mlag_spec.rb
|
396
382
|
- spec/system/rbeapi/api/ntp_spec.rb
|
@@ -416,6 +402,8 @@ test_files:
|
|
416
402
|
- spec/unit/rbeapi/api/aaa/fixture_aaa.text
|
417
403
|
- spec/unit/rbeapi/api/acl/default_spec.rb
|
418
404
|
- spec/unit/rbeapi/api/acl/fixture_acl_standard.text
|
405
|
+
- spec/unit/rbeapi/api/alias/default_spec.rb
|
406
|
+
- spec/unit/rbeapi/api/alias/fixture_alias.text
|
419
407
|
- spec/unit/rbeapi/api/bgp/bgp_neighbors_spec.rb
|
420
408
|
- spec/unit/rbeapi/api/bgp/bgp_spec.rb
|
421
409
|
- spec/unit/rbeapi/api/bgp/fixture_bgp.text
|
@@ -423,7 +411,10 @@ test_files:
|
|
423
411
|
- spec/unit/rbeapi/api/interfaces/ethernet_spec.rb
|
424
412
|
- spec/unit/rbeapi/api/interfaces/fixture_interfaces.text
|
425
413
|
- spec/unit/rbeapi/api/interfaces/portchannel_spec.rb
|
414
|
+
- spec/unit/rbeapi/api/interfaces/vlan_spec.rb
|
426
415
|
- spec/unit/rbeapi/api/interfaces/vxlan_spec.rb
|
416
|
+
- spec/unit/rbeapi/api/managementdefaults/default_spec.rb
|
417
|
+
- spec/unit/rbeapi/api/managementdefaults/fixture_managementdefaults.yaml
|
427
418
|
- spec/unit/rbeapi/api/mlag/default_spec.rb
|
428
419
|
- spec/unit/rbeapi/api/mlag/fixture_mlag.text
|
429
420
|
- spec/unit/rbeapi/api/prefixlists/default_spec.rb
|
@@ -446,4 +437,3 @@ test_files:
|
|
446
437
|
- spec/unit/rbeapi/switchconfig2_spec.rb
|
447
438
|
- spec/unit/rbeapi/switchconfig3_spec.rb
|
448
439
|
- spec/unit/rbeapi/switchconfig_spec.rb
|
449
|
-
has_rdoc:
|