stormshift / support

This repo should serve as a central source for reporting issues with stormshift
GNU General Public License v3.0
3 stars 0 forks source link

create 10 VLANs for SR-IOV tests #191

Closed dmoessne closed 3 months ago

dmoessne commented 3 months ago

Need to test SR-IOV configured VLANs inside pods in order to validate an issue. To have the necessary VLANs in the lab net both Arista switches including the channel need to have VLANs 100..109 configured

dmoessne commented 3 months ago

configuration of the switches (mind VLAN 100 has been configured before):

arista-rj45>ena
arista-rj45#conf
arista-rj45(config)#

arista-rj45(config)#show vlan
VLAN  Name                             Status    Ports
----- -------------------------------- --------- -------------------------------
1     default                          active    
9     storage                          active    Et1, Et7, Et8, Et9, Et10, Et11
                                                 Et12, Et13, Et14, Et15, Et16
                                                 Et17, Et19, Et20, Et21, Et22
                                                 Et24, Et26, Et28, Et32, Et35
                                                 Et36, Et37, Et38, Et39, Et40
                                                 Et41, Et42, Et43, Et44, Et45
                                                 Et46, Et47, Et48, Po11
32    coe                              active    Et1, Et7, Et8, Et9, Et10, Et11
                                                 Et12, Et13, Et14, Et15, Et16
                                                 Et17, Et19, Et20, Et21, Et22
                                                 Et24, Et26, Et28, Et32, Et35
                                                 Et36, Et37, Et38, Et39, Et40
                                                 Et41, Et42, Et43, Et44, Et45
                                                 Et46, Et47, Et48, Po11
55    bla_ocp                          active    
69    coe-air-gapped                   active    Et1, Et7, Et8, Et9, Et10, Et11
                                                 Et12, Et13, Et14, Et15, Et16
                                                 Et17, Et19, Et20, Et21, Et22
                                                 Et24, Et26, Et28, Et32, Et35
                                                 Et36, Et37, Et38, Et39, Et40
                                                 Et41, Et42, Et43, Et44, Et45
                                                 Et46, Et47, Et48, Po11
100   sriov-test-100                   active    Et1, Et7, Et8, Et9, Et10, Et11
                                                 Et12, Et13, Et14, Et15, Et16
                                                 Et17, Et19, Et20, Et21, Et22
                                                 Et24, Et26, Et28, Et32, Et35
                                                 Et36, Et37, Et38, Et39, Et40
                                                 Et41, Et42, Et43, Et44, Et45
                                                 Et46, Et47, Et48, Po11
239   ceph-internal                    active    

arista-rj45(config)#write memory
Copy completed successfully.
arista-rj45(config)#
arista-rj45(config)#
arista-rj45(config)#vlan 101
arista-rj45(config-vlan-101)#name sriov-test-101
arista-rj45(config-vlan-101)#vlan 102
arista-rj45(config-vlan-102)#name sriov-test-102
arista-rj45(config-vlan-102)#vlan 103
arista-rj45(config-vlan-103)#name sriov-test-103
arista-rj45(config-vlan-103)#vlan 104
arista-rj45(config-vlan-104)#name sriov-test-104
arista-rj45(config-vlan-104)#vlan 105
arista-rj45(config-vlan-105)#name sriov-test-105
arista-rj45(config-vlan-105)#vlan 106
arista-rj45(config-vlan-106)#name sriov-test-106
arista-rj45(config-vlan-106)#vlan 107
arista-rj45(config-vlan-107)#name sriov-test-107
arista-rj45(config-vlan-107)#vlan 108
arista-rj45(config-vlan-108)#name sriov-test-108
arista-rj45(config-vlan-108)#vlan 109
arista-rj45(config-vlan-109)#name sriov-test-109
arista-rj45(config-vlan-109)#
arista-rj45(config-vlan-109)#show vlan
VLAN  Name                             Status    Ports
----- -------------------------------- --------- -------------------------------
1     default                          active    
9     storage                          active    Et1, Et7, Et8, Et9, Et10, Et11
                                                 Et12, Et13, Et14, Et15, Et16
                                                 Et17, Et19, Et20, Et21, Et22
                                                 Et24, Et26, Et28, Et32, Et35
                                                 Et36, Et37, Et38, Et39, Et40
                                                 Et41, Et42, Et43, Et44, Et45
                                                 Et46, Et47, Et48, Po11
32    coe                              active    Et1, Et7, Et8, Et9, Et10, Et11
                                                 Et12, Et13, Et14, Et15, Et16
                                                 Et17, Et19, Et20, Et21, Et22
                                                 Et24, Et26, Et28, Et32, Et35
                                                 Et36, Et37, Et38, Et39, Et40
                                                 Et41, Et42, Et43, Et44, Et45
                                                 Et46, Et47, Et48, Po11
55    bla_ocp                          active    
69    coe-air-gapped                   active    Et1, Et7, Et8, Et9, Et10, Et11
                                                 Et12, Et13, Et14, Et15, Et16
                                                 Et17, Et19, Et20, Et21, Et22
                                                 Et24, Et26, Et28, Et32, Et35
                                                 Et36, Et37, Et38, Et39, Et40
                                                 Et41, Et42, Et43, Et44, Et45
                                                 Et46, Et47, Et48, Po11
100   sriov-test-100                   active    Et1, Et7, Et8, Et9, Et10, Et11
                                                 Et12, Et13, Et14, Et15, Et16
                                                 Et17, Et19, Et20, Et21, Et22
                                                 Et24, Et26, Et28, Et32, Et35
                                                 Et36, Et37, Et38, Et39, Et40
                                                 Et41, Et42, Et43, Et44, Et45
                                                 Et46, Et47, Et48, Po11
101   sriov-test-101                   active    
102   sriov-test-102                   active    
103   sriov-test-103                   active    
104   sriov-test-104                   active    
105   sriov-test-105                   active    
106   sriov-test-106                   active    
107   sriov-test-107                   active    
108   sriov-test-108                   active    
109   sriov-test-109                   active    
239   ceph-internal                    active    

arista-rj45(config-vlan-109)#
arista-rj45(config-vlan-109)#
arista-rj45(config-vlan-109)#interface Et1-Et48
arista-rj45(config-if-Et1-48)#switchport trunk allowed vlan add 100-109
arista-rj45(config-if-Et1-48)#
arista-rj45(config-if-Et1-48)#interface Po11
arista-rj45(config-if-Po11)#
arista-rj45(config-if-Po11)#switchport trunk allowed vlan add 100-109
arista-rj45(config-if-Po11)#
arista-rj45(config-if-Po11)#show vlan
VLAN  Name                             Status    Ports
----- -------------------------------- --------- -------------------------------
1     default                          active    
9     storage                          active    Et1, Et7, Et8, Et9, Et10, Et11
                                                 Et12, Et13, Et14, Et15, Et16
                                                 Et17, Et19, Et20, Et21, Et22
                                                 Et24, Et26, Et28, Et32, Et35
                                                 Et36, Et37, Et38, Et39, Et40
                                                 Et41, Et42, Et43, Et44, Et45
                                                 Et46, Et47, Et48, Po11
32    coe                              active    Et1, Et7, Et8, Et9, Et10, Et11
                                                 Et12, Et13, Et14, Et15, Et16
                                                 Et17, Et19, Et20, Et21, Et22
                                                 Et24, Et26, Et28, Et32, Et35
                                                 Et36, Et37, Et38, Et39, Et40
                                                 Et41, Et42, Et43, Et44, Et45
                                                 Et46, Et47, Et48, Po11
55    bla_ocp                          active    
69    coe-air-gapped                   active    Et1, Et7, Et8, Et9, Et10, Et11
                                                 Et12, Et13, Et14, Et15, Et16
                                                 Et17, Et19, Et20, Et21, Et22
                                                 Et24, Et26, Et28, Et32, Et35
                                                 Et36, Et37, Et38, Et39, Et40
                                                 Et41, Et42, Et43, Et44, Et45
                                                 Et46, Et47, Et48, Po11
100   sriov-test-100                   active    Et1, Et7, Et8, Et9, Et10, Et11
                                                 Et12, Et13, Et14, Et15, Et16
                                                 Et17, Et19, Et20, Et21, Et22
                                                 Et24, Et26, Et28, Et32, Et35
                                                 Et36, Et37, Et38, Et39, Et40
                                                 Et41, Et42, Et43, Et44, Et45
                                                 Et46, Et47, Et48, Po11
101   sriov-test-101                   active    Et1, Et7, Et8, Et9, Et10, Et11
                                                 Et12, Et13, Et14, Et15, Et16
                                                 Et17, Et19, Et20, Et21, Et22
                                                 Et24, Et26, Et28, Et32, Et35
                                                 Et36, Et37, Et38, Et39, Et40
                                                 Et41, Et42, Et43, Et44, Et45
                                                 Et46, Et47, Et48, Po11
102   sriov-test-102                   active    Et1, Et7, Et8, Et9, Et10, Et11
                                                 Et12, Et13, Et14, Et15, Et16
                                                 Et17, Et19, Et20, Et21, Et22
                                                 Et24, Et26, Et28, Et32, Et35
                                                 Et36, Et37, Et38, Et39, Et40
                                                 Et41, Et42, Et43, Et44, Et45
                                                 Et46, Et47, Et48, Po11
103   sriov-test-103                   active    Et1, Et7, Et8, Et9, Et10, Et11
                                                 Et12, Et13, Et14, Et15, Et16
                                                 Et17, Et19, Et20, Et21, Et22
                                                 Et24, Et26, Et28, Et32, Et35
                                                 Et36, Et37, Et38, Et39, Et40
                                                 Et41, Et42, Et43, Et44, Et45
                                                 Et46, Et47, Et48, Po11
104   sriov-test-104                   active    Et1, Et7, Et8, Et9, Et10, Et11
                                                 Et12, Et13, Et14, Et15, Et16
                                                 Et17, Et19, Et20, Et21, Et22
                                                 Et24, Et26, Et28, Et32, Et35
                                                 Et36, Et37, Et38, Et39, Et40
                                                 Et41, Et42, Et43, Et44, Et45
                                                 Et46, Et47, Et48, Po11
105   sriov-test-105                   active    Et1, Et7, Et8, Et9, Et10, Et11
                                                 Et12, Et13, Et14, Et15, Et16
                                                 Et17, Et19, Et20, Et21, Et22
                                                 Et24, Et26, Et28, Et32, Et35
                                                 Et36, Et37, Et38, Et39, Et40
                                                 Et41, Et42, Et43, Et44, Et45
                                                 Et46, Et47, Et48, Po11
106   sriov-test-106                   active    Et1, Et7, Et8, Et9, Et10, Et11
                                                 Et12, Et13, Et14, Et15, Et16
                                                 Et17, Et19, Et20, Et21, Et22
                                                 Et24, Et26, Et28, Et32, Et35
                                                 Et36, Et37, Et38, Et39, Et40
                                                 Et41, Et42, Et43, Et44, Et45
                                                 Et46, Et47, Et48, Po11
107   sriov-test-107                   active    Et1, Et7, Et8, Et9, Et10, Et11
                                                 Et12, Et13, Et14, Et15, Et16
                                                 Et17, Et19, Et20, Et21, Et22
                                                 Et24, Et26, Et28, Et32, Et35
                                                 Et36, Et37, Et38, Et39, Et40
                                                 Et41, Et42, Et43, Et44, Et45
                                                 Et46, Et47, Et48, Po11
108   sriov-test-108                   active    Et1, Et7, Et8, Et9, Et10, Et11
                                                 Et12, Et13, Et14, Et15, Et16
                                                 Et17, Et19, Et20, Et21, Et22
                                                 Et24, Et26, Et28, Et32, Et35
                                                 Et36, Et37, Et38, Et39, Et40
                                                 Et41, Et42, Et43, Et44, Et45
                                                 Et46, Et47, Et48, Po11
109   sriov-test-109                   active    Et1, Et7, Et8, Et9, Et10, Et11
                                                 Et12, Et13, Et14, Et15, Et16
                                                 Et17, Et19, Et20, Et21, Et22
                                                 Et24, Et26, Et28, Et32, Et35
                                                 Et36, Et37, Et38, Et39, Et40
                                                 Et41, Et42, Et43, Et44, Et45
                                                 Et46, Et47, Et48, Po11
239   ceph-internal                    active    

arista-rj45(config-if-Po11)# 
arista-rj45(config-if-Po11)#write
Copy completed successfully.
arista-rj45(config-if-Po11)#

-----------------------------------------------------
arista-sfp>ena
arista-sfp#conf
arista-sfp(config)#
arista-sfp(config)#show vlan
VLAN  Name                             Status    Ports
----- -------------------------------- --------- -------------------------------
1     default                          active    
9     storage                          active    Et6/1, Et6/3, Et6/4, Et8/1
                                                 Et8/3, Et8/4, Et24/1, Et24/2
                                                 Et24/4, Et28/1, Et28/2, Et28/3
                                                 Et35, Et36, Po11
32    coe                              active    Et6/1, Et6/3, Et6/4, Et8/1
                                                 Et8/3, Et8/4, Et24/1, Et24/2
                                                 Et24/4, Et28/1, Et28/2, Et28/3
                                                 Et35, Et36, Po11
55    bla_ocp                          active    
69    coe-air-gapped                   active    Et6/1, Et6/3, Et6/4, Et8/1
                                                 Et8/3, Et8/4, Et24/1, Et24/2
                                                 Et24/4, Et28/1, Et28/2, Et28/3
                                                 Et28/4, Et35, Et36, Po11
100   sriov-test-100                   active    Et6/1, Et6/3, Et6/4, Et8/1
                                                 Et8/3, Et8/4, Et36, Po11
239   ceph-internal                    active    

arista-sfp(config)#
arista-sfp(config)#write memory
Copy completed successfully.
arista-sfp(config)#arista-sfp(config-vlan-101)#name sriov-test-101
arista-sfp(config-vlan-101)#vlan 102
arista-sfp(config-vlan-102)#name sriov-test-102
arista-sfp(config-vlan-102)#vlan 103
arista-sfp(config-vlan-103)#name sriov-test-103
arista-sfp(config-vlan-103)#vlan 104
arista-sfp(config-vlan-104)#name sriov-test-104
arista-sfp(config-vlan-104)#vlan 105
arista-sfp(config-vlan-105)#name sriov-test-105
arista-sfp(config-vlan-105)#vlan 106
arista-sfp(config-vlan-106)#name sriov-test-106
arista-sfp(config-vlan-106)#vlan 107
arista-sfp(config-vlan-107)#name sriov-test-107
arista-sfp(config-vlan-107)#vlan 108
arista-sfp(config-vlan-108)#name sriov-test-108
arista-sfp(config-vlan-108)#vlan 109
arista-sfp(config-vlan-109)#name sriov-test-109
arista-sfp(config-vlan-109)#
arista-sfp(config-vlan-109)#show vlan
VLAN  Name                             Status    Ports
----- -------------------------------- --------- -------------------------------
1     default                          active    
9     storage                          active    Et6/1, Et6/3, Et6/4, Et8/1
                                                 Et8/3, Et8/4, Et24/1, Et24/2
                                                 Et24/4, Et28/1, Et28/2, Et28/3
                                                 Et35, Et36, Po11
32    coe                              active    Et6/1, Et6/3, Et6/4, Et8/1
                                                 Et8/3, Et8/4, Et24/1, Et24/2
                                                 Et24/4, Et28/1, Et28/2, Et28/3
                                                 Et35, Et36, Po11
55    bla_ocp                          active    
69    coe-air-gapped                   active    Et6/1, Et6/3, Et6/4, Et8/1
                                                 Et8/3, Et8/4, Et24/1, Et24/2
                                                 Et24/4, Et28/1, Et28/2, Et28/3
                                                 Et28/4, Et35, Et36, Po11
100   sriov-test-100                   active    Et6/1, Et6/3, Et6/4, Et8/1
                                                 Et8/3, Et8/4, Et36, Po11
101   sriov-test-101                   active    
102   sriov-test-102                   active    
103   sriov-test-103                   active    
104   sriov-test-104                   active    
105   sriov-test-105                   active    
106   sriov-test-106                   active    
107   sriov-test-107                   active    
108   sriov-test-108                   active    
109   sriov-test-109                   active    
239   ceph-internal                    active    

arista-sfp(config-vlan-109)#
arista-sfp(config-if-Et1)#             
arista-sfp(config-if-Et1)#interface Et1-36
arista-sfp(config-if-Et1-4,6/1-36)#switchport trunk allowed vlan add 100-109
arista-sfp(config-if-Et1-4,6/1-36)#
arista-sfp(config-if-Et1-4,6/1-36)#interface Po11
arista-sfp(config-if-Po11)#switchport trunk allowed vlan add 100-109
arista-sfp(config-if-Po11)#
arista-sfp(config-if-Po11)#show vlan
VLAN  Name                             Status    Ports
----- -------------------------------- --------- -------------------------------
1     default                          active    
9     storage                          active    Et6/1, Et6/3, Et6/4, Et8/1
                                                 Et8/3, Et8/4, Et24/1, Et24/2
                                                 Et24/4, Et28/1, Et28/2, Et28/3
                                                 Et35, Et36, Po11
32    coe                              active    Et6/1, Et6/3, Et6/4, Et8/1
                                                 Et8/3, Et8/4, Et24/1, Et24/2
                                                 Et24/4, Et28/1, Et28/2, Et28/3
                                                 Et35, Et36, Po11
55    bla_ocp                          active    
69    coe-air-gapped                   active    Et6/1, Et6/3, Et6/4, Et8/1
                                                 Et8/3, Et8/4, Et24/1, Et24/2
                                                 Et24/4, Et28/1, Et28/2, Et28/3
                                                 Et28/4, Et35, Et36, Po11
100   sriov-test-100                   active    Et6/1, Et6/3, Et6/4, Et8/1
                                                 Et8/3, Et8/4, Et24/1, Et24/2
                                                 Et24/4, Et28/1, Et28/2, Et28/3
                                                 Et35, Et36, Po11
101   sriov-test-101                   active    Et6/1, Et6/3, Et6/4, Et8/1
                                                 Et8/3, Et8/4, Et24/1, Et24/2
                                                 Et24/4, Et28/1, Et28/2, Et28/3
                                                 Et35, Et36, Po11
102   sriov-test-102                   active    Et6/1, Et6/3, Et6/4, Et8/1
                                                 Et8/3, Et8/4, Et24/1, Et24/2
                                                 Et24/4, Et28/1, Et28/2, Et28/3
                                                 Et35, Et36, Po11
103   sriov-test-103                   active    Et6/1, Et6/3, Et6/4, Et8/1
                                                 Et8/3, Et8/4, Et24/1, Et24/2
                                                 Et24/4, Et28/1, Et28/2, Et28/3
                                                 Et35, Et36, Po11
104   sriov-test-104                   active    Et6/1, Et6/3, Et6/4, Et8/1
                                                 Et8/3, Et8/4, Et24/1, Et24/2
                                                 Et24/4, Et28/1, Et28/2, Et28/3
                                                 Et35, Et36, Po11
105   sriov-test-105                   active    Et6/1, Et6/3, Et6/4, Et8/1
                                                 Et8/3, Et8/4, Et24/1, Et24/2
                                                 Et24/4, Et28/1, Et28/2, Et28/3
                                                 Et35, Et36, Po11
106   sriov-test-106                   active    Et6/1, Et6/3, Et6/4, Et8/1
                                                 Et8/3, Et8/4, Et24/1, Et24/2
                                                 Et24/4, Et28/1, Et28/2, Et28/3
                                                 Et35, Et36, Po11
107   sriov-test-107                   active    Et6/1, Et6/3, Et6/4, Et8/1
                                                 Et8/3, Et8/4, Et24/1, Et24/2
                                                 Et24/4, Et28/1, Et28/2, Et28/3
                                                 Et35, Et36, Po11
108   sriov-test-108                   active    Et6/1, Et6/3, Et6/4, Et8/1
                                                 Et8/3, Et8/4, Et24/1, Et24/2
                                                 Et24/4, Et28/1, Et28/2, Et28/3
                                                 Et35, Et36, Po11
109   sriov-test-109                   active    Et6/1, Et6/3, Et6/4, Et8/1
                                                 Et8/3, Et8/4, Et24/1, Et24/2
                                                 Et24/4, Et28/1, Et28/2, Et28/3
                                                 Et35, Et36, Po11
239   ceph-internal                    active    

arista-sfp(config-if-Po11)#
arista-sfp(config-if-Po11)#write
Copy completed successfully.
arista-sfp(config-if-Po11)#
DanielFroehlich commented 3 months ago

@dmoessne Please make sure this is documented in the lab gsheet:

https://docs.google.com/spreadsheets/d/1iwXilV1V84IQN7mKOIHq28-9P5bWabN019TJPaJ_3Es/edit?gid=1537338819#gid=1537338819&range=A1:E1

I suggest to add a new tab "VLANS" and document per VLAN the owner and the purpose, so we can find out / contact who uses it.

rbo commented 3 months ago

good point, all documented.