Commit 1f7d7979 authored by Waleed Akbar's avatar Waleed Akbar
Browse files

fix: Update allowed links and capacity values for controllers

parent 91902119
Loading
Loading
Loading
Loading
+5 −6
Original line number Diff line number Diff line
@@ -17,8 +17,7 @@ ALLOWED_LINKS_PER_CONTROLLER = {
    'agg'      : { 'L3', 'L4', 'L13', 'L14'  },
    'trans-pkt': { 'L5', 'L6', 'L9',  'L10'  },
    # The remaining can not be monitored therefore they are not included in the allowed links for the controllers
    # 'agg'      : { 'L3',    'L4',   'L7ab',  'L7ba',  'L8ab',  'L8ba', 
    #                'L11ab', 'L11ba', 'L12ab', 'L12ba', 'L13',  'L14'   },
    # 'agg'      : { 'L7ab',  'L7ba',  'L8ab',  'L8ba', 'L11ab', 'L11ba', 'L12ab', 'L12ba',  },
}
# NOTE: Ranges should be less than 100 because the schema does not allow
# bandwidth-utilization to exceed 100% 
@@ -33,8 +32,8 @@ ALLOWED_LINKS_PER_CONTROLLER = {
    #     description "0–100 percent value.";
    # }
LINKS_CAPACITY = {
    'L1'    : 30, 'L2'   : 30, 'L3'   : 70, 'L4'   : 70,
    'L5'    : 90, 'L6'   : 90, 'L9'   : 90, 'L10'  : 90,
    'L7ab'  : 50, 'L7ba' : 50, 'L8ab' : 50, 'L8ba' : 50, 'L11ab' : 50,
    'L11ba' : 50, 'L12ab': 50, 'L12ba': 50, 'L13'  : 30, 'L14'   : 30,
    'L1'    : 100, 'L2'   : 100, 'L3'   : 100, 'L4'   : 100,
    'L5'    : 100, 'L6'   : 100, 'L9'   : 100, 'L10'  : 100,
    'L7ab'  : 100, 'L7ba' : 100, 'L8ab' : 100, 'L8ba' : 100, 'L11ab' : 100,
    'L11ba' : 100, 'L12ab': 100, 'L12ba': 100, 'L13'  : 100, 'L14'   : 100,
}