- @{list} Create List 127.0.0.2 127.0.0.5
- : FOR ${node} IN @{list}
- \ ${resp} Get Bindings ${node}
- \ Log ${resp}
- \ Should Not Contain Binding ${resp} 10 10.10.10.10/32 sxp
- \ Should Not Contain Binding ${resp} 10 10.10.10.0/24 sxp
- \ Should Not Contain Binding ${resp} 10 10.10.0.0/16 sxp
- \ Should Not Contain Binding ${resp} 10 10.0.0.0/8 sxp
- \ Should Contain Binding ${resp} 30 10.10.10.30/32 sxp
- \ Should Contain Binding ${resp} 30 10.10.30.0/24 sxp
- \ Should Not Contain Binding ${resp} 30 10.30.0.0/16 sxp
- \ Should Not Contain Binding ${resp} 30 30.0.0.0/8 sxp
- \ Should Contain Binding ${resp} 40 10.10.10.40/32 sxp
- \ Should Contain Binding ${resp} 40 10.10.40.0/24 sxp
- \ Should Not Contain Binding ${resp} 40 10.40.0.0/16 sxp
- \ Should Not Contain Binding ${resp} 40 40.0.0.0/8 sxp
- ${resp} Get Bindings 127.0.0.4
- Log ${resp}
- Should Contain Binding ${resp} 10 10.10.10.10/32 sxp
- Should Contain Binding ${resp} 10 10.10.10.0/24 sxp
- Should Contain Binding ${resp} 10 10.10.0.0/16 sxp
- Should Contain Binding ${resp} 10 10.0.0.0/8 sxp
- Should Contain Binding ${resp} 20 10.10.10.20/32 sxp
- Should Contain Binding ${resp} 20 10.10.20.0/24 sxp
- Should Contain Binding ${resp} 20 10.20.0.0/16 sxp
- Should Contain Binding ${resp} 20 20.0.0.0/8 sxp
- Should Contain Binding ${resp} 30 10.10.10.30/32 sxp
- Should Contain Binding ${resp} 30 10.10.30.0/24 sxp
- Should Contain Binding ${resp} 30 10.30.0.0/16 sxp
- Should Contain Binding ${resp} 30 30.0.0.0/8 sxp
+ @{list} = Create List 127.0.0.2 127.0.0.5
+ FOR ${node} IN @{list}
+ ${resp} = SxpLib.Get Bindings ${node}
+ BuiltIn.Log ${resp}
+ SxpLib.Should Not Contain Binding ${resp} 10 10.10.10.10/32
+ SxpLib.Should Not Contain Binding ${resp} 10 10.10.10.0/24
+ SxpLib.Should Not Contain Binding ${resp} 10 10.10.0.0/16
+ SxpLib.Should Not Contain Binding ${resp} 10 10.0.0.0/8
+ SxpLib.Should Contain Binding ${resp} 30 10.10.10.30/32
+ SxpLib.Should Contain Binding ${resp} 30 10.10.30.0/24
+ SxpLib.Should Not Contain Binding ${resp} 30 10.30.0.0/16
+ SxpLib.Should Not Contain Binding ${resp} 30 30.0.0.0/8
+ SxpLib.Should Contain Binding ${resp} 40 10.10.10.40/32
+ SxpLib.Should Contain Binding ${resp} 40 10.10.40.0/24
+ SxpLib.Should Not Contain Binding ${resp} 40 10.40.0.0/16
+ SxpLib.Should Not Contain Binding ${resp} 40 40.0.0.0/8
+ END
+ ${resp} = SxpLib.Get Bindings 127.0.0.4
+ BuiltIn.Log ${resp}
+ SxpLib.Should Contain Binding ${resp} 10 10.10.10.10/32
+ SxpLib.Should Contain Binding ${resp} 10 10.10.10.0/24
+ SxpLib.Should Contain Binding ${resp} 10 10.10.0.0/16
+ SxpLib.Should Contain Binding ${resp} 10 10.0.0.0/8
+ SxpLib.Should Contain Binding ${resp} 20 10.10.10.20/32
+ SxpLib.Should Contain Binding ${resp} 20 10.10.20.0/24
+ SxpLib.Should Contain Binding ${resp} 20 10.20.0.0/16
+ SxpLib.Should Contain Binding ${resp} 20 20.0.0.0/8
+ SxpLib.Should Contain Binding ${resp} 30 10.10.10.30/32
+ SxpLib.Should Contain Binding ${resp} 30 10.10.30.0/24
+ SxpLib.Should Contain Binding ${resp} 30 10.30.0.0/16
+ SxpLib.Should Contain Binding ${resp} 30 30.0.0.0/8