Skip to content

Commit

Permalink
add propagation (#704)
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-lifshits authored Aug 1, 2024
1 parent 083cf2f commit 23309be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions acceptance/openstack/er/route_tables_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ func TestRouteTableLifeCycle(t *testing.T) {
th.AssertNoErr(t, err)
th.AssertEquals(t, createRouteTableOpts.Name, createRtResp.Name)
th.AssertEquals(t, *createRouteTableOpts.Description, createRtResp.Description)
th.AssertEquals(t, createRtResp.IsDefaultAssociation, false)
th.AssertEquals(t, createRtResp.IsDefaultPropagation, false)

err = waitForRouteTableAvailable(client, 300, createResp.Instance.ID, createRtResp.ID)
th.AssertNoErr(t, err)
Expand Down
1 change: 1 addition & 0 deletions openstack/er/v3/route_table/Create.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ type RouteTable struct {
Name string `json:"name"`
Description string `json:"description"`
IsDefaultAssociation bool `json:"is_default_association"`
IsDefaultPropagation bool `json:"is_default_propagation"`
State string `json:"state"`
Tags []tags.ResourceTag `json:"tags"`
BgpOptions *BgpOptions `json:"bgp_options"`
Expand Down

0 comments on commit 23309be

Please sign in to comment.