sonic-net / sonic-mgmt

Configuration management examples for SONiC
Other
196 stars 718 forks source link

[test gap] static route expiry #6842

Open jcaiMR opened 1 year ago

jcaiMR commented 1 year ago

Description

Test gap for static route expiry.

HLD https://github.com/sonic-net/SONiC/blob/master/doc/static-route/SONiC_static_route_expiration_hdl.md

Related commit: https://github.com/sonic-net/sonic-buildimage/pull/12712

should cover following case:

  1. Add static route (ipv4/ipv6) into APPL_DB, with expiry false
  2. Add static route (ipv4/ipv6) into APPL_DB, with expiry true, refresh true/false
  3. Confirm APPL_DB non-persistent static route not exists after reload
  4. Modify STATIC_ROUTE_EXPIRY_TIME:time make sure timeout value for non-persistent static route is right
  5. check if static route right announced (Install/delete) through bgp

Steps to reproduce the issue:

Describe the results you received:

Describe the results you expected:

Additional information you deem important:

**Output of `show version`:**

```
(paste your output here)
```

**Attach debug file `sudo generate_dump`:**

```
(paste your output here)
```
azure-pipelines-wrapper[bot] commented 1 year ago

Thanks for opening this issue!