- Add Binding 5230 1.1.1.1/32
- ${resp} Get Bindings
- Should Contain Binding ${resp} 5230 1.1.1.1/32
- Add Binding 30 2001:0:0:0:0:0:0:0/128
- ${resp} Get Bindings
- Should Contain Binding ${resp} 30 2001:0:0:0:0:0:0:0/128
+ Add Bindings 5230 1.1.1.1/32
+ Wait Until Keyword Succeeds 3x 250ms Bindings Should Contain 5230 1.1.1.1/32
+ Add Bindings 30 2001:0:0:0:0:0:0:0/128
+ Wait Until Keyword Succeeds 3x 250ms Bindings Should Contain 30 2001:0:0:0:0:0:0:0/128
+
+Test Update Bindings
+ [Documentation] Test if bindings can be updated to different SGT values by new incoming bindings for the same IP prefix
+ [Tags] Restconf CRUD SXP
+ Add Bindings 30 1.1.1.10/32
+ Wait Until Keyword Succeeds 3x 250ms Bindings Should Contain 30 1.1.1.10/32
+ Sleep 1s New binding must be at least 1s newer
+ Add Bindings 40 1.1.1.10/32
+ Wait Until Keyword Succeeds 3x 250ms Bindings Should Not Contain 30 1.1.1.10/32
+ Wait Until Keyword Succeeds 3x 250ms Bindings Should Contain 40 1.1.1.10/32