Skip to content

Commit 6977817

Browse files
authored
Add tunnel option to interface ospf resources (#160)
1 parent cb21270 commit 6977817

File tree

6 files changed

+8
-6
lines changed

6 files changed

+8
-6
lines changed

docs/resources/interface_ospf.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ resource "iosxe_interface_ospf" "example" {
5353

5454
- `name` (String)
5555
- `type` (String) Interface type
56-
- Choices: `GigabitEthernet`, `TwoGigabitEthernet`, `FiveGigabitEthernet`, `TenGigabitEthernet`, `TwentyFiveGigE`, `FortyGigabitEthernet`, `HundredGigE`, `TwoHundredGigE`, `FourHundredGigE`, `Loopback`, `Vlan`, `Port-channel`
56+
- Choices: `GigabitEthernet`, `TwoGigabitEthernet`, `FiveGigabitEthernet`, `TenGigabitEthernet`, `TwentyFiveGigE`, `FortyGigabitEthernet`, `HundredGigE`, `TwoHundredGigE`, `FourHundredGigE`, `Loopback`, `Vlan`, `Port-channel`, `Tunnel`
5757

5858
### Optional
5959

docs/resources/interface_ospfv3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ resource "iosxe_interface_ospfv3" "example" {
3131

3232
- `name` (String)
3333
- `type` (String) Interface type
34-
- Choices: `GigabitEthernet`, `TwoGigabitEthernet`, `FiveGigabitEthernet`, `TenGigabitEthernet`, `TwentyFiveGigE`, `FortyGigabitEthernet`, `HundredGigE`, `TwoHundredGigE`, `FourHundredGigE`, `Loopback`, `Vlan`, `Port-channel`
34+
- Choices: `GigabitEthernet`, `TwoGigabitEthernet`, `FiveGigabitEthernet`, `TenGigabitEthernet`, `TwentyFiveGigE`, `FortyGigabitEthernet`, `HundredGigE`, `TwoHundredGigE`, `FourHundredGigE`, `Loopback`, `Vlan`, `Port-channel`, `Tunnel`
3535

3636
### Optional
3737

gen/definitions/interface_ospf.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ attributes:
2222
- Loopback
2323
- Vlan
2424
- Port-channel
25+
- Tunnel
2526
example: Loopback
2627
- yang_name: name
2728
example: 1

gen/definitions/interface_ospfv3.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ attributes:
2222
- Loopback
2323
- Vlan
2424
- Port-channel
25+
- Tunnel
2526
example: Loopback
2627
- yang_name: name
2728
example: 1

internal/provider/resource_iosxe_interface_ospf.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/provider/resource_iosxe_interface_ospfv3.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)