-Some documentation showing the plan for rvlan
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7709 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
1753ca7f02
commit
abb63e2111
@ -98,6 +98,18 @@ sub new {
|
||||
return $self;
|
||||
}
|
||||
|
||||
sub rvlan {
|
||||
#The Q-BRIDGE way:
|
||||
#IF-MIB for ifName<->ifIndex (much like the find_mac code)
|
||||
#BRIDGE-MIB for ifIndex<->BridgeIndex (again, familiar)
|
||||
#Q-BRIDGE-MIB for vlanId<->vlanIndex
|
||||
# and vlanIndex<->dot1qVlanStaticUntaggedPorts
|
||||
# and vlanIndex<->dot1qVlanStaticEgressPorts (tagged allowed ports)
|
||||
# for changing the PVID of a port, the current bitfields must be read, the offset into the bitfield of the correct bridge index must be zero everywhere but vlan 1, then must be 1 in the target vlan. If it is zeroed in a vlan other than 1 without being 'oned' elsewhere, it reverts to vlan 1
|
||||
#that is the documented steps for brocade
|
||||
#some switches support vlan creation via qbridge, either via writing to the table or write to the row. SMC has write to non-existent row and vlanId==vlanIndex, which is logical. If a switches vlanIndex!=vlanId, QBridge doesnet' offer a clean injection point.
|
||||
#QBridge also has dot1qPvid, but wasn't writable in Brocade..
|
||||
}
|
||||
sub find_mac {
|
||||
# This function is given a mac address, checks for given mac address
|
||||
# and returns undef if unable to find the node, and the nodename otherwise
|
||||
|
Loading…
Reference in New Issue
Block a user