Skip to content

Commit

Permalink
Feat(eos_cli_config_gen): Add switchport data model (#4158)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shivani-gslab authored Aug 23, 2024
1 parent 402bb6d commit 43c657e
Show file tree
Hide file tree
Showing 133 changed files with 4,593 additions and 1,498 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -281,57 +281,57 @@ vlan 4094

| Interface | Description | Mode | VLANs | Native VLAN | Trunk Group | Channel-Group |
| --------- | ----------- | ---- | ----- | ----------- | ----------- | ------------- |
| Ethernet1 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet2 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet3 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet4 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet5 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet6 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet7 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet8 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet9 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet10 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet11 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet12 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet13 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet14 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet15 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet16 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet17 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet18 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet19 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet20 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet21 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet22 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet23 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet24 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet25 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet26 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet27 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet28 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet29 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet30 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet31 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet32 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet33 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet34 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet35 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet36 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet37 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet38 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet39 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet40 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet41 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet42 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet43 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet44 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet45 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet46 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet47 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet48 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet1 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet2 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet3 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet4 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet5 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet6 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet7 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet8 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet9 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet10 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet11 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet12 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet13 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet14 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet15 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet16 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet17 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet18 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet19 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet20 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet21 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet22 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet23 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet24 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet25 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet26 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet27 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet28 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet29 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet30 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet31 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet32 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet33 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet34 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet35 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet36 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet37 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet38 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet39 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet40 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet41 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet42 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet43 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet44 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet45 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet46 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet47 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet48 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet51 | SPINE1_Ethernet1 | *trunk | *10,110,120,130 | *- | *- | 51 |
| Ethernet53 | MLAG_PEER_LEAF1B_Ethernet53 | *trunk | *- | *- | *['MLAG'] | 53 |
| Ethernet54 | MLAG_PEER_LEAF1B_Ethernet54 | *trunk | *- | *- | *['MLAG'] | 53 |
| Ethernet53 | MLAG_PEER_LEAF1B_Ethernet53 | *trunk | *- | *- | *MLAG | 53 |
| Ethernet54 | MLAG_PEER_LEAF1B_Ethernet54 | *trunk | *- | *- | *MLAG | 53 |

*Inherited from Port-Channel Interface

Expand Down Expand Up @@ -1377,7 +1377,7 @@ interface Ethernet54
| Interface | Description | Mode | VLANs | Native VLAN | Trunk Group | LACP Fallback Timeout | LACP Fallback Mode | MLAG ID | EVPN ESI |
| --------- | ----------- | ---- | ----- | ----------- | ------------| --------------------- | ------------------ | ------- | -------- |
| Port-Channel51 | SPINES_Po1 | trunk | 10,110,120,130 | - | - | - | - | 51 | - |
| Port-Channel53 | MLAG_PEER_LEAF1B_Po53 | trunk | - | - | ['MLAG'] | - | - | - | - |
| Port-Channel53 | MLAG_PEER_LEAF1B_Po53 | trunk | - | - | MLAG | - | - | - | - |

#### Port-Channel Interfaces Device Configuration

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -281,57 +281,57 @@ vlan 4094

| Interface | Description | Mode | VLANs | Native VLAN | Trunk Group | Channel-Group |
| --------- | ----------- | ---- | ----- | ----------- | ----------- | ------------- |
| Ethernet1 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet2 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet3 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet4 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet5 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet6 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet7 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet8 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet9 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet10 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet11 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet12 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet13 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet14 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet15 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet16 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet17 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet18 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet19 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet20 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet21 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet22 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet23 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet24 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet25 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet26 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet27 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet28 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet29 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet30 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet31 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet32 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet33 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet34 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet35 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet36 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet37 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet38 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet39 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet40 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet41 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet42 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet43 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet44 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet45 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet46 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet47 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet48 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet1 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet2 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet3 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet4 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet5 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet6 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet7 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet8 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet9 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet10 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet11 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet12 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet13 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet14 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet15 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet16 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet17 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet18 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet19 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet20 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet21 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet22 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet23 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet24 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet25 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet26 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet27 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet28 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet29 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet30 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet31 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet32 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet33 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet34 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet35 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet36 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet37 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet38 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet39 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet40 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet41 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet42 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet43 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet44 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet45 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet46 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet47 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet48 | IDF1 Standard Port | trunk phone | - | 110 | - | - |
| Ethernet51 | SPINE2_Ethernet1 | *trunk | *10,110,120,130 | *- | *- | 51 |
| Ethernet53 | MLAG_PEER_LEAF1A_Ethernet53 | *trunk | *- | *- | *['MLAG'] | 53 |
| Ethernet54 | MLAG_PEER_LEAF1A_Ethernet54 | *trunk | *- | *- | *['MLAG'] | 53 |
| Ethernet53 | MLAG_PEER_LEAF1A_Ethernet53 | *trunk | *- | *- | *MLAG | 53 |
| Ethernet54 | MLAG_PEER_LEAF1A_Ethernet54 | *trunk | *- | *- | *MLAG | 53 |

*Inherited from Port-Channel Interface

Expand Down Expand Up @@ -1377,7 +1377,7 @@ interface Ethernet54
| Interface | Description | Mode | VLANs | Native VLAN | Trunk Group | LACP Fallback Timeout | LACP Fallback Mode | MLAG ID | EVPN ESI |
| --------- | ----------- | ---- | ----- | ----------- | ------------| --------------------- | ------------------ | ------- | -------- |
| Port-Channel51 | SPINES_Po1 | trunk | 10,110,120,130 | - | - | - | - | 51 | - |
| Port-Channel53 | MLAG_PEER_LEAF1A_Po53 | trunk | - | - | ['MLAG'] | - | - | - | - |
| Port-Channel53 | MLAG_PEER_LEAF1A_Po53 | trunk | - | - | MLAG | - | - | - | - |

#### Port-Channel Interfaces Device Configuration

Expand Down
Loading

0 comments on commit 43c657e

Please sign in to comment.