Changeset 20266


Ignore:
Timestamp:
2010-03-18T12:17:42+01:00 (8 years ago)
Author:
blogic
Message:

[br2684ctl] Allow UCI configuration of ATM QOS parameters per interface, signed off by Ithamar R. Adema

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/br2684ctl/files/br2684ctl

    r12277 r20266  
    1616        config_get encaps "$cfg" encaps 
    1717        config_get payload "$cfg" payload 
     18        config_get qos "$cfg" qos 
    1819        case "$encaps" in 
    1920                1|vc) encaps=1;; 
     
    2425                *) payload=1;; 
    2526        esac 
    26         br2684ctl -b -c "$unit" -e "$encaps" -p "$payload" -a "${atmdev:+$atmdev.}${vpi:-8}.${vci:-35}"  
     27        [ "$qos" ] && qos="-q $qos" 
     28        br2684ctl -b -c "$unit" -e "$encaps" -p "$payload" $qos -a "${atmdev:+$atmdev.}${vpi:-8}.${vci:-35}"     
    2729} 
    2830 
Note: See TracChangeset for help on using the changeset viewer.