sloe 0.8.3 → 0.8.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sloe/ixia.rb +3 -3
- data/lib/sloe/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0302e48663e5617c6facc83d63d06d340ce120fa
|
4
|
+
data.tar.gz: 8e7109a0314d8fe29ab338d1d31a24446fd78158
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04587b8bce1ecc91886a98277e2a9e7aebb73afb46793f608c0056d9b7e18654f23638f0c8d0184300547afd37be00e3771cb076a450da0a8a3fcfbb68ed4fad
|
7
|
+
data.tar.gz: 835094cec97d4a2624270008ebde40175f1359bf1ceafc6608007c8769ba4773c5f349a00de05516ea95dc9e1c3b5c1b460c27b845e7c31af5b8f5ba42f65182
|
data/lib/sloe/ixia.rb
CHANGED
@@ -14,7 +14,7 @@ module Sloe
|
|
14
14
|
# @return [Sloe::Ixia] object that can execute IxN config file
|
15
15
|
def initialize(host: 'localhost', port: 8009, version: nil, ixncfg: nil, traffic_duration: 60, ixia_exe: '/root/ixos/bin/ixia_shell', clear_stats_after: 10, ftp_path: 'c:\\\\inetpub\\\\ftproot\\\\Reports')
|
16
16
|
if ixncfg == nil
|
17
|
-
fail ArgumentError, "missing mandatory
|
17
|
+
fail ArgumentError, "missing mandatory ixNetwork script"
|
18
18
|
end
|
19
19
|
|
20
20
|
@host = host
|
@@ -133,7 +133,7 @@ module Sloe
|
|
133
133
|
|set vportList [ixNet getList $root vport]
|
134
134
|
|ixTclNet::CheckLinkState $vportList notReadyVportList
|
135
135
|
|foreach vport $notReadyVportList {
|
136
|
-
| set port [
|
136
|
+
| set port [ixNet getAttribute $vport -connectedTo]
|
137
137
|
| ixNet exec clearOwnership $port
|
138
138
|
| ixNet exec connectPort $vport
|
139
139
|
|}
|
@@ -210,7 +210,7 @@ module Sloe
|
|
210
210
|
code = <<-TCL.gsub(/^\s+\|/,'')
|
211
211
|
|cleanUp
|
212
212
|
|foreach vport $vportList {
|
213
|
-
| set port [
|
213
|
+
| set port [ixNet getAttribute $vport -connectedTo]
|
214
214
|
| ixNet exec clearOwnership $port
|
215
215
|
|}
|
216
216
|
TCL
|
data/lib/sloe/version.rb
CHANGED