QOS_NETMASKBITS = '[1-2][0-9]|3[0-2]|[0-9]' : '' QOS_IPADDRNM = '(RE:IPADDR)|(RE:IPADDR)/(RE:QOS_NETMASKBITS)|(RE:IPADDR)/(RE:IPADDR)' : '' QOS_EIPADDRNM = '()|(RE:QOS_IPADDRNM)([[:space:]]+(RE:QOS_IPADDRNM))*' : 'shoud be empty, an IP-address, an IP-address with netmaskbits (0-32), an IP-address with a netmask or a combination of those seperated by spaces' QOS_PORT = '[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9][0-9]|655[0-2][0-9]|6553[0-5]|[1-9][0-9]{1,3}|[0-9]' : 'shoud be a value between 0 and 65535' QOS_PORTRANGE = '(RE:QOS_PORT)-(RE:QOS_PORT)' : 'not a valid portrange' QOS_EPPR = '()|((RE:QOS_PORT)|(RE:QOS_PORTRANGE))([[:space:]]+((RE:QOS_PORT)|(RE:QOS_PORTRANGE)))*' : 'shoud be empty, a port between 0 and 65535, a portrange in the format port-port or a combination of those seperated by spaces' QOS_DIRECTION = '(up|down)' : 'only the arguments up or down are allowed' QOS_BANDWIDTH = '[1-9][0-9]*(Mibit/s|Kibit/s)' : 'not a valid bandwidth specification' QOS_EPRIORITY = '()|[0-7]' : 'shoud be empty or a a value between 0 and 7' QOS_EOPTION = '()|ACK|ICMP|TCP|UDP|TOSMD|TOSMT|TOSMR|TOSMC' : 'shoud be ACK, ICMP, TCP, UDP, TOSMD, TOSMT, TOSMR, TOSMC or empty' QOS_ETYPE = '()|((server|client)|(server( )+client)|(client( )+server))' : 'shoud be client, server, a combination of both or emty' QOS_CLASSNO = '([1-9][0-9]*(up|down)?)([[:space:]]+[1-9][0-9]*(up|down)?)?' : 'have to be number(s) seperated by space(s), 0 is not allowed' +RRDTOOL_SOURCE = 'qos' : ', qos'