Commit 8cfb5bec authored by douomo's avatar douomo
Browse files

fixed name ODU to mute in alarm test

parent 476620db
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ Mute ODU and Query Alarms
    [Arguments]    ${par}
    ${m}=    Connect With Key    ${par["host"]}    ${par["port"]}    ${par["username"]}    ${par["key_filename"]}
    #${m}=    Connect With Credentials    ${par["host"]}    ${par["port"]}    ${par["username"]}    ${par["password"]}
    Mute ODU    ${m}    "name"    #Interface name to mute #On transimitter node: need to connect to the TX and change ${m} with the reference to the transmitter
    Mute ODU    ${m}    ${par["ODUName"]}    #Interface name to mute #On transimitter node: need to connect to the TX and change ${m} with the reference to the transmitter
    ${alarms}=    Get Filtered Config    ${m}    filters/alarms.xml
    Close Session     ${m}
    Log    ${alarms}    console=yes
@@ -42,10 +42,10 @@ Mute ODU and Receive SNR Alarms
    [Arguments]    ${par}
    ${m}=    Connect With Key    ${par["host"]}    ${par["port"]}    ${par["username"]}    ${par["key_filename"]}
    #${m}=    Connect With Credentials    ${par["host"]}    ${par["port"]}    ${par["username"]}    ${par["password"]}
    Unmute ODU    ${m}    "name"    #Interface name to mute #On transimitter node: need to connect to the TX and change ${m} with the reference to the transmitter
    Unmute ODU    ${m}    ${par["ODUName"]}    #Interface name to mute #On transimitter node: need to connect to the TX and change ${m} with the reference to the transmitter
    Set RSL Threshold    ${m}    ${par["testInterface"]}    20
    ${resp}=    Evaluate    ${m}.create_subscription()
    Mute ODU    ${m}    "name"
    Mute ODU    ${m}    ${par["ODUName"]}
    ${notif}=    Evaluate    next(${m}.take_notification(timeout=60))
    Log    ${notif}    console=yes
    Should Not Be Empty    ${notif}
@@ -55,13 +55,13 @@ Mute ODU and Receive RSL Alarms
    [Arguments]    ${par}
    ${m}=    Connect With Key    ${par["host"]}    ${par["port"]}    ${par["username"]}    ${par["key_filename"]}
    #${m}=    Connect With Credentials    ${par["host"]}    ${par["port"]}    ${par["username"]}    ${par["password"]}
    Unmute ODU    ${m}    "name"
    Unmute ODU    ${m}    ${par["ODUName"]}
    Set RSL Threshold    ${m}    ${par["testInterface"]}    20
    ${resp}=    Evaluate    ${m}.create_subscription()
    Mute ODU    ${m}    "name"
    Mute ODU    ${m}    ${par["ODUName"]}
    ${notif}=    Evaluate    next(${m}.take_notification(timeout=60))
    Log    ${notif}    console=yes
    Should Not Be Empty    ${notif}
    Unmute ODU    ${m}    "name"
    Unmute ODU    ${m}    ${par["ODUName"]}
    ${actual-recevied}=    Get Iface Metrics    ${m}    ${par["testInterface"]}    "actual-received-level"
    Should Be True    ${actual-recevied}>0
 No newline at end of file
(444 B)

File changed.

No diff preview for this file type.