content
stringlengths
7
1.05M
fixed_cases
stringlengths
1
1.28M
a + b c - d e * f g / h i % j k // l m ** n o | p q & r s ^ t u << v w >> x
a + b c - d e * f g / h i % j k // l m ** n o | p q & r s ^ t u << v w >> x
def _1(): for row in range(7): for col in range(7): if (col==3 or row==6) or (row<3 and row+col==2): print("*",end="") else: print(end=" ") print()
def _1(): for row in range(7): for col in range(7): if (col == 3 or row == 6) or (row < 3 and row + col == 2): print('*', end='') else: print(end=' ') print()
CACHEDOPS = "cachedoperations" SLICEBUILDERS = "slicebuilders" GENERIC = "slicebuilder" SUBPOPULATION = "subpopulation" ATTACK = "attack" AUGMENTATION = "augmentation" TRANSFORMATION = "transformation" CURATION = "curated"
cachedops = 'cachedoperations' slicebuilders = 'slicebuilders' generic = 'slicebuilder' subpopulation = 'subpopulation' attack = 'attack' augmentation = 'augmentation' transformation = 'transformation' curation = 'curated'
BINANCE_SUPPORTED_QUOTE_ASSET = { 'BTC', 'ETH', 'USDT', 'BNB' } class SupportedQuoteAsset: @staticmethod def getQuoteAsset(symbol, supportedAssetMap): for val in supportedAssetMap: if symbol.endswith(val): return val return None
binance_supported_quote_asset = {'BTC', 'ETH', 'USDT', 'BNB'} class Supportedquoteasset: @staticmethod def get_quote_asset(symbol, supportedAssetMap): for val in supportedAssetMap: if symbol.endswith(val): return val return None
names:{ "000000": "Black", "000080": "Navy Blue", "0000C8": "Dark Blue", "0000FF": "Blue", "000741": "Stratos", "001B1C": "Swamp", "002387": "Resolution Blue", "002900": "Deep Fir", "002E20": "Burnham", "002FA7": "International Klein Blue", "003153": "Prussian Blue", "003366": "Midnight Blue", "003399": "Smalt", "003532": "Deep Teal", "003E40": "Cyprus", "004620": "Kaitoke Green", "0047AB": "Cobalt", "004816": "Crusoe", "004950": "Sherpa Blue", "0056A7": "Endeavour", "00581A": "Camarone", "0066CC": "Science Blue", "0066FF": "Blue Ribbon", "00755E": "Tropical Rain Forest", "0076A3": "Allports", "007BA7": "Deep Cerulean", "007EC7": "Lochmara", "007FFF": "Azure Radiance", "008080": "Teal", "0095B6": "Bondi Blue", "009DC4": "Pacific Blue", "00A693": "Persian Green", "00A86B": "Jade", "00CC99": "Caribbean Green", "00CCCC": "Robin's Egg Blue", "00FF00": "Green", "00FF7F": "Spring Green", "00FFFF": "Cyan / Aqua", "010D1A": "Blue Charcoal", "011635": "Midnight", "011D13": "Holly", "012731": "Daintree", "01361C": "Cardin Green", "01371A": "County Green", "013E62": "Astronaut Blue", "013F6A": "Regal Blue", "014B43": "Aqua Deep", "015E85": "Orient", "016162": "Blue Stone", "016D39": "Fun Green", "01796F": "Pine Green", "017987": "Blue Lagoon", "01826B": "Deep Sea", "01A368": "Green Haze", "022D15": "English Holly", "02402C": "Sherwood Green", "02478E": "Congress Blue", "024E46": "Evening Sea", "026395": "Bahama Blue", "02866F": "Observatory", "02A4D3": "Cerulean", "03163C": "Tangaroa", "032B52": "Green Vogue", "036A6E": "Mosque", "041004": "Midnight Moss", "041322": "Black Pearl", "042E4C": "Blue Whale", "044022": "Zuccini", "044259": "Teal Blue", "051040": "Deep Cove", "051657": "Gulf Blue", "055989": "Venice Blue", "056F57": "Watercourse", "062A78": "Catalina Blue", "063537": "Tiber", "069B81": "Gossamer", "06A189": "Niagara", "073A50": "Tarawera", "080110": "Jaguar", "081910": "Black Bean", "082567": "Deep Sapphire", "088370": "Elf Green", "08E8DE": "Bright Turquoise", "092256": "Downriver", "09230F": "Palm Green", "09255D": "Madison", "093624": "Bottle Green", "095859": "Deep Sea Green", "097F4B": "Salem", "0A001C": "Black Russian", "0A480D": "Dark Fern", "0A6906": "Japanese Laurel", "0A6F75": "Atoll", "0B0B0B": "Cod Gray", "0B0F08": "Marshland", "0B1107": "Gordons Green", "0B1304": "Black Forest", "0B6207": "San Felix", "0BDA51": "Malachite", "0C0B1D": "Ebony", "0C0D0F": "Woodsmoke", "0C1911": "Racing Green", "0C7A79": "Surfie Green", "0C8990": "Blue Chill", "0D0332": "Black Rock", "0D1117": "Bunker", "0D1C19": "Aztec", "0D2E1C": "Bush", "0E0E18": "Cinder", "0E2A30": "Firefly", "0F2D9E": "Torea Bay", "10121D": "Vulcan", "101405": "Green Waterloo", "105852": "Eden", "110C6C": "Arapawa", "120A8F": "Ultramarine", "123447": "Elephant", "126B40": "Jewel", "130000": "Diesel", "130A06": "Asphalt", "13264D": "Blue Zodiac", "134F19": "Parsley", "140600": "Nero", "1450AA": "Tory Blue", "151F4C": "Bunting", "1560BD": "Denim", "15736B": "Genoa", "161928": "Mirage", "161D10": "Hunter Green", "162A40": "Big Stone", "163222": "Celtic", "16322C": "Timber Green", "163531": "Gable Green", "171F04": "Pine Tree", "175579": "Chathams Blue", "182D09": "Deep Forest Green", "18587A": "Blumine", "19330E": "Palm Leaf", "193751": "Nile Blue", "1959A8": "Fun Blue", "1A1A68": "Lucky Point", "1AB385": "Mountain Meadow", "1B0245": "Tolopea", "1B1035": "Haiti", "1B127B": "Deep Koamaru", "1B1404": "Acadia", "1B2F11": "Seaweed", "1B3162": "Biscay", "1B659D": "Matisse", "1C1208": "Crowshead", "1C1E13": "Rangoon Green", "1C39BB": "Persian Blue", "1C402E": "Everglade", "1C7C7D": "Elm", "1D6142": "Green Pea", "1E0F04": "Creole", "1E1609": "Karaka", "1E1708": "El Paso", "1E385B": "Cello", "1E433C": "Te Papa Green", "1E90FF": "Dodger Blue", "1E9AB0": "Eastern Blue", "1F120F": "Night Rider", "1FC2C2": "Java", "20208D": "Jacksons Purple", "202E54": "Cloud Burst", "204852": "Blue Dianne", "211A0E": "Eternity", "220878": "Deep Blue", "228B22": "Forest Green", "233418": "Mallard", "240A40": "Violet", "240C02": "Kilamanjaro", "242A1D": "Log Cabin", "242E16": "Black Olive", "24500F": "Green House", "251607": "Graphite", "251706": "Cannon Black", "251F4F": "Port Gore", "25272C": "Shark", "25311C": "Green Kelp", "2596D1": "Curious Blue", "260368": "Paua", "26056A": "Paris M", "261105": "Wood Bark", "261414": "Gondola", "262335": "Steel Gray", "26283B": "Ebony Clay", "273A81": "Bay of Many", "27504B": "Plantation", "278A5B": "Eucalyptus", "281E15": "Oil", "283A77": "Astronaut", "286ACD": "Mariner", "290C5E": "Violent Violet", "292130": "Bastille", "292319": "Zeus", "292937": "Charade", "297B9A": "Jelly Bean", "29AB87": "Jungle Green", "2A0359": "Cherry Pie", "2A140E": "Coffee Bean", "2A2630": "Baltic Sea", "2A380B": "Turtle Green", "2A52BE": "Cerulean Blue", "2B0202": "Sepia Black", "2B194F": "Valhalla", "2B3228": "Heavy Metal", "2C0E8C": "Blue Gem", "2C1632": "Revolver", "2C2133": "Bleached Cedar", "2C8C84": "Lochinvar", "2D2510": "Mikado", "2D383A": "Outer Space", "2D569B": "St Tropaz", "2E0329": "Jacaranda", "2E1905": "Jacko Bean", "2E3222": "Rangitoto", "2E3F62": "Rhino", "2E8B57": "Sea Green", "2EBFD4": "Scooter", "2F270E": "Onion", "2F3CB3": "Governor Bay", "2F519E": "Sapphire", "2F5A57": "Spectra", "2F6168": "Casal", "300529": "Melanzane", "301F1E": "Cocoa Brown", "302A0F": "Woodrush", "304B6A": "San Juan", "30D5C8": "Turquoise", "311C17": "Eclipse", "314459": "Pickled Bluewood", "315BA1": "Azure", "31728D": "Calypso", "317D82": "Paradiso", "32127A": "Persian Indigo", "32293A": "Blackcurrant", "323232": "Mine Shaft", "325D52": "Stromboli", "327C14": "Bilbao", "327DA0": "Astral", "33036B": "Christalle", "33292F": "Thunder", "33CC99": "Shamrock", "341515": "Tamarind", "350036": "Mardi Gras", "350E42": "Valentino", "350E57": "Jagger", "353542": "Tuna", "354E8C": "Chambray", "363050": "Martinique", "363534": "Tuatara", "363C0D": "Waiouru", "36747D": "Ming", "368716": "La Palma", "370202": "Chocolate", "371D09": "Clinker", "37290E": "Brown Tumbleweed", "373021": "Birch", "377475": "Oracle", "380474": "Blue Diamond", "381A51": "Grape", "383533": "Dune", "384555": "Oxford Blue", "384910": "Clover", "394851": "Limed Spruce", "396413": "Dell", "3A0020": "Toledo", "3A2010": "Sambuca", "3A2A6A": "Jacarta", "3A686C": "William", "3A6A47": "Killarney", "3AB09E": "Keppel", "3B000B": "Temptress", "3B0910": "Aubergine", "3B1F1F": "Jon", "3B2820": "Treehouse", "3B7A57": "Amazon", "3B91B4": "Boston Blue", "3C0878": "Windsor", "3C1206": "Rebel", "3C1F76": "Meteorite", "3C2005": "Dark Ebony", "3C3910": "Camouflage", "3C4151": "Bright Gray", "3C4443": "Cape Cod", "3C493A": "Lunar Green", "3D0C02": "Bean ", "3D2B1F": "Bistre", "3D7D52": "Goblin", "3E0480": "Kingfisher Daisy", "3E1C14": "Cedar", "3E2B23": "English Walnut", "3E2C1C": "Black Marlin", "3E3A44": "Ship Gray", "3EABBF": "Pelorous", "3F2109": "Bronze", "3F2500": "Cola", "3F3002": "Madras", "3F307F": "Minsk", "3F4C3A": "Cabbage Pont", "3F583B": "Tom Thumb", "3F5D53": "Mineral Green", "3FC1AA": "Puerto Rico", "3FFF00": "Harlequin", "401801": "Brown Pod", "40291D": "Cork", "403B38": "Masala", "403D19": "Thatch Green", "405169": "Fiord", "40826D": "Viridian", "40A860": "Chateau Green", "410056": "Ripe Plum", "411F10":"Paco", "412010": "Deep Oak", "413C37": "Merlin", "414257": "Gun Powder", "414C7D": "East Bay", "4169E1": "Royal Blue", "41AA78": "Ocean Green", "420303": "Burnt Maroon", "423921": "Lisbon Brown", "427977": "Faded Jade", "431560": "Scarlet Gum", "433120": "Iroko", "433E37": "Armadillo", "434C59": "River Bed", "436A0D": "Green Leaf", "44012D": "Barossa", "441D00": "Morocco Brown", "444954": "Mako", "454936": "Kelp", "456CAC": "San Marino", "45B1E8": "Picton Blue", "460B41": "Loulou", "462425": "Crater Brown", "465945": "Gray Asparagus", "4682B4": "Steel Blue", "480404": "Rustic Red", "480607": "Bulgarian Rose", "480656": "Clairvoyant", "481C1C": "Cocoa Bean", "483131": "Woody Brown", "483C32": "Taupe", "49170C": "Van Cleef", "492615": "Brown Derby", "49371B": "Metallic Bronze", "495400": "Verdun Green", "496679": "Blue Bayoux", "497183": "Bismark", "4A2A04": "Bracken", "4A3004": "Deep Bronze", "4A3C30": "Mondo", "4A4244": "Tundora", "4A444B": "Gravel", "4A4E5A": "Trout", "4B0082": "Pigment Indigo", "4B5D52": "Nandor", "4C3024": "Saddle", "4C4F56": "Abbey", "4D0135": "Blackberry", "4D0A18": "Cab Sav", "4D1E01": "Indian Tan", "4D282D": "Cowboy", "4D282E": "Livid Brown", "4D3833": "Rock", "4D3D14": "Punga", "4D400F": "Bronzetone", "4D5328": "Woodland", "4E0606": "Mahogany", "4E2A5A": "Bossanova", "4E3B41": "Matterhorn", "4E420C": "Bronze Olive", "4E4562": "Mulled Wine", "4E6649": "Axolotl", "4E7F9E": "Wedgewood", "4EABD1": "Shakespeare", "4F1C70": "Honey Flower", "4F2398": "Daisy Bush", "4F69C6": "Indigo", "4F7942": "Fern Green", "4F9D5D": "Fruit Salad", "4FA83D": "Apple", "504351": "Mortar", "507096": "Kashmir Blue", "507672": "Cutty Sark", "50C878": "Emerald", "514649": "Emperor", "516E3D": "Chalet Green", "517C66": "Como", "51808F": "Smalt Blue", "52001F": "Castro", "520C17": "Maroon Oak", "523C94": "Gigas", "533455": "Voodoo", "534491": "Victoria", "53824B": "Hippie Green", "541012": "Heath", "544333": "Judge Gray", "54534D": "Fuscous Gray", "549019": "Vida Loca", "55280C": "Cioccolato", "555B10": "Saratoga", "556D56": "Finlandia", "5590D9": "Havelock Blue", "56B4BE": "Fountain Blue", "578363": "Spring Leaves", "583401": "Saddle Brown", "585562": "Scarpa Flow", "587156": "Cactus", "589AAF": "Hippie Blue", "591D35": "Wine Berry", "592804": "Brown Bramble", "593737": "Congo Brown", "594433": "Millbrook", "5A6E9C": "Waikawa Gray", "5A87A0": "Horizon", "5B3013": "Jambalaya", "5C0120": "Bordeaux", "5C0536": "Mulberry Wood", "5C2E01": "Carnaby Tan", "5C5D75": "Comet", "5D1E0F": "Redwood", "5D4C51": "Don Juan", "5D5C58": "Chicago", "5D5E37": "Verdigris", "5D7747": "Dingley", "5DA19F": "Breaker Bay", "5E483E": "Kabul", "5E5D3B": "Hemlock", "5F3D26": "Irish Coffee", "5F5F6E": "Mid Gray", "5F6672": "Shuttle Gray", "5FA777": "Aqua Forest", "5FB3AC": "Tradewind", "604913": "Horses Neck", "605B73": "Smoky", "606E68": "Corduroy", "6093D1": "Danube", "612718": "Espresso", "614051": "Eggplant", "615D30": "Costa Del Sol", "61845F": "Glade Green", "622F30": "Buccaneer", "623F2D": "Quincy", "624E9A": "Butterfly Bush", "625119": "West Coast", "626649": "Finch", "639A8F": "Patina", "63B76C": "Fern", "6456B7": "Blue Violet", "646077": "Dolphin", "646463": "Storm Dust", "646A54": "Siam", "646E75": "Nevada", "6495ED": "Cornflower Blue", "64CCDB": "Viking", "65000B": "Rosewood", "651A14": "Cherrywood", "652DC1": "Purple Heart", "657220": "Fern Frond", "65745D": "Willow Grove", "65869F": "Hoki", "660045": "Pompadour", "660099": "Purple", "66023C": "Tyrian Purple", "661010": "Dark Tan", "66B58F": "Silver Tree", "66FF00": "Bright Green", "66FF66": "Screamin' Green", "67032D": "Black Rose", "675FA6": "Scampi", "676662": "Ironside Gray", "678975": "Viridian Green", "67A712": "Christi", "683600": "Nutmeg Wood Finish", "685558": "Zambezi", "685E6E": "Salt Box", "692545": "Tawny Port", "692D54": "Finn", "695F62": "Scorpion", "697E9A": "Lynch", "6A442E": "Spice", "6A5D1B": "Himalaya", "6A6051": "Soya Bean", "6B2A14": "Hairy Heath", "6B3FA0": "Royal Purple", "6B4E31": "Shingle Fawn", "6B5755": "Dorado", "6B8BA2": "Bermuda Gray", "6B8E23": "Olive Drab", "6C3082": "Eminence", "6CDAE7": "Turquoise Blue", "6D0101": "Lonestar", "6D5E54": "Pine Cone", "6D6C6C": "Dove Gray", "6D9292": "Juniper", "6D92A1": "Gothic", "6E0902": "Red Oxide", "6E1D14": "Moccaccino", "6E4826": "Pickled Bean", "6E4B26": "Dallas", "6E6D57": "Kokoda", "6E7783": "Pale Sky", "6F440C": "Cafe Royale", "6F6A61": "Flint", "6F8E63": "Highland", "6F9D02": "Limeade", "6FD0C5": "Downy", "701C1C": "Persian Plum", "704214": "Sepia", "704A07": "Antique Bronze", "704F50": "Ferra", "706555": "Coffee", "708090": "Slate Gray", "711A00": "Cedar Wood Finish", "71291D": "Metallic Copper", "714693": "Affair", "714AB2": "Studio", "715D47": "Tobacco Brown", "716338": "Yellow Metal", "716B56": "Peat", "716E10": "Olivetone", "717486": "Storm Gray", "718080": "Sirocco", "71D9E2": "Aquamarine Blue", "72010F": "Venetian Red", "724A2F": "Old Copper", "726D4E": "Go Ben", "727B89": "Raven", "731E8F": "Seance", "734A12": "Raw Umber", "736C9F": "Kimberly", "736D58": "Crocodile", "737829": "Crete", "738678": "Xanadu", "74640D": "Spicy Mustard", "747D63": "Limed Ash", "747D83": "Rolling Stone", "748881": "Blue Smoke", "749378": "Laurel", "74C365": "Mantis", "755A57": "Russett", "7563A8": "Deluge", "76395D": "Cosmic", "7666C6": "Blue Marguerite", "76BD17": "Lima", "76D7EA": "Sky Blue", "770F05": "Dark Burgundy", "771F1F": "Crown of Thorns", "773F1A": "Walnut", "776F61": "Pablo", "778120": "Pacifika", "779E86": "Oxley", "77DD77": "Pastel Green", "780109": "Japanese Maple", "782D19": "Mocha", "782F16": "Peanut", "78866B": "Camouflage Green", "788A25": "Wasabi", "788BBA": "Ship Cove", "78A39C": "Sea Nymph", "795D4C": "Roman Coffee", "796878": "Old Lavender", "796989": "Rum", "796A78": "Fedora", "796D62": "Sandstone", "79DEEC": "Spray", "7A013A": "Siren", "7A58C1": "Fuchsia Blue", "7A7A7A": "Boulder", "7A89B8": "Wild Blue Yonder", "7AC488": "De York", "7B3801": "Red Beech", "7B3F00": "Cinnamon", "7B6608": "Yukon Gold", "7B7874": "Tapa", "7B7C94": "Waterloo ", "7B8265": "Flax Smoke", "7B9F80": "Amulet", "7BA05B": "Asparagus", "7C1C05": "Kenyan Copper", "7C7631": "Pesto", "7C778A": "Topaz", "7C7B7A": "Concord", "7C7B82": "Jumbo", "7C881A": "Trendy Green", "7CA1A6": "Gumbo", "7CB0A1": "Acapulco", "7CB7BB": "Neptune", "7D2C14": "Pueblo", "7DA98D": "Bay Leaf", "7DC8F7": "Malibu", "7DD8C6": "Bermuda", "7E3A15": "Copper Canyon", "7F1734": "Claret", "7F3A02": "Peru Tan", "7F626D": "Falcon", "7F7589": "Mobster", "7F76D3": "Moody Blue", "7FFF00": "Chartreuse", "7FFFD4": "Aquamarine", "800000": "Maroon", "800B47": "Rose Bud Cherry", "801818": "Falu Red", "80341F": "Red Robin", "803790": "Vivid Violet", "80461B": "Russet", "807E79": "Friar Gray", "808000": "Olive", "808080": "Gray", "80B3AE": "Gulf Stream", "80B3C4": "Glacier", "80CCEA": "Seagull", "81422C": "Nutmeg", "816E71": "Spicy Pink", "817377": "Empress", "819885": "Spanish Green", "826F65": "Sand Dune", "828685": "Gunsmoke", "828F72": "Battleship Gray", "831923": "Merlot", "837050": "Shadow", "83AA5D": "Chelsea Cucumber", "83D0C6": "Monte Carlo", "843179": "Plum", "84A0A0": "Granny Smith", "8581D9": "Chetwode Blue", "858470": "Bandicoot", "859FAF": "Bali Hai", "85C4CC": "Half Baked", "860111": "Red Devil", "863C3C": "Lotus", "86483C": "Ironstone", "864D1E": "Bull Shot", "86560A": "Rusty Nail", "868974": "Bitter", "86949F": "Regent Gray", "871550": "Disco", "87756E": "Americano", "877C7B": "Hurricane", "878D91": "Oslo Gray", "87AB39": "Sushi", "885342": "Spicy Mix", "886221": "Kumera", "888387": "Suva Gray", "888D65": "Avocado", "893456": "Camelot", "893843": "Solid Pink", "894367": "Cannon Pink", "897D6D": "Makara", "8A3324": "Burnt Umber", "8A73D6": "True V", "8A8360": "Clay Creek", "8A8389": "Monsoon", "8A8F8A": "Stack", "8AB9F1": "Jordy Blue", "8B00FF": "Electric Violet", "8B0723": "Monarch", "8B6B0B": "Corn Harvest", "8B8470": "Olive Haze", "8B847E": "Schooner", "8B8680": "Natural Gray", "8B9C90": "Mantle", "8B9FEE": "Portage", "8BA690": "Envy", "8BA9A5": "Cascade", "8BE6D8": "Riptide", "8C055E": "Cardinal Pink", "8C472F": "Mule Fawn", "8C5738": "Potters Clay", "8C6495": "Trendy Pink", "8D0226": "Paprika", "8D3D38": "Sanguine Brown", "8D3F3F": "Tosca", "8D7662": "Cement", "8D8974": "Granite Green", "8D90A1": "Manatee", "8DA8CC": "Polo Blue", "8E0000": "Red Berry", "8E4D1E": "Rope", "8E6F70": "Opium", "8E775E": "Domino", "8E8190": "Mamba", "8EABC1": "Nepal", "8F021C": "Pohutukawa", "8F3E33": "El Salva", "8F4B0E": "Korma", "8F8176": "Squirrel", "8FD6B4": "Vista Blue", "900020": "Burgundy", "901E1E": "Old Brick", "907874": "Hemp", "907B71": "Almond Frost", "908D39": "Sycamore", "92000A": "Sangria", "924321": "Cumin", "926F5B": "Beaver", "928573": "Stonewall", "928590": "Venus", "9370DB": "Medium Purple", "93CCEA": "Cornflower", "93DFB8": "Algae Green", "944747": "Copper Rust", "948771": "Arrowtown", "950015": "Scarlett", "956387": "Strikemaster", "959396": "Mountain Mist", "960018": "Carmine", "964B00": "Brown", "967059": "Leather", "9678B6": "Purple Mountain's Majesty", "967BB6": "Lavender Purple", "96A8A1": "Pewter", "96BBAB": "Summer Green", "97605D": "Au Chico", "9771B5": "Wisteria", "97CD2D": "Atlantis", "983D61": "Vin Rouge", "9874D3": "Lilac Bush", "98777B": "Bazaar", "98811B": "Hacienda", "988D77": "Pale Oyster", "98FF98": "Mint Green", "990066": "Fresh Eggplant", "991199": "Violet Eggplant", "991613": "Tamarillo", "991B07": "Totem Pole", "996666": "Copper Rose", "9966CC": "Amethyst", "997A8D": "Mountbatten Pink", "9999CC": "Blue Bell", "9A3820": "Prairie Sand", "9A6E61": "Toast", "9A9577": "Gurkha", "9AB973": "Olivine", "9AC2B8": "Shadow Green", "9B4703": "Oregon", "9B9E8F": "Lemon Grass", "9C3336": "Stiletto", "9D5616": "Hawaiian Tan", "9DACB7": "Gull Gray", "9DC209": "Pistachio", "9DE093": "Granny Smith Apple", "9DE5FF": "Anakiwa", "9E5302": "Chelsea Gem", "9E5B40": "Sepia Skin", "9EA587": "Sage", "9EA91F": "Citron", "9EB1CD": "Rock Blue", "9EDEE0": "Morning Glory", "9F381D": "Cognac", "9F821C": "Reef Gold", "9F9F9C": "Star Dust", "9FA0B1": "Santas Gray", "9FD7D3": "Sinbad", "9FDD8C": "Feijoa", "A02712": "Tabasco", "A1750D": "Buttered Rum", "A1ADB5": "Hit Gray", "A1C50A": "Citrus", "A1DAD7": "Aqua Island", "A1E9DE": "Water Leaf", "A2006D": "Flirt", "A23B6C": "Rouge", "A26645": "Cape Palliser", "A2AAB3": "Gray Chateau", "A2AEAB": "Edward", "A3807B": "Pharlap", "A397B4": "Amethyst Smoke", "A3E3ED": "Blizzard Blue", "A4A49D": "Delta", "A4A6D3": "Wistful", "A4AF6E": "Green Smoke", "A50B5E": "Jazzberry Jam", "A59B91": "Zorba", "A5CB0C": "Bahia", "A62F20": "Roof Terracotta", "A65529": "Paarl", "A68B5B": "Barley Corn", "A69279": "Donkey Brown", "A6A29A": "Dawn", "A72525": "Mexican Red", "A7882C": "Luxor Gold", "A85307": "Rich Gold", "A86515": "Reno Sand", "A86B6B": "Coral Tree", "A8989B": "Dusty Gray", "A899E6": "Dull Lavender", "A8A589": "Tallow", "A8AE9C": "Bud", "A8AF8E": "Locust", "A8BD9F": "Norway", "A8E3BD": "Chinook", "A9A491": "Gray Olive", "A9ACB6": "Aluminium", "A9B2C3": "Cadet Blue", "A9B497": "Schist", "A9BDBF": "Tower Gray", "A9BEF2": "Perano", "A9C6C2": "Opal", "AA375A": "Night Shadz", "AA4203": "Fire", "AA8B5B": "Muesli", "AA8D6F": "Sandal", "AAA5A9": "Shady Lady", "AAA9CD": "Logan", "AAABB7": "Spun Pearl", "AAD6E6": "Regent St Blue", "AAF0D1": "Magic Mint", "AB0563": "Lipstick", "AB3472": "Royal Heath", "AB917A": "Sandrift", "ABA0D9": "Cold Purple", "ABA196": "Bronco", "AC8A56": "Limed Oak", "AC91CE": "East Side", "AC9E22": "Lemon Ginger", "ACA494": "Napa", "ACA586": "Hillary", "ACA59F": "Cloudy", "ACACAC": "Silver Chalice", "ACB78E": "Swamp Green", "ACCBB1": "Spring Rain", "ACDD4D": "Conifer", "ACE1AF": "Celadon", "AD781B": "Mandalay", "ADBED1": "Casper", "ADDFAD": "Moss Green", "ADE6C4": "Padua", "ADFF2F": "Green Yellow", "AE4560": "Hippie Pink", "AE6020": "Desert", "AE809E": "Bouquet", "AF4035": "Medium Carmine", "AF4D43": "Apple Blossom", "AF593E": "Brown Rust", "AF8751": "Driftwood", "AF8F2C": "Alpine", "AF9F1C": "Lucky", "AFA09E": "Martini", "AFB1B8": "Bombay", "AFBDD9": "Pigeon Post", "B04C6A": "Cadillac", "B05D54": "Matrix", "B05E81": "Tapestry", "B06608": "Mai Tai", "B09A95": "Del Rio", "B0E0E6": "Powder Blue", "B0E313": "Inch Worm", "B10000": "Bright Red", "B14A0B": "Vesuvius", "B1610B": "Pumpkin Skin", "B16D52": "Santa Fe", "B19461": "Teak", "B1E2C1": "Fringy Flower", "B1F4E7": "Ice Cold", "B20931": "Shiraz", "B2A1EA": "Biloba Flower", "B32D29": "Tall Poppy", "B35213": "Fiery Orange", "B38007": "Hot Toddy", "B3AF95": "Taupe Gray", "B3C110": "La Rioja", "B43332": "Well Read", "B44668": "Blush", "B4CFD3": "Jungle Mist", "B57281": "Turkish Rose", "B57EDC": "Lavender", "B5A27F": "Mongoose", "B5B35C": "Olive Green", "B5D2CE": "Jet Stream", "B5ECDF": "Cruise", "B6316C": "Hibiscus", "B69D98": "Thatch", "B6B095": "Heathered Gray", "B6BAA4": "Eagle", "B6D1EA": "Spindle", "B6D3BF": "Gum Leaf", "B7410E": "Rust", "B78E5C": "Muddy Waters", "B7A214": "Sahara", "B7A458": "Husk", "B7B1B1": "Nobel", "B7C3D0": "Heather", "B7F0BE": "Madang", "B81104": "Milano Red", "B87333": "Copper", "B8B56A": "Gimblet", "B8C1B1": "Green Spring", "B8C25D": "Celery", "B8E0F9": "Sail", "B94E48": "Chestnut", "B95140": "Crail", "B98D28": "Marigold", "B9C46A": "Wild Willow", "B9C8AC": "Rainee", "BA0101": "Guardsman Red", "BA450C": "Rock Spray", "BA6F1E": "Bourbon", "BA7F03": "Pirate Gold", "BAB1A2": "Nomad", "BAC7C9": "Submarine", "BAEEF9": "Charlotte", "BB3385": "Medium Red Violet", "BB8983": "Brandy Rose", "BBD009": "Rio Grande", "BBD7C1": "Surf", "BCC9C2": "Powder Ash", "BD5E2E": "Tuscany", "BD978E": "Quicksand", "BDB1A8": "Silk", "BDB2A1": "Malta", "BDB3C7": "Chatelle", "BDBBD7": "Lavender Gray", "BDBDC6": "French Gray", "BDC8B3": "Clay Ash", "BDC9CE": "Loblolly", "BDEDFD": "French Pass", "BEA6C3": "London Hue", "BEB5B7": "Pink Swan", "BEDE0D": "Fuego", "BF5500": "Rose of Sharon", "BFB8B0": "Tide", "BFBED8": "Blue Haze", "BFC1C2": "Silver Sand", "BFC921": "Key Lime Pie", "BFDBE2": "Ziggurat", "BFFF00": "Lime", "C02B18": "Thunderbird", "C04737": "Mojo", "C08081": "Old Rose", "C0C0C0": "Silver", "C0D3B9": "Pale Leaf", "C0D8B6": "Pixie Green", "C1440E": "Tia Maria", "C154C1": "Fuchsia Pink", "C1A004": "Buddha Gold", "C1B7A4": "Bison Hide", "C1BAB0": "Tea", "C1BECD": "Gray Suit", "C1D7B0": "Sprout", "C1F07C": "Sulu", "C26B03": "Indochine", "C2955D": "Twine", "C2BDB6": "Cotton Seed", "C2CAC4": "Pumice", "C2E8E5": "Jagged Ice", "C32148": "Maroon Flush", "C3B091": "Indian Khaki", "C3BFC1": "Pale Slate", "C3C3BD": "Gray Nickel", "C3CDE6": "Periwinkle Gray", "C3D1D1": "Tiara", "C3DDF9": "Tropical Blue", "C41E3A": "Cardinal", "C45655": "Fuzzy Wuzzy Brown", "C45719": "Orange Roughy", "C4C4BC": "Mist Gray", "C4D0B0": "Coriander", "C4F4EB": "Mint Tulip", "C54B8C": "Mulberry", "C59922": "Nugget", "C5994B": "Tussock", "C5DBCA": "Sea Mist", "C5E17A": "Yellow Green", "C62D42": "Brick Red", "C6726B": "Contessa", "C69191": "Oriental Pink", "C6A84B": "Roti", "C6C3B5": "Ash", "C6C8BD": "Kangaroo", "C6E610": "Las Palmas", "C7031E": "Monza", "C71585": "Red Violet", "C7BCA2": "Coral Reef", "C7C1FF": "Melrose", "C7C4BF": "Cloud", "C7C9D5": "Ghost", "C7CD90": "Pine Glade", "C7DDE5": "Botticelli", "C88A65": "Antique Brass", "C8A2C8": "Lilac", "C8A528": "Hokey Pokey", "C8AABF": "Lily", "C8B568": "Laser", "C8E3D7": "Edgewater", "C96323": "Piper", "C99415": "Pizza", "C9A0DC": "Light Wisteria", "C9B29B": "Rodeo Dust", "C9B35B": "Sundance", "C9B93B": "Earls Green", "C9C0BB": "Silver Rust", "C9D9D2": "Conch", "C9FFA2": "Reef", "C9FFE5": "Aero Blue", "CA3435": "Flush Mahogany", "CABB48": "Turmeric", "CADCD4": "Paris White", "CAE00D": "Bitter Lemon", "CAE6DA": "Skeptic", "CB8FA9": "Viola", "CBCAB6": "Foggy Gray", "CBD3B0": "Green Mist", "CBDBD6": "Nebula", "CC3333": "Persian Red", "CC5500": "Burnt Orange", "CC7722": "Ochre", "CC8899": "Puce", "CCCAA8": "Thistle Green", "CCCCFF": "Periwinkle", "CCFF00": "Electric Lime", "CD5700": "Tenn", "CD5C5C": "Chestnut Rose", "CD8429": "Brandy Punch", "CDF4FF": "Onahau", "CEB98F": "Sorrell Brown", "CEBABA": "Cold Turkey", "CEC291": "Yuma", "CEC7A7": "Chino", "CFA39D": "Eunry", "CFB53B": "Old Gold", "CFDCCF": "Tasman", "CFE5D2": "Surf Crest", "CFF9F3": "Humming Bird", "CFFAF4": "Scandal", "D05F04": "Red Stage", "D06DA1": "Hopbush", "D07D12": "Meteor", "D0BEF8": "Perfume", "D0C0E5": "Prelude", "D0F0C0": "Tea Green", "D18F1B": "Geebung", "D1BEA8": "Vanilla", "D1C6B4": "Soft Amber", "D1D2CA": "Celeste", "D1D2DD": "Mischka", "D1E231": "Pear", "D2691E": "Hot Cinnamon", "D27D46": "Raw Sienna", "D29EAA": "Careys Pink", "D2B48C": "Tan", "D2DA97": "Deco", "D2F6DE": "Blue Romance", "D2F8B0": "Gossip", "D3CBBA": "Sisal", "D3CDC5": "Swirl", "D47494": "Charm", "D4B6AF": "Clam Shell", "D4BF8D": "Straw", "D4C4A8": "Akaroa", "D4CD16": "Bird Flower", "D4D7D9": "Iron", "D4DFE2": "Geyser", "D4E2FC": "Hawkes Blue", "D54600": "Grenadier", "D591A4": "Can Can", "D59A6F": "Whiskey", "D5D195": "Winter Hazel", "D5F6E3": "Granny Apple", "D69188": "My Pink", "D6C562": "Tacha", "D6CEF6": "Moon Raker", "D6D6D1": "Quill Gray", "D6FFDB": "Snowy Mint", "D7837F": "New York Pink", "D7C498": "Pavlova", "D7D0FF": "Fog", "D84437": "Valencia", "D87C63": "Japonica", "D8BFD8": "Thistle", "D8C2D5": "Maverick", "D8FCFA": "Foam", "D94972": "Cabaret", "D99376": "Burning Sand", "D9B99B": "Cameo", "D9D6CF": "Timberwolf", "D9DCC1": "Tana", "D9E4F5": "Link Water", "D9F7FF": "Mabel", "DA3287": "Cerise", "DA5B38": "Flame Pea", "DA6304": "Bamboo", "DA6A41": "Red Damask", "DA70D6": "Orchid", "DA8A67": "Copperfield", "DAA520": "Golden Grass", "DAECD6": "Zanah", "DAF4F0": "Iceberg", "DAFAFF": "Oyster Bay", "DB5079": "Cranberry", "DB9690": "Petite Orchid", "DB995E": "Di Serria", "DBDBDB": "Alto", "DBFFF8": "Frosted Mint", "DC143C": "Crimson", "DC4333": "Punch", "DCB20C": "Galliano", "DCB4BC": "Blossom", "DCD747": "Wattle", "DCD9D2": "Westar", "DCDDCC": "Moon Mist", "DCEDB4": "Caper", "DCF0EA": "Swans Down", "DDD6D5": "Swiss Coffee", "DDF9F1": "White Ice", "DE3163": "Cerise Red", "DE6360": "Roman", "DEA681": "Tumbleweed", "DEBA13": "Gold Tips", "DEC196": "Brandy", "DECBC6": "Wafer", "DED4A4": "Sapling", "DED717": "Barberry", "DEE5C0": "Beryl Green", "DEF5FF": "Pattens Blue", "DF73FF": "Heliotrope", "DFBE6F": "Apache", "DFCD6F": "Chenin", "DFCFDB": "Lola", "DFECDA": "Willow Brook", "DFFF00": "Chartreuse Yellow", "E0B0FF": "Mauve", "E0B646": "Anzac", "E0B974": "Harvest Gold", "E0C095": "Calico", "E0FFFF": "Baby Blue", "E16865": "Sunglo", "E1BC64": "Equator", "E1C0C8": "Pink Flare", "E1E6D6": "Periglacial Blue", "E1EAD4": "Kidnapper", "E1F6E8": "Tara", "E25465": "Mandy", "E2725B": "Terracotta", "E28913": "Golden Bell", "E292C0": "Shocking", "E29418": "Dixie", "E29CD2": "Light Orchid", "E2D8ED": "Snuff", "E2EBED": "Mystic", "E2F3EC": "Apple Green", "E30B5C": "Razzmatazz", "E32636": "Alizarin Crimson", "E34234": "Cinnabar", "E3BEBE": "Cavern Pink", "E3F5E1": "Peppermint", "E3F988": "Mindaro", "E47698": "Deep Blush", "E49B0F": "Gamboge", "E4C2D5": "Melanie", "E4CFDE": "Twilight", "E4D1C0": "Bone", "E4D422": "Sunflower", "E4D5B7": "Grain Brown", "E4D69B": "Zombie", "E4F6E7": "Frostee", "E4FFD1": "Snow Flurry", "E52B50": "Amaranth", "E5841B": "Zest", "E5CCC9": "Dust Storm", "E5D7BD": "Stark White", "E5D8AF": "Hampton", "E5E0E1": "Bon Jour", "E5E5E5": "Mercury", "E5F9F6": "Polar", "E64E03": "Trinidad", "E6BE8A": "Gold Sand", "E6BEA5": "Cashmere", "E6D7B9": "Double Spanish White", "E6E4D4": "Satin Linen", "E6F2EA": "Harp", "E6F8F3": "Off Green", "E6FFE9": "Hint of Green", "E6FFFF": "Tranquil", "E77200": "Mango Tango", "E7730A": "Christine", "E79F8C": "Tonys Pink", "E79FC4": "Kobi", "E7BCB4": "Rose Fog", "E7BF05": "Corn", "E7CD8C": "Putty", "E7ECE6": "Gray Nurse", "E7F8FF": "Lily White", "E7FEFF": "Bubbles", "E89928": "Fire Bush", "E8B9B3": "Shilo", "E8E0D5": "Pearl Bush", "E8EBE0": "Green White", "E8F1D4": "Chrome White", "E8F2EB": "Gin", "E8F5F2": "Aqua Squeeze", "E96E00": "Clementine", "E97451": "Burnt Sienna", "E97C07": "Tahiti Gold", "E9CECD": "Oyster Pink", "E9D75A": "Confetti", "E9E3E3": "Ebb", "E9F8ED": "Ottoman", "E9FFFD": "Clear Day", "EA88A8": "Carissma", "EAAE69": "Porsche", "EAB33B": "Tulip Tree", "EAC674": "Rob Roy", "EADAB8": "Raffia", "EAE8D4": "White Rock", "EAF6EE": "Panache", "EAF6FF": "Solitude", "EAF9F5": "Aqua Spring", "EAFFFE": "Dew", "EB9373": "Apricot", "EBC2AF": "Zinnwaldite", "ECA927": "Fuel Yellow", "ECC54E": "Ronchi", "ECC7EE": "French Lilac", "ECCDB9": "Just Right", "ECE090": "Wild Rice", "ECEBBD": "Fall Green", "ECEBCE": "Aths Special", "ECF245": "Starship", "ED0A3F": "Red Ribbon", "ED7A1C": "Tango", "ED9121": "Carrot Orange", "ED989E": "Sea Pink", "EDB381": "Tacao", "EDC9AF": "Desert Sand", "EDCDAB": "Pancho", "EDDCB1": "Chamois", "EDEA99": "Primrose", "EDF5DD": "Frost", "EDF5F5": "Aqua Haze", "EDF6FF": "Zumthor", "EDF9F1": "Narvik", "EDFC84": "Honeysuckle", "EE82EE": "Lavender Magenta", "EEC1BE": "Beauty Bush", "EED794": "Chalky", "EED9C4": "Almond", "EEDC82": "Flax", "EEDEDA": "Bizarre", "EEE3AD": "Double Colonial White", "EEEEE8": "Cararra", "EEEF78": "Manz", "EEF0C8": "Tahuna Sands", "EEF0F3": "Athens Gray", "EEF3C3": "Tusk", "EEF4DE": "Loafer", "EEF6F7": "Catskill White", "EEFDFF": "Twilight Blue", "EEFF9A": "Jonquil", "EEFFE2": "Rice Flower", "EF863F": "Jaffa", "EFEFEF": "Gallery", "EFF2F3": "Porcelain", "F091A9": "Mauvelous", "F0D52D": "Golden Dream", "F0DB7D": "Golden Sand", "F0DC82": "Buff", "F0E2EC": "Prim", "F0E68C": "Khaki", "F0EEFD": "Selago", "F0EEFF": "Titan White", "F0F8FF": "Alice Blue", "F0FCEA": "Feta", "F18200": "Gold Drop", "F19BAB": "Wewak", "F1E788": "Sahara Sand", "F1E9D2": "Parchment", "F1E9FF": "Blue Chalk", "F1EEC1": "Mint Julep", "F1F1F1": "Seashell", "F1F7F2": "Saltpan", "F1FFAD": "Tidal", "F1FFC8": "Chiffon", "F2552A": "Flamingo", "F28500": "Tangerine", "F2C3B2": "Mandys Pink", "F2F2F2": "Concrete", "F2FAFA": "Black Squeeze", "F34723": "Pomegranate", "F3AD16": "Buttercup", "F3D69D": "New Orleans", "F3D9DF": "Vanilla Ice", "F3E7BB": "Sidecar", "F3E9E5": "Dawn Pink", "F3EDCF": "Wheatfield", "F3FB62": "Canary", "F3FBD4": "Orinoco", "F3FFD8": "Carla", "F400A1": "Hollywood Cerise", "F4A460": "Sandy brown", "F4C430": "Saffron", "F4D81C": "Ripe Lemon", "F4EBD3": "Janna", "F4F2EE": "Pampas", "F4F4F4": "Wild Sand", "F4F8FF": "Zircon", "F57584": "Froly", "F5C85C": "Cream Can", "F5C999": "Manhattan", "F5D5A0": "Maize", "F5DEB3": "Wheat", "F5E7A2": "Sandwisp", "F5E7E2": "Pot Pourri", "F5E9D3": "Albescent White", "F5EDEF": "Soft Peach", "F5F3E5": "Ecru White", "F5F5DC": "Beige", "F5FB3D": "Golden Fizz", "F5FFBE": "Australian Mint", "F64A8A": "French Rose", "F653A6": "Brilliant Rose", "F6A4C9": "Illusion", "F6F0E6": "Merino", "F6F7F7": "Black Haze", "F6FFDC": "Spring Sun", "F7468A": "Violet Red", "F77703": "Chilean Fire", "F77FBE": "Persian Pink", "F7B668": "Rajah", "F7C8DA": "Azalea", "F7DBE6": "We Peep", "F7F2E1": "Quarter Spanish White", "F7F5FA": "Whisper", "F7FAF7": "Snow Drift", "F8B853": "Casablanca", "F8C3DF": "Chantilly", "F8D9E9": "Cherub", "F8DB9D": "Marzipan", "F8DD5C": "Energy Yellow", "F8E4BF": "Givry", "F8F0E8": "White Linen", "F8F4FF": "Magnolia", "F8F6F1": "Spring Wood", "F8F7DC": "Coconut Cream", "F8F7FC": "White Lilac", "F8F8F7": "Desert Storm", "F8F99C": "Texas", "F8FACD": "Corn Field", "F8FDD3": "Mimosa", "F95A61": "Carnation", "F9BF58": "Saffron Mango", "F9E0ED": "Carousel Pink", "F9E4BC": "Dairy Cream", "F9E663": "Portica", "F9EAF3": "Amour", "F9F8E4": "Rum Swizzle", "F9FF8B": "Dolly", "F9FFF6": "Sugar Cane", "FA7814": "Ecstasy", "FA9D5A": "Tan Hide", "FAD3A2": "Corvette", "FADFAD": "Peach Yellow", "FAE600": "Turbo", "FAEAB9": "Astra", "FAECCC": "Champagne", "FAF0E6": "Linen", "FAF3F0": "Fantasy", "FAF7D6": "Citrine White", "FAFAFA": "Alabaster", "FAFDE4": "Hint of Yellow", "FAFFA4": "Milan", "FB607F": "Brink Pink", "FB8989": "Geraldine", "FBA0E3": "Lavender Rose", "FBA129": "Sea Buckthorn", "FBAC13": "Sun", "FBAED2": "Lavender Pink", "FBB2A3": "Rose Bud", "FBBEDA": "Cupid", "FBCCE7": "Classic Rose", "FBCEB1": "Apricot Peach", "FBE7B2": "Banana Mania", "FBE870": "Marigold Yellow", "FBE96C": "Festival", "FBEA8C": "Sweet Corn", "FBEC5D": "Candy Corn", "FBF9F9": "Hint of Red", "FBFFBA": "Shalimar", "FC0FC0": "Shocking Pink", "FC80A5": "Tickle Me Pink", "FC9C1D": "Tree Poppy", "FCC01E": "Lightning Yellow", "FCD667": "Goldenrod", "FCD917": "Candlelight", "FCDA98": "Cherokee", "FCF4D0": "Double Pearl Lusta", "FCF4DC": "Pearl Lusta", "FCF8F7": "Vista White", "FCFBF3": "Bianca", "FCFEDA": "Moon Glow", "FCFFE7": "China Ivory", "FCFFF9": "Ceramic", "FD0E35": "Torch Red", "FD5B78": "Wild Watermelon", "FD7B33": "Crusta", "FD7C07": "Sorbus", "FD9FA2": "Sweet Pink", "FDD5B1": "Light Apricot", "FDD7E4": "Pig Pink", "FDE1DC": "Cinderella", "FDE295": "Golden Glow", "FDE910": "Lemon", "FDF5E6": "Old Lace", "FDF6D3": "Half Colonial White", "FDF7AD": "Drover", "FDFEB8": "Pale Prim", "FDFFD5": "Cumulus", "FE28A2": "Persian Rose", "FE4C40": "Sunset Orange", "FE6F5E": "Bittersweet", "FE9D04": "California", "FEA904": "Yellow Sea", "FEBAAD": "Melon", "FED33C": "Bright Sun", "FED85D": "Dandelion", "FEDB8D": "Salomie", "FEE5AC": "Cape Honey", "FEEBF3": "Remy", "FEEFCE": "Oasis", "FEF0EC": "Bridesmaid", "FEF2C7": "Beeswax", "FEF3D8": "Bleach White", "FEF4CC": "Pipi", "FEF4DB": "Half Spanish White", "FEF4F8": "Wisp Pink", "FEF5F1": "Provincial Pink", "FEF7DE": "Half Dutch White", "FEF8E2": "Solitaire", "FEF8FF": "White Pointer", "FEF9E3": "Off Yellow", "FEFCED": "Orange White", "FF0000": "Red", "FF007F": "Rose", "FF00CC": "Purple Pizzazz", "FF00FF": "Magenta / Fuchsia", "FF2400": "Scarlet", "FF3399": "Wild Strawberry", "FF33CC": "Razzle Dazzle Rose", "FF355E": "Radical Red", "FF3F34": "Red Orange", "FF4040": "Coral Red", "FF4D00": "Vermilion", "FF4F00": "International Orange", "FF6037": "Outrageous Orange", "FF6600": "Blaze Orange", "FF66FF": "Pink Flamingo", "FF681F": "Orange", "FF69B4": "Hot Pink", "FF6B53": "Persimmon", "FF6FFF": "Blush Pink", "FF7034": "Burning Orange", "FF7518": "Pumpkin", "FF7D07": "Flamenco", "FF7F00": "Flush Orange", "FF7F50": "Coral", "FF8C69": "Salmon", "FF9000": "Pizazz", "FF910F": "West Side", "FF91A4": "Pink Salmon", "FF9933": "Neon Carrot", "FF9966": "Atomic Tangerine", "FF9980": "Vivid Tangerine", "FF9E2C": "Sunshade", "FFA000": "Orange Peel", "FFA194": "Mona Lisa", "FFA500": "Web Orange", "FFA6C9": "Carnation Pink", "FFAB81": "Hit Pink", "FFAE42": "Yellow Orange", "FFB0AC": "Cornflower Lilac", "FFB1B3": "Sundown", "FFB31F": "My Sin", "FFB555": "Texas Rose", "FFB7D5": "Cotton Candy", "FFB97B": "Macaroni and Cheese", "FFBA00": "Selective Yellow", "FFBD5F": "Koromiko", "FFBF00": "Amber", "FFC0A8": "Wax Flower", "FFC0CB": "Pink", "FFC3C0": "Your Pink", "FFC901": "Supernova", "FFCBA4": "Flesh", "FFCC33": "Sunglow", "FFCC5C": "Golden Tainoi", "FFCC99": "Peach Orange", "FFCD8C": "Chardonnay", "FFD1DC": "Pastel Pink", "FFD2B7": "Romantic", "FFD38C": "Grandis", "FFD700": "Gold", "FFD800": "School bus Yellow", "FFD8D9": "Cosmos", "FFDB58": "Mustard", "FFDCD6": "Peach Schnapps", "FFDDAF": "Caramel", "FFDDCD": "Tuft Bush", "FFDDCF": "Watusi", "FFDDF4": "Pink Lace", "FFDEAD": "Navajo White", "FFDEB3": "Frangipani", "FFE1DF": "Pippin", "FFE1F2": "Pale Rose", "FFE2C5": "Negroni", "FFE5A0": "Cream Brulee", "FFE5B4": "Peach", "FFE6C7": "Tequila", "FFE772": "Kournikova", "FFEAC8": "Sandy Beach", "FFEAD4": "Karry", "FFEC13": "Broom", "FFEDBC": "Colonial White", "FFEED8": "Derby", "FFEFA1": "Vis Vis", "FFEFC1": "Egg White", "FFEFD5": "Papaya Whip", "FFEFEC": "Fair Pink", "FFF0DB": "Peach Cream", "FFF0F5": "Lavender blush", "FFF14F": "Gorse", "FFF1B5": "Buttermilk", "FFF1D8": "Pink Lady", "FFF1EE": "Forget Me Not", "FFF1F9": "Tutu", "FFF39D": "Picasso", "FFF3F1": "Chardon", "FFF46E": "Paris Daisy", "FFF4CE": "Barley White", "FFF4DD": "Egg Sour", "FFF4E0": "Sazerac", "FFF4E8": "Serenade", "FFF4F3": "Chablis", "FFF5EE": "Seashell Peach", "FFF5F3": "Sauvignon", "FFF6D4": "Milk Punch", "FFF6DF": "Varden", "FFF6F5": "Rose White", "FFF8D1": "Baja White", "FFF9E2": "Gin Fizz", "FFF9E6": "Early Dawn", "FFFACD": "Lemon Chiffon", "FFFAF4": "Bridal Heath", "FFFBDC": "Scotch Mist", "FFFBF9": "Soapstone", "FFFC99": "Witch Haze", "FFFCEA": "Buttery White", "FFFCEE": "Island Spice", "FFFDD0": "Cream", "FFFDE6": "Chilean Heath", "FFFDE8": "Travertine", "FFFDF3": "Orchid White", "FFFDF4": "Quarter Pearl Lusta", "FFFEE1": "Half and Half", "FFFEEC": "Apricot White", "FFFEF0": "Rice Cake", "FFFEF6": "Black White", "FFFEFD": "Romance", "FFFF00": "Yellow", "FFFF66": "Laser Lemon", "FFFF99": "Pale Canary", "FFFFB4": "Portafino", "FFFFF0": "Ivory", "FFFFFF": "White" }
names: {'000000': 'Black', '000080': 'Navy Blue', '0000C8': 'Dark Blue', '0000FF': 'Blue', '000741': 'Stratos', '001B1C': 'Swamp', '002387': 'Resolution Blue', '002900': 'Deep Fir', '002E20': 'Burnham', '002FA7': 'International Klein Blue', '003153': 'Prussian Blue', '003366': 'Midnight Blue', '003399': 'Smalt', '003532': 'Deep Teal', '003E40': 'Cyprus', '004620': 'Kaitoke Green', '0047AB': 'Cobalt', '004816': 'Crusoe', '004950': 'Sherpa Blue', '0056A7': 'Endeavour', '00581A': 'Camarone', '0066CC': 'Science Blue', '0066FF': 'Blue Ribbon', '00755E': 'Tropical Rain Forest', '0076A3': 'Allports', '007BA7': 'Deep Cerulean', '007EC7': 'Lochmara', '007FFF': 'Azure Radiance', '008080': 'Teal', '0095B6': 'Bondi Blue', '009DC4': 'Pacific Blue', '00A693': 'Persian Green', '00A86B': 'Jade', '00CC99': 'Caribbean Green', '00CCCC': "Robin's Egg Blue", '00FF00': 'Green', '00FF7F': 'Spring Green', '00FFFF': 'Cyan / Aqua', '010D1A': 'Blue Charcoal', '011635': 'Midnight', '011D13': 'Holly', '012731': 'Daintree', '01361C': 'Cardin Green', '01371A': 'County Green', '013E62': 'Astronaut Blue', '013F6A': 'Regal Blue', '014B43': 'Aqua Deep', '015E85': 'Orient', '016162': 'Blue Stone', '016D39': 'Fun Green', '01796F': 'Pine Green', '017987': 'Blue Lagoon', '01826B': 'Deep Sea', '01A368': 'Green Haze', '022D15': 'English Holly', '02402C': 'Sherwood Green', '02478E': 'Congress Blue', '024E46': 'Evening Sea', '026395': 'Bahama Blue', '02866F': 'Observatory', '02A4D3': 'Cerulean', '03163C': 'Tangaroa', '032B52': 'Green Vogue', '036A6E': 'Mosque', '041004': 'Midnight Moss', '041322': 'Black Pearl', '042E4C': 'Blue Whale', '044022': 'Zuccini', '044259': 'Teal Blue', '051040': 'Deep Cove', '051657': 'Gulf Blue', '055989': 'Venice Blue', '056F57': 'Watercourse', '062A78': 'Catalina Blue', '063537': 'Tiber', '069B81': 'Gossamer', '06A189': 'Niagara', '073A50': 'Tarawera', '080110': 'Jaguar', '081910': 'Black Bean', '082567': 'Deep Sapphire', '088370': 'Elf Green', '08E8DE': 'Bright Turquoise', '092256': 'Downriver', '09230F': 'Palm Green', '09255D': 'Madison', '093624': 'Bottle Green', '095859': 'Deep Sea Green', '097F4B': 'Salem', '0A001C': 'Black Russian', '0A480D': 'Dark Fern', '0A6906': 'Japanese Laurel', '0A6F75': 'Atoll', '0B0B0B': 'Cod Gray', '0B0F08': 'Marshland', '0B1107': 'Gordons Green', '0B1304': 'Black Forest', '0B6207': 'San Felix', '0BDA51': 'Malachite', '0C0B1D': 'Ebony', '0C0D0F': 'Woodsmoke', '0C1911': 'Racing Green', '0C7A79': 'Surfie Green', '0C8990': 'Blue Chill', '0D0332': 'Black Rock', '0D1117': 'Bunker', '0D1C19': 'Aztec', '0D2E1C': 'Bush', '0E0E18': 'Cinder', '0E2A30': 'Firefly', '0F2D9E': 'Torea Bay', '10121D': 'Vulcan', '101405': 'Green Waterloo', '105852': 'Eden', '110C6C': 'Arapawa', '120A8F': 'Ultramarine', '123447': 'Elephant', '126B40': 'Jewel', '130000': 'Diesel', '130A06': 'Asphalt', '13264D': 'Blue Zodiac', '134F19': 'Parsley', '140600': 'Nero', '1450AA': 'Tory Blue', '151F4C': 'Bunting', '1560BD': 'Denim', '15736B': 'Genoa', '161928': 'Mirage', '161D10': 'Hunter Green', '162A40': 'Big Stone', '163222': 'Celtic', '16322C': 'Timber Green', '163531': 'Gable Green', '171F04': 'Pine Tree', '175579': 'Chathams Blue', '182D09': 'Deep Forest Green', '18587A': 'Blumine', '19330E': 'Palm Leaf', '193751': 'Nile Blue', '1959A8': 'Fun Blue', '1A1A68': 'Lucky Point', '1AB385': 'Mountain Meadow', '1B0245': 'Tolopea', '1B1035': 'Haiti', '1B127B': 'Deep Koamaru', '1B1404': 'Acadia', '1B2F11': 'Seaweed', '1B3162': 'Biscay', '1B659D': 'Matisse', '1C1208': 'Crowshead', '1C1E13': 'Rangoon Green', '1C39BB': 'Persian Blue', '1C402E': 'Everglade', '1C7C7D': 'Elm', '1D6142': 'Green Pea', '1E0F04': 'Creole', '1E1609': 'Karaka', '1E1708': 'El Paso', '1E385B': 'Cello', '1E433C': 'Te Papa Green', '1E90FF': 'Dodger Blue', '1E9AB0': 'Eastern Blue', '1F120F': 'Night Rider', '1FC2C2': 'Java', '20208D': 'Jacksons Purple', '202E54': 'Cloud Burst', '204852': 'Blue Dianne', '211A0E': 'Eternity', '220878': 'Deep Blue', '228B22': 'Forest Green', '233418': 'Mallard', '240A40': 'Violet', '240C02': 'Kilamanjaro', '242A1D': 'Log Cabin', '242E16': 'Black Olive', '24500F': 'Green House', '251607': 'Graphite', '251706': 'Cannon Black', '251F4F': 'Port Gore', '25272C': 'Shark', '25311C': 'Green Kelp', '2596D1': 'Curious Blue', '260368': 'Paua', '26056A': 'Paris M', '261105': 'Wood Bark', '261414': 'Gondola', '262335': 'Steel Gray', '26283B': 'Ebony Clay', '273A81': 'Bay of Many', '27504B': 'Plantation', '278A5B': 'Eucalyptus', '281E15': 'Oil', '283A77': 'Astronaut', '286ACD': 'Mariner', '290C5E': 'Violent Violet', '292130': 'Bastille', '292319': 'Zeus', '292937': 'Charade', '297B9A': 'Jelly Bean', '29AB87': 'Jungle Green', '2A0359': 'Cherry Pie', '2A140E': 'Coffee Bean', '2A2630': 'Baltic Sea', '2A380B': 'Turtle Green', '2A52BE': 'Cerulean Blue', '2B0202': 'Sepia Black', '2B194F': 'Valhalla', '2B3228': 'Heavy Metal', '2C0E8C': 'Blue Gem', '2C1632': 'Revolver', '2C2133': 'Bleached Cedar', '2C8C84': 'Lochinvar', '2D2510': 'Mikado', '2D383A': 'Outer Space', '2D569B': 'St Tropaz', '2E0329': 'Jacaranda', '2E1905': 'Jacko Bean', '2E3222': 'Rangitoto', '2E3F62': 'Rhino', '2E8B57': 'Sea Green', '2EBFD4': 'Scooter', '2F270E': 'Onion', '2F3CB3': 'Governor Bay', '2F519E': 'Sapphire', '2F5A57': 'Spectra', '2F6168': 'Casal', '300529': 'Melanzane', '301F1E': 'Cocoa Brown', '302A0F': 'Woodrush', '304B6A': 'San Juan', '30D5C8': 'Turquoise', '311C17': 'Eclipse', '314459': 'Pickled Bluewood', '315BA1': 'Azure', '31728D': 'Calypso', '317D82': 'Paradiso', '32127A': 'Persian Indigo', '32293A': 'Blackcurrant', '323232': 'Mine Shaft', '325D52': 'Stromboli', '327C14': 'Bilbao', '327DA0': 'Astral', '33036B': 'Christalle', '33292F': 'Thunder', '33CC99': 'Shamrock', '341515': 'Tamarind', '350036': 'Mardi Gras', '350E42': 'Valentino', '350E57': 'Jagger', '353542': 'Tuna', '354E8C': 'Chambray', '363050': 'Martinique', '363534': 'Tuatara', '363C0D': 'Waiouru', '36747D': 'Ming', '368716': 'La Palma', '370202': 'Chocolate', '371D09': 'Clinker', '37290E': 'Brown Tumbleweed', '373021': 'Birch', '377475': 'Oracle', '380474': 'Blue Diamond', '381A51': 'Grape', '383533': 'Dune', '384555': 'Oxford Blue', '384910': 'Clover', '394851': 'Limed Spruce', '396413': 'Dell', '3A0020': 'Toledo', '3A2010': 'Sambuca', '3A2A6A': 'Jacarta', '3A686C': 'William', '3A6A47': 'Killarney', '3AB09E': 'Keppel', '3B000B': 'Temptress', '3B0910': 'Aubergine', '3B1F1F': 'Jon', '3B2820': 'Treehouse', '3B7A57': 'Amazon', '3B91B4': 'Boston Blue', '3C0878': 'Windsor', '3C1206': 'Rebel', '3C1F76': 'Meteorite', '3C2005': 'Dark Ebony', '3C3910': 'Camouflage', '3C4151': 'Bright Gray', '3C4443': 'Cape Cod', '3C493A': 'Lunar Green', '3D0C02': 'Bean ', '3D2B1F': 'Bistre', '3D7D52': 'Goblin', '3E0480': 'Kingfisher Daisy', '3E1C14': 'Cedar', '3E2B23': 'English Walnut', '3E2C1C': 'Black Marlin', '3E3A44': 'Ship Gray', '3EABBF': 'Pelorous', '3F2109': 'Bronze', '3F2500': 'Cola', '3F3002': 'Madras', '3F307F': 'Minsk', '3F4C3A': 'Cabbage Pont', '3F583B': 'Tom Thumb', '3F5D53': 'Mineral Green', '3FC1AA': 'Puerto Rico', '3FFF00': 'Harlequin', '401801': 'Brown Pod', '40291D': 'Cork', '403B38': 'Masala', '403D19': 'Thatch Green', '405169': 'Fiord', '40826D': 'Viridian', '40A860': 'Chateau Green', '410056': 'Ripe Plum', '411F10': 'Paco', '412010': 'Deep Oak', '413C37': 'Merlin', '414257': 'Gun Powder', '414C7D': 'East Bay', '4169E1': 'Royal Blue', '41AA78': 'Ocean Green', '420303': 'Burnt Maroon', '423921': 'Lisbon Brown', '427977': 'Faded Jade', '431560': 'Scarlet Gum', '433120': 'Iroko', '433E37': 'Armadillo', '434C59': 'River Bed', '436A0D': 'Green Leaf', '44012D': 'Barossa', '441D00': 'Morocco Brown', '444954': 'Mako', '454936': 'Kelp', '456CAC': 'San Marino', '45B1E8': 'Picton Blue', '460B41': 'Loulou', '462425': 'Crater Brown', '465945': 'Gray Asparagus', '4682B4': 'Steel Blue', '480404': 'Rustic Red', '480607': 'Bulgarian Rose', '480656': 'Clairvoyant', '481C1C': 'Cocoa Bean', '483131': 'Woody Brown', '483C32': 'Taupe', '49170C': 'Van Cleef', '492615': 'Brown Derby', '49371B': 'Metallic Bronze', '495400': 'Verdun Green', '496679': 'Blue Bayoux', '497183': 'Bismark', '4A2A04': 'Bracken', '4A3004': 'Deep Bronze', '4A3C30': 'Mondo', '4A4244': 'Tundora', '4A444B': 'Gravel', '4A4E5A': 'Trout', '4B0082': 'Pigment Indigo', '4B5D52': 'Nandor', '4C3024': 'Saddle', '4C4F56': 'Abbey', '4D0135': 'Blackberry', '4D0A18': 'Cab Sav', '4D1E01': 'Indian Tan', '4D282D': 'Cowboy', '4D282E': 'Livid Brown', '4D3833': 'Rock', '4D3D14': 'Punga', '4D400F': 'Bronzetone', '4D5328': 'Woodland', '4E0606': 'Mahogany', '4E2A5A': 'Bossanova', '4E3B41': 'Matterhorn', '4E420C': 'Bronze Olive', '4E4562': 'Mulled Wine', '4E6649': 'Axolotl', '4E7F9E': 'Wedgewood', '4EABD1': 'Shakespeare', '4F1C70': 'Honey Flower', '4F2398': 'Daisy Bush', '4F69C6': 'Indigo', '4F7942': 'Fern Green', '4F9D5D': 'Fruit Salad', '4FA83D': 'Apple', '504351': 'Mortar', '507096': 'Kashmir Blue', '507672': 'Cutty Sark', '50C878': 'Emerald', '514649': 'Emperor', '516E3D': 'Chalet Green', '517C66': 'Como', '51808F': 'Smalt Blue', '52001F': 'Castro', '520C17': 'Maroon Oak', '523C94': 'Gigas', '533455': 'Voodoo', '534491': 'Victoria', '53824B': 'Hippie Green', '541012': 'Heath', '544333': 'Judge Gray', '54534D': 'Fuscous Gray', '549019': 'Vida Loca', '55280C': 'Cioccolato', '555B10': 'Saratoga', '556D56': 'Finlandia', '5590D9': 'Havelock Blue', '56B4BE': 'Fountain Blue', '578363': 'Spring Leaves', '583401': 'Saddle Brown', '585562': 'Scarpa Flow', '587156': 'Cactus', '589AAF': 'Hippie Blue', '591D35': 'Wine Berry', '592804': 'Brown Bramble', '593737': 'Congo Brown', '594433': 'Millbrook', '5A6E9C': 'Waikawa Gray', '5A87A0': 'Horizon', '5B3013': 'Jambalaya', '5C0120': 'Bordeaux', '5C0536': 'Mulberry Wood', '5C2E01': 'Carnaby Tan', '5C5D75': 'Comet', '5D1E0F': 'Redwood', '5D4C51': 'Don Juan', '5D5C58': 'Chicago', '5D5E37': 'Verdigris', '5D7747': 'Dingley', '5DA19F': 'Breaker Bay', '5E483E': 'Kabul', '5E5D3B': 'Hemlock', '5F3D26': 'Irish Coffee', '5F5F6E': 'Mid Gray', '5F6672': 'Shuttle Gray', '5FA777': 'Aqua Forest', '5FB3AC': 'Tradewind', '604913': 'Horses Neck', '605B73': 'Smoky', '606E68': 'Corduroy', '6093D1': 'Danube', '612718': 'Espresso', '614051': 'Eggplant', '615D30': 'Costa Del Sol', '61845F': 'Glade Green', '622F30': 'Buccaneer', '623F2D': 'Quincy', '624E9A': 'Butterfly Bush', '625119': 'West Coast', '626649': 'Finch', '639A8F': 'Patina', '63B76C': 'Fern', '6456B7': 'Blue Violet', '646077': 'Dolphin', '646463': 'Storm Dust', '646A54': 'Siam', '646E75': 'Nevada', '6495ED': 'Cornflower Blue', '64CCDB': 'Viking', '65000B': 'Rosewood', '651A14': 'Cherrywood', '652DC1': 'Purple Heart', '657220': 'Fern Frond', '65745D': 'Willow Grove', '65869F': 'Hoki', '660045': 'Pompadour', '660099': 'Purple', '66023C': 'Tyrian Purple', '661010': 'Dark Tan', '66B58F': 'Silver Tree', '66FF00': 'Bright Green', '66FF66': "Screamin' Green", '67032D': 'Black Rose', '675FA6': 'Scampi', '676662': 'Ironside Gray', '678975': 'Viridian Green', '67A712': 'Christi', '683600': 'Nutmeg Wood Finish', '685558': 'Zambezi', '685E6E': 'Salt Box', '692545': 'Tawny Port', '692D54': 'Finn', '695F62': 'Scorpion', '697E9A': 'Lynch', '6A442E': 'Spice', '6A5D1B': 'Himalaya', '6A6051': 'Soya Bean', '6B2A14': 'Hairy Heath', '6B3FA0': 'Royal Purple', '6B4E31': 'Shingle Fawn', '6B5755': 'Dorado', '6B8BA2': 'Bermuda Gray', '6B8E23': 'Olive Drab', '6C3082': 'Eminence', '6CDAE7': 'Turquoise Blue', '6D0101': 'Lonestar', '6D5E54': 'Pine Cone', '6D6C6C': 'Dove Gray', '6D9292': 'Juniper', '6D92A1': 'Gothic', '6E0902': 'Red Oxide', '6E1D14': 'Moccaccino', '6E4826': 'Pickled Bean', '6E4B26': 'Dallas', '6E6D57': 'Kokoda', '6E7783': 'Pale Sky', '6F440C': 'Cafe Royale', '6F6A61': 'Flint', '6F8E63': 'Highland', '6F9D02': 'Limeade', '6FD0C5': 'Downy', '701C1C': 'Persian Plum', '704214': 'Sepia', '704A07': 'Antique Bronze', '704F50': 'Ferra', '706555': 'Coffee', '708090': 'Slate Gray', '711A00': 'Cedar Wood Finish', '71291D': 'Metallic Copper', '714693': 'Affair', '714AB2': 'Studio', '715D47': 'Tobacco Brown', '716338': 'Yellow Metal', '716B56': 'Peat', '716E10': 'Olivetone', '717486': 'Storm Gray', '718080': 'Sirocco', '71D9E2': 'Aquamarine Blue', '72010F': 'Venetian Red', '724A2F': 'Old Copper', '726D4E': 'Go Ben', '727B89': 'Raven', '731E8F': 'Seance', '734A12': 'Raw Umber', '736C9F': 'Kimberly', '736D58': 'Crocodile', '737829': 'Crete', '738678': 'Xanadu', '74640D': 'Spicy Mustard', '747D63': 'Limed Ash', '747D83': 'Rolling Stone', '748881': 'Blue Smoke', '749378': 'Laurel', '74C365': 'Mantis', '755A57': 'Russett', '7563A8': 'Deluge', '76395D': 'Cosmic', '7666C6': 'Blue Marguerite', '76BD17': 'Lima', '76D7EA': 'Sky Blue', '770F05': 'Dark Burgundy', '771F1F': 'Crown of Thorns', '773F1A': 'Walnut', '776F61': 'Pablo', '778120': 'Pacifika', '779E86': 'Oxley', '77DD77': 'Pastel Green', '780109': 'Japanese Maple', '782D19': 'Mocha', '782F16': 'Peanut', '78866B': 'Camouflage Green', '788A25': 'Wasabi', '788BBA': 'Ship Cove', '78A39C': 'Sea Nymph', '795D4C': 'Roman Coffee', '796878': 'Old Lavender', '796989': 'Rum', '796A78': 'Fedora', '796D62': 'Sandstone', '79DEEC': 'Spray', '7A013A': 'Siren', '7A58C1': 'Fuchsia Blue', '7A7A7A': 'Boulder', '7A89B8': 'Wild Blue Yonder', '7AC488': 'De York', '7B3801': 'Red Beech', '7B3F00': 'Cinnamon', '7B6608': 'Yukon Gold', '7B7874': 'Tapa', '7B7C94': 'Waterloo ', '7B8265': 'Flax Smoke', '7B9F80': 'Amulet', '7BA05B': 'Asparagus', '7C1C05': 'Kenyan Copper', '7C7631': 'Pesto', '7C778A': 'Topaz', '7C7B7A': 'Concord', '7C7B82': 'Jumbo', '7C881A': 'Trendy Green', '7CA1A6': 'Gumbo', '7CB0A1': 'Acapulco', '7CB7BB': 'Neptune', '7D2C14': 'Pueblo', '7DA98D': 'Bay Leaf', '7DC8F7': 'Malibu', '7DD8C6': 'Bermuda', '7E3A15': 'Copper Canyon', '7F1734': 'Claret', '7F3A02': 'Peru Tan', '7F626D': 'Falcon', '7F7589': 'Mobster', '7F76D3': 'Moody Blue', '7FFF00': 'Chartreuse', '7FFFD4': 'Aquamarine', '800000': 'Maroon', '800B47': 'Rose Bud Cherry', '801818': 'Falu Red', '80341F': 'Red Robin', '803790': 'Vivid Violet', '80461B': 'Russet', '807E79': 'Friar Gray', '808000': 'Olive', '808080': 'Gray', '80B3AE': 'Gulf Stream', '80B3C4': 'Glacier', '80CCEA': 'Seagull', '81422C': 'Nutmeg', '816E71': 'Spicy Pink', '817377': 'Empress', '819885': 'Spanish Green', '826F65': 'Sand Dune', '828685': 'Gunsmoke', '828F72': 'Battleship Gray', '831923': 'Merlot', '837050': 'Shadow', '83AA5D': 'Chelsea Cucumber', '83D0C6': 'Monte Carlo', '843179': 'Plum', '84A0A0': 'Granny Smith', '8581D9': 'Chetwode Blue', '858470': 'Bandicoot', '859FAF': 'Bali Hai', '85C4CC': 'Half Baked', '860111': 'Red Devil', '863C3C': 'Lotus', '86483C': 'Ironstone', '864D1E': 'Bull Shot', '86560A': 'Rusty Nail', '868974': 'Bitter', '86949F': 'Regent Gray', '871550': 'Disco', '87756E': 'Americano', '877C7B': 'Hurricane', '878D91': 'Oslo Gray', '87AB39': 'Sushi', '885342': 'Spicy Mix', '886221': 'Kumera', '888387': 'Suva Gray', '888D65': 'Avocado', '893456': 'Camelot', '893843': 'Solid Pink', '894367': 'Cannon Pink', '897D6D': 'Makara', '8A3324': 'Burnt Umber', '8A73D6': 'True V', '8A8360': 'Clay Creek', '8A8389': 'Monsoon', '8A8F8A': 'Stack', '8AB9F1': 'Jordy Blue', '8B00FF': 'Electric Violet', '8B0723': 'Monarch', '8B6B0B': 'Corn Harvest', '8B8470': 'Olive Haze', '8B847E': 'Schooner', '8B8680': 'Natural Gray', '8B9C90': 'Mantle', '8B9FEE': 'Portage', '8BA690': 'Envy', '8BA9A5': 'Cascade', '8BE6D8': 'Riptide', '8C055E': 'Cardinal Pink', '8C472F': 'Mule Fawn', '8C5738': 'Potters Clay', '8C6495': 'Trendy Pink', '8D0226': 'Paprika', '8D3D38': 'Sanguine Brown', '8D3F3F': 'Tosca', '8D7662': 'Cement', '8D8974': 'Granite Green', '8D90A1': 'Manatee', '8DA8CC': 'Polo Blue', '8E0000': 'Red Berry', '8E4D1E': 'Rope', '8E6F70': 'Opium', '8E775E': 'Domino', '8E8190': 'Mamba', '8EABC1': 'Nepal', '8F021C': 'Pohutukawa', '8F3E33': 'El Salva', '8F4B0E': 'Korma', '8F8176': 'Squirrel', '8FD6B4': 'Vista Blue', '900020': 'Burgundy', '901E1E': 'Old Brick', '907874': 'Hemp', '907B71': 'Almond Frost', '908D39': 'Sycamore', '92000A': 'Sangria', '924321': 'Cumin', '926F5B': 'Beaver', '928573': 'Stonewall', '928590': 'Venus', '9370DB': 'Medium Purple', '93CCEA': 'Cornflower', '93DFB8': 'Algae Green', '944747': 'Copper Rust', '948771': 'Arrowtown', '950015': 'Scarlett', '956387': 'Strikemaster', '959396': 'Mountain Mist', '960018': 'Carmine', '964B00': 'Brown', '967059': 'Leather', '9678B6': "Purple Mountain's Majesty", '967BB6': 'Lavender Purple', '96A8A1': 'Pewter', '96BBAB': 'Summer Green', '97605D': 'Au Chico', '9771B5': 'Wisteria', '97CD2D': 'Atlantis', '983D61': 'Vin Rouge', '9874D3': 'Lilac Bush', '98777B': 'Bazaar', '98811B': 'Hacienda', '988D77': 'Pale Oyster', '98FF98': 'Mint Green', '990066': 'Fresh Eggplant', '991199': 'Violet Eggplant', '991613': 'Tamarillo', '991B07': 'Totem Pole', '996666': 'Copper Rose', '9966CC': 'Amethyst', '997A8D': 'Mountbatten Pink', '9999CC': 'Blue Bell', '9A3820': 'Prairie Sand', '9A6E61': 'Toast', '9A9577': 'Gurkha', '9AB973': 'Olivine', '9AC2B8': 'Shadow Green', '9B4703': 'Oregon', '9B9E8F': 'Lemon Grass', '9C3336': 'Stiletto', '9D5616': 'Hawaiian Tan', '9DACB7': 'Gull Gray', '9DC209': 'Pistachio', '9DE093': 'Granny Smith Apple', '9DE5FF': 'Anakiwa', '9E5302': 'Chelsea Gem', '9E5B40': 'Sepia Skin', '9EA587': 'Sage', '9EA91F': 'Citron', '9EB1CD': 'Rock Blue', '9EDEE0': 'Morning Glory', '9F381D': 'Cognac', '9F821C': 'Reef Gold', '9F9F9C': 'Star Dust', '9FA0B1': 'Santas Gray', '9FD7D3': 'Sinbad', '9FDD8C': 'Feijoa', 'A02712': 'Tabasco', 'A1750D': 'Buttered Rum', 'A1ADB5': 'Hit Gray', 'A1C50A': 'Citrus', 'A1DAD7': 'Aqua Island', 'A1E9DE': 'Water Leaf', 'A2006D': 'Flirt', 'A23B6C': 'Rouge', 'A26645': 'Cape Palliser', 'A2AAB3': 'Gray Chateau', 'A2AEAB': 'Edward', 'A3807B': 'Pharlap', 'A397B4': 'Amethyst Smoke', 'A3E3ED': 'Blizzard Blue', 'A4A49D': 'Delta', 'A4A6D3': 'Wistful', 'A4AF6E': 'Green Smoke', 'A50B5E': 'Jazzberry Jam', 'A59B91': 'Zorba', 'A5CB0C': 'Bahia', 'A62F20': 'Roof Terracotta', 'A65529': 'Paarl', 'A68B5B': 'Barley Corn', 'A69279': 'Donkey Brown', 'A6A29A': 'Dawn', 'A72525': 'Mexican Red', 'A7882C': 'Luxor Gold', 'A85307': 'Rich Gold', 'A86515': 'Reno Sand', 'A86B6B': 'Coral Tree', 'A8989B': 'Dusty Gray', 'A899E6': 'Dull Lavender', 'A8A589': 'Tallow', 'A8AE9C': 'Bud', 'A8AF8E': 'Locust', 'A8BD9F': 'Norway', 'A8E3BD': 'Chinook', 'A9A491': 'Gray Olive', 'A9ACB6': 'Aluminium', 'A9B2C3': 'Cadet Blue', 'A9B497': 'Schist', 'A9BDBF': 'Tower Gray', 'A9BEF2': 'Perano', 'A9C6C2': 'Opal', 'AA375A': 'Night Shadz', 'AA4203': 'Fire', 'AA8B5B': 'Muesli', 'AA8D6F': 'Sandal', 'AAA5A9': 'Shady Lady', 'AAA9CD': 'Logan', 'AAABB7': 'Spun Pearl', 'AAD6E6': 'Regent St Blue', 'AAF0D1': 'Magic Mint', 'AB0563': 'Lipstick', 'AB3472': 'Royal Heath', 'AB917A': 'Sandrift', 'ABA0D9': 'Cold Purple', 'ABA196': 'Bronco', 'AC8A56': 'Limed Oak', 'AC91CE': 'East Side', 'AC9E22': 'Lemon Ginger', 'ACA494': 'Napa', 'ACA586': 'Hillary', 'ACA59F': 'Cloudy', 'ACACAC': 'Silver Chalice', 'ACB78E': 'Swamp Green', 'ACCBB1': 'Spring Rain', 'ACDD4D': 'Conifer', 'ACE1AF': 'Celadon', 'AD781B': 'Mandalay', 'ADBED1': 'Casper', 'ADDFAD': 'Moss Green', 'ADE6C4': 'Padua', 'ADFF2F': 'Green Yellow', 'AE4560': 'Hippie Pink', 'AE6020': 'Desert', 'AE809E': 'Bouquet', 'AF4035': 'Medium Carmine', 'AF4D43': 'Apple Blossom', 'AF593E': 'Brown Rust', 'AF8751': 'Driftwood', 'AF8F2C': 'Alpine', 'AF9F1C': 'Lucky', 'AFA09E': 'Martini', 'AFB1B8': 'Bombay', 'AFBDD9': 'Pigeon Post', 'B04C6A': 'Cadillac', 'B05D54': 'Matrix', 'B05E81': 'Tapestry', 'B06608': 'Mai Tai', 'B09A95': 'Del Rio', 'B0E0E6': 'Powder Blue', 'B0E313': 'Inch Worm', 'B10000': 'Bright Red', 'B14A0B': 'Vesuvius', 'B1610B': 'Pumpkin Skin', 'B16D52': 'Santa Fe', 'B19461': 'Teak', 'B1E2C1': 'Fringy Flower', 'B1F4E7': 'Ice Cold', 'B20931': 'Shiraz', 'B2A1EA': 'Biloba Flower', 'B32D29': 'Tall Poppy', 'B35213': 'Fiery Orange', 'B38007': 'Hot Toddy', 'B3AF95': 'Taupe Gray', 'B3C110': 'La Rioja', 'B43332': 'Well Read', 'B44668': 'Blush', 'B4CFD3': 'Jungle Mist', 'B57281': 'Turkish Rose', 'B57EDC': 'Lavender', 'B5A27F': 'Mongoose', 'B5B35C': 'Olive Green', 'B5D2CE': 'Jet Stream', 'B5ECDF': 'Cruise', 'B6316C': 'Hibiscus', 'B69D98': 'Thatch', 'B6B095': 'Heathered Gray', 'B6BAA4': 'Eagle', 'B6D1EA': 'Spindle', 'B6D3BF': 'Gum Leaf', 'B7410E': 'Rust', 'B78E5C': 'Muddy Waters', 'B7A214': 'Sahara', 'B7A458': 'Husk', 'B7B1B1': 'Nobel', 'B7C3D0': 'Heather', 'B7F0BE': 'Madang', 'B81104': 'Milano Red', 'B87333': 'Copper', 'B8B56A': 'Gimblet', 'B8C1B1': 'Green Spring', 'B8C25D': 'Celery', 'B8E0F9': 'Sail', 'B94E48': 'Chestnut', 'B95140': 'Crail', 'B98D28': 'Marigold', 'B9C46A': 'Wild Willow', 'B9C8AC': 'Rainee', 'BA0101': 'Guardsman Red', 'BA450C': 'Rock Spray', 'BA6F1E': 'Bourbon', 'BA7F03': 'Pirate Gold', 'BAB1A2': 'Nomad', 'BAC7C9': 'Submarine', 'BAEEF9': 'Charlotte', 'BB3385': 'Medium Red Violet', 'BB8983': 'Brandy Rose', 'BBD009': 'Rio Grande', 'BBD7C1': 'Surf', 'BCC9C2': 'Powder Ash', 'BD5E2E': 'Tuscany', 'BD978E': 'Quicksand', 'BDB1A8': 'Silk', 'BDB2A1': 'Malta', 'BDB3C7': 'Chatelle', 'BDBBD7': 'Lavender Gray', 'BDBDC6': 'French Gray', 'BDC8B3': 'Clay Ash', 'BDC9CE': 'Loblolly', 'BDEDFD': 'French Pass', 'BEA6C3': 'London Hue', 'BEB5B7': 'Pink Swan', 'BEDE0D': 'Fuego', 'BF5500': 'Rose of Sharon', 'BFB8B0': 'Tide', 'BFBED8': 'Blue Haze', 'BFC1C2': 'Silver Sand', 'BFC921': 'Key Lime Pie', 'BFDBE2': 'Ziggurat', 'BFFF00': 'Lime', 'C02B18': 'Thunderbird', 'C04737': 'Mojo', 'C08081': 'Old Rose', 'C0C0C0': 'Silver', 'C0D3B9': 'Pale Leaf', 'C0D8B6': 'Pixie Green', 'C1440E': 'Tia Maria', 'C154C1': 'Fuchsia Pink', 'C1A004': 'Buddha Gold', 'C1B7A4': 'Bison Hide', 'C1BAB0': 'Tea', 'C1BECD': 'Gray Suit', 'C1D7B0': 'Sprout', 'C1F07C': 'Sulu', 'C26B03': 'Indochine', 'C2955D': 'Twine', 'C2BDB6': 'Cotton Seed', 'C2CAC4': 'Pumice', 'C2E8E5': 'Jagged Ice', 'C32148': 'Maroon Flush', 'C3B091': 'Indian Khaki', 'C3BFC1': 'Pale Slate', 'C3C3BD': 'Gray Nickel', 'C3CDE6': 'Periwinkle Gray', 'C3D1D1': 'Tiara', 'C3DDF9': 'Tropical Blue', 'C41E3A': 'Cardinal', 'C45655': 'Fuzzy Wuzzy Brown', 'C45719': 'Orange Roughy', 'C4C4BC': 'Mist Gray', 'C4D0B0': 'Coriander', 'C4F4EB': 'Mint Tulip', 'C54B8C': 'Mulberry', 'C59922': 'Nugget', 'C5994B': 'Tussock', 'C5DBCA': 'Sea Mist', 'C5E17A': 'Yellow Green', 'C62D42': 'Brick Red', 'C6726B': 'Contessa', 'C69191': 'Oriental Pink', 'C6A84B': 'Roti', 'C6C3B5': 'Ash', 'C6C8BD': 'Kangaroo', 'C6E610': 'Las Palmas', 'C7031E': 'Monza', 'C71585': 'Red Violet', 'C7BCA2': 'Coral Reef', 'C7C1FF': 'Melrose', 'C7C4BF': 'Cloud', 'C7C9D5': 'Ghost', 'C7CD90': 'Pine Glade', 'C7DDE5': 'Botticelli', 'C88A65': 'Antique Brass', 'C8A2C8': 'Lilac', 'C8A528': 'Hokey Pokey', 'C8AABF': 'Lily', 'C8B568': 'Laser', 'C8E3D7': 'Edgewater', 'C96323': 'Piper', 'C99415': 'Pizza', 'C9A0DC': 'Light Wisteria', 'C9B29B': 'Rodeo Dust', 'C9B35B': 'Sundance', 'C9B93B': 'Earls Green', 'C9C0BB': 'Silver Rust', 'C9D9D2': 'Conch', 'C9FFA2': 'Reef', 'C9FFE5': 'Aero Blue', 'CA3435': 'Flush Mahogany', 'CABB48': 'Turmeric', 'CADCD4': 'Paris White', 'CAE00D': 'Bitter Lemon', 'CAE6DA': 'Skeptic', 'CB8FA9': 'Viola', 'CBCAB6': 'Foggy Gray', 'CBD3B0': 'Green Mist', 'CBDBD6': 'Nebula', 'CC3333': 'Persian Red', 'CC5500': 'Burnt Orange', 'CC7722': 'Ochre', 'CC8899': 'Puce', 'CCCAA8': 'Thistle Green', 'CCCCFF': 'Periwinkle', 'CCFF00': 'Electric Lime', 'CD5700': 'Tenn', 'CD5C5C': 'Chestnut Rose', 'CD8429': 'Brandy Punch', 'CDF4FF': 'Onahau', 'CEB98F': 'Sorrell Brown', 'CEBABA': 'Cold Turkey', 'CEC291': 'Yuma', 'CEC7A7': 'Chino', 'CFA39D': 'Eunry', 'CFB53B': 'Old Gold', 'CFDCCF': 'Tasman', 'CFE5D2': 'Surf Crest', 'CFF9F3': 'Humming Bird', 'CFFAF4': 'Scandal', 'D05F04': 'Red Stage', 'D06DA1': 'Hopbush', 'D07D12': 'Meteor', 'D0BEF8': 'Perfume', 'D0C0E5': 'Prelude', 'D0F0C0': 'Tea Green', 'D18F1B': 'Geebung', 'D1BEA8': 'Vanilla', 'D1C6B4': 'Soft Amber', 'D1D2CA': 'Celeste', 'D1D2DD': 'Mischka', 'D1E231': 'Pear', 'D2691E': 'Hot Cinnamon', 'D27D46': 'Raw Sienna', 'D29EAA': 'Careys Pink', 'D2B48C': 'Tan', 'D2DA97': 'Deco', 'D2F6DE': 'Blue Romance', 'D2F8B0': 'Gossip', 'D3CBBA': 'Sisal', 'D3CDC5': 'Swirl', 'D47494': 'Charm', 'D4B6AF': 'Clam Shell', 'D4BF8D': 'Straw', 'D4C4A8': 'Akaroa', 'D4CD16': 'Bird Flower', 'D4D7D9': 'Iron', 'D4DFE2': 'Geyser', 'D4E2FC': 'Hawkes Blue', 'D54600': 'Grenadier', 'D591A4': 'Can Can', 'D59A6F': 'Whiskey', 'D5D195': 'Winter Hazel', 'D5F6E3': 'Granny Apple', 'D69188': 'My Pink', 'D6C562': 'Tacha', 'D6CEF6': 'Moon Raker', 'D6D6D1': 'Quill Gray', 'D6FFDB': 'Snowy Mint', 'D7837F': 'New York Pink', 'D7C498': 'Pavlova', 'D7D0FF': 'Fog', 'D84437': 'Valencia', 'D87C63': 'Japonica', 'D8BFD8': 'Thistle', 'D8C2D5': 'Maverick', 'D8FCFA': 'Foam', 'D94972': 'Cabaret', 'D99376': 'Burning Sand', 'D9B99B': 'Cameo', 'D9D6CF': 'Timberwolf', 'D9DCC1': 'Tana', 'D9E4F5': 'Link Water', 'D9F7FF': 'Mabel', 'DA3287': 'Cerise', 'DA5B38': 'Flame Pea', 'DA6304': 'Bamboo', 'DA6A41': 'Red Damask', 'DA70D6': 'Orchid', 'DA8A67': 'Copperfield', 'DAA520': 'Golden Grass', 'DAECD6': 'Zanah', 'DAF4F0': 'Iceberg', 'DAFAFF': 'Oyster Bay', 'DB5079': 'Cranberry', 'DB9690': 'Petite Orchid', 'DB995E': 'Di Serria', 'DBDBDB': 'Alto', 'DBFFF8': 'Frosted Mint', 'DC143C': 'Crimson', 'DC4333': 'Punch', 'DCB20C': 'Galliano', 'DCB4BC': 'Blossom', 'DCD747': 'Wattle', 'DCD9D2': 'Westar', 'DCDDCC': 'Moon Mist', 'DCEDB4': 'Caper', 'DCF0EA': 'Swans Down', 'DDD6D5': 'Swiss Coffee', 'DDF9F1': 'White Ice', 'DE3163': 'Cerise Red', 'DE6360': 'Roman', 'DEA681': 'Tumbleweed', 'DEBA13': 'Gold Tips', 'DEC196': 'Brandy', 'DECBC6': 'Wafer', 'DED4A4': 'Sapling', 'DED717': 'Barberry', 'DEE5C0': 'Beryl Green', 'DEF5FF': 'Pattens Blue', 'DF73FF': 'Heliotrope', 'DFBE6F': 'Apache', 'DFCD6F': 'Chenin', 'DFCFDB': 'Lola', 'DFECDA': 'Willow Brook', 'DFFF00': 'Chartreuse Yellow', 'E0B0FF': 'Mauve', 'E0B646': 'Anzac', 'E0B974': 'Harvest Gold', 'E0C095': 'Calico', 'E0FFFF': 'Baby Blue', 'E16865': 'Sunglo', 'E1BC64': 'Equator', 'E1C0C8': 'Pink Flare', 'E1E6D6': 'Periglacial Blue', 'E1EAD4': 'Kidnapper', 'E1F6E8': 'Tara', 'E25465': 'Mandy', 'E2725B': 'Terracotta', 'E28913': 'Golden Bell', 'E292C0': 'Shocking', 'E29418': 'Dixie', 'E29CD2': 'Light Orchid', 'E2D8ED': 'Snuff', 'E2EBED': 'Mystic', 'E2F3EC': 'Apple Green', 'E30B5C': 'Razzmatazz', 'E32636': 'Alizarin Crimson', 'E34234': 'Cinnabar', 'E3BEBE': 'Cavern Pink', 'E3F5E1': 'Peppermint', 'E3F988': 'Mindaro', 'E47698': 'Deep Blush', 'E49B0F': 'Gamboge', 'E4C2D5': 'Melanie', 'E4CFDE': 'Twilight', 'E4D1C0': 'Bone', 'E4D422': 'Sunflower', 'E4D5B7': 'Grain Brown', 'E4D69B': 'Zombie', 'E4F6E7': 'Frostee', 'E4FFD1': 'Snow Flurry', 'E52B50': 'Amaranth', 'E5841B': 'Zest', 'E5CCC9': 'Dust Storm', 'E5D7BD': 'Stark White', 'E5D8AF': 'Hampton', 'E5E0E1': 'Bon Jour', 'E5E5E5': 'Mercury', 'E5F9F6': 'Polar', 'E64E03': 'Trinidad', 'E6BE8A': 'Gold Sand', 'E6BEA5': 'Cashmere', 'E6D7B9': 'Double Spanish White', 'E6E4D4': 'Satin Linen', 'E6F2EA': 'Harp', 'E6F8F3': 'Off Green', 'E6FFE9': 'Hint of Green', 'E6FFFF': 'Tranquil', 'E77200': 'Mango Tango', 'E7730A': 'Christine', 'E79F8C': 'Tonys Pink', 'E79FC4': 'Kobi', 'E7BCB4': 'Rose Fog', 'E7BF05': 'Corn', 'E7CD8C': 'Putty', 'E7ECE6': 'Gray Nurse', 'E7F8FF': 'Lily White', 'E7FEFF': 'Bubbles', 'E89928': 'Fire Bush', 'E8B9B3': 'Shilo', 'E8E0D5': 'Pearl Bush', 'E8EBE0': 'Green White', 'E8F1D4': 'Chrome White', 'E8F2EB': 'Gin', 'E8F5F2': 'Aqua Squeeze', 'E96E00': 'Clementine', 'E97451': 'Burnt Sienna', 'E97C07': 'Tahiti Gold', 'E9CECD': 'Oyster Pink', 'E9D75A': 'Confetti', 'E9E3E3': 'Ebb', 'E9F8ED': 'Ottoman', 'E9FFFD': 'Clear Day', 'EA88A8': 'Carissma', 'EAAE69': 'Porsche', 'EAB33B': 'Tulip Tree', 'EAC674': 'Rob Roy', 'EADAB8': 'Raffia', 'EAE8D4': 'White Rock', 'EAF6EE': 'Panache', 'EAF6FF': 'Solitude', 'EAF9F5': 'Aqua Spring', 'EAFFFE': 'Dew', 'EB9373': 'Apricot', 'EBC2AF': 'Zinnwaldite', 'ECA927': 'Fuel Yellow', 'ECC54E': 'Ronchi', 'ECC7EE': 'French Lilac', 'ECCDB9': 'Just Right', 'ECE090': 'Wild Rice', 'ECEBBD': 'Fall Green', 'ECEBCE': 'Aths Special', 'ECF245': 'Starship', 'ED0A3F': 'Red Ribbon', 'ED7A1C': 'Tango', 'ED9121': 'Carrot Orange', 'ED989E': 'Sea Pink', 'EDB381': 'Tacao', 'EDC9AF': 'Desert Sand', 'EDCDAB': 'Pancho', 'EDDCB1': 'Chamois', 'EDEA99': 'Primrose', 'EDF5DD': 'Frost', 'EDF5F5': 'Aqua Haze', 'EDF6FF': 'Zumthor', 'EDF9F1': 'Narvik', 'EDFC84': 'Honeysuckle', 'EE82EE': 'Lavender Magenta', 'EEC1BE': 'Beauty Bush', 'EED794': 'Chalky', 'EED9C4': 'Almond', 'EEDC82': 'Flax', 'EEDEDA': 'Bizarre', 'EEE3AD': 'Double Colonial White', 'EEEEE8': 'Cararra', 'EEEF78': 'Manz', 'EEF0C8': 'Tahuna Sands', 'EEF0F3': 'Athens Gray', 'EEF3C3': 'Tusk', 'EEF4DE': 'Loafer', 'EEF6F7': 'Catskill White', 'EEFDFF': 'Twilight Blue', 'EEFF9A': 'Jonquil', 'EEFFE2': 'Rice Flower', 'EF863F': 'Jaffa', 'EFEFEF': 'Gallery', 'EFF2F3': 'Porcelain', 'F091A9': 'Mauvelous', 'F0D52D': 'Golden Dream', 'F0DB7D': 'Golden Sand', 'F0DC82': 'Buff', 'F0E2EC': 'Prim', 'F0E68C': 'Khaki', 'F0EEFD': 'Selago', 'F0EEFF': 'Titan White', 'F0F8FF': 'Alice Blue', 'F0FCEA': 'Feta', 'F18200': 'Gold Drop', 'F19BAB': 'Wewak', 'F1E788': 'Sahara Sand', 'F1E9D2': 'Parchment', 'F1E9FF': 'Blue Chalk', 'F1EEC1': 'Mint Julep', 'F1F1F1': 'Seashell', 'F1F7F2': 'Saltpan', 'F1FFAD': 'Tidal', 'F1FFC8': 'Chiffon', 'F2552A': 'Flamingo', 'F28500': 'Tangerine', 'F2C3B2': 'Mandys Pink', 'F2F2F2': 'Concrete', 'F2FAFA': 'Black Squeeze', 'F34723': 'Pomegranate', 'F3AD16': 'Buttercup', 'F3D69D': 'New Orleans', 'F3D9DF': 'Vanilla Ice', 'F3E7BB': 'Sidecar', 'F3E9E5': 'Dawn Pink', 'F3EDCF': 'Wheatfield', 'F3FB62': 'Canary', 'F3FBD4': 'Orinoco', 'F3FFD8': 'Carla', 'F400A1': 'Hollywood Cerise', 'F4A460': 'Sandy brown', 'F4C430': 'Saffron', 'F4D81C': 'Ripe Lemon', 'F4EBD3': 'Janna', 'F4F2EE': 'Pampas', 'F4F4F4': 'Wild Sand', 'F4F8FF': 'Zircon', 'F57584': 'Froly', 'F5C85C': 'Cream Can', 'F5C999': 'Manhattan', 'F5D5A0': 'Maize', 'F5DEB3': 'Wheat', 'F5E7A2': 'Sandwisp', 'F5E7E2': 'Pot Pourri', 'F5E9D3': 'Albescent White', 'F5EDEF': 'Soft Peach', 'F5F3E5': 'Ecru White', 'F5F5DC': 'Beige', 'F5FB3D': 'Golden Fizz', 'F5FFBE': 'Australian Mint', 'F64A8A': 'French Rose', 'F653A6': 'Brilliant Rose', 'F6A4C9': 'Illusion', 'F6F0E6': 'Merino', 'F6F7F7': 'Black Haze', 'F6FFDC': 'Spring Sun', 'F7468A': 'Violet Red', 'F77703': 'Chilean Fire', 'F77FBE': 'Persian Pink', 'F7B668': 'Rajah', 'F7C8DA': 'Azalea', 'F7DBE6': 'We Peep', 'F7F2E1': 'Quarter Spanish White', 'F7F5FA': 'Whisper', 'F7FAF7': 'Snow Drift', 'F8B853': 'Casablanca', 'F8C3DF': 'Chantilly', 'F8D9E9': 'Cherub', 'F8DB9D': 'Marzipan', 'F8DD5C': 'Energy Yellow', 'F8E4BF': 'Givry', 'F8F0E8': 'White Linen', 'F8F4FF': 'Magnolia', 'F8F6F1': 'Spring Wood', 'F8F7DC': 'Coconut Cream', 'F8F7FC': 'White Lilac', 'F8F8F7': 'Desert Storm', 'F8F99C': 'Texas', 'F8FACD': 'Corn Field', 'F8FDD3': 'Mimosa', 'F95A61': 'Carnation', 'F9BF58': 'Saffron Mango', 'F9E0ED': 'Carousel Pink', 'F9E4BC': 'Dairy Cream', 'F9E663': 'Portica', 'F9EAF3': 'Amour', 'F9F8E4': 'Rum Swizzle', 'F9FF8B': 'Dolly', 'F9FFF6': 'Sugar Cane', 'FA7814': 'Ecstasy', 'FA9D5A': 'Tan Hide', 'FAD3A2': 'Corvette', 'FADFAD': 'Peach Yellow', 'FAE600': 'Turbo', 'FAEAB9': 'Astra', 'FAECCC': 'Champagne', 'FAF0E6': 'Linen', 'FAF3F0': 'Fantasy', 'FAF7D6': 'Citrine White', 'FAFAFA': 'Alabaster', 'FAFDE4': 'Hint of Yellow', 'FAFFA4': 'Milan', 'FB607F': 'Brink Pink', 'FB8989': 'Geraldine', 'FBA0E3': 'Lavender Rose', 'FBA129': 'Sea Buckthorn', 'FBAC13': 'Sun', 'FBAED2': 'Lavender Pink', 'FBB2A3': 'Rose Bud', 'FBBEDA': 'Cupid', 'FBCCE7': 'Classic Rose', 'FBCEB1': 'Apricot Peach', 'FBE7B2': 'Banana Mania', 'FBE870': 'Marigold Yellow', 'FBE96C': 'Festival', 'FBEA8C': 'Sweet Corn', 'FBEC5D': 'Candy Corn', 'FBF9F9': 'Hint of Red', 'FBFFBA': 'Shalimar', 'FC0FC0': 'Shocking Pink', 'FC80A5': 'Tickle Me Pink', 'FC9C1D': 'Tree Poppy', 'FCC01E': 'Lightning Yellow', 'FCD667': 'Goldenrod', 'FCD917': 'Candlelight', 'FCDA98': 'Cherokee', 'FCF4D0': 'Double Pearl Lusta', 'FCF4DC': 'Pearl Lusta', 'FCF8F7': 'Vista White', 'FCFBF3': 'Bianca', 'FCFEDA': 'Moon Glow', 'FCFFE7': 'China Ivory', 'FCFFF9': 'Ceramic', 'FD0E35': 'Torch Red', 'FD5B78': 'Wild Watermelon', 'FD7B33': 'Crusta', 'FD7C07': 'Sorbus', 'FD9FA2': 'Sweet Pink', 'FDD5B1': 'Light Apricot', 'FDD7E4': 'Pig Pink', 'FDE1DC': 'Cinderella', 'FDE295': 'Golden Glow', 'FDE910': 'Lemon', 'FDF5E6': 'Old Lace', 'FDF6D3': 'Half Colonial White', 'FDF7AD': 'Drover', 'FDFEB8': 'Pale Prim', 'FDFFD5': 'Cumulus', 'FE28A2': 'Persian Rose', 'FE4C40': 'Sunset Orange', 'FE6F5E': 'Bittersweet', 'FE9D04': 'California', 'FEA904': 'Yellow Sea', 'FEBAAD': 'Melon', 'FED33C': 'Bright Sun', 'FED85D': 'Dandelion', 'FEDB8D': 'Salomie', 'FEE5AC': 'Cape Honey', 'FEEBF3': 'Remy', 'FEEFCE': 'Oasis', 'FEF0EC': 'Bridesmaid', 'FEF2C7': 'Beeswax', 'FEF3D8': 'Bleach White', 'FEF4CC': 'Pipi', 'FEF4DB': 'Half Spanish White', 'FEF4F8': 'Wisp Pink', 'FEF5F1': 'Provincial Pink', 'FEF7DE': 'Half Dutch White', 'FEF8E2': 'Solitaire', 'FEF8FF': 'White Pointer', 'FEF9E3': 'Off Yellow', 'FEFCED': 'Orange White', 'FF0000': 'Red', 'FF007F': 'Rose', 'FF00CC': 'Purple Pizzazz', 'FF00FF': 'Magenta / Fuchsia', 'FF2400': 'Scarlet', 'FF3399': 'Wild Strawberry', 'FF33CC': 'Razzle Dazzle Rose', 'FF355E': 'Radical Red', 'FF3F34': 'Red Orange', 'FF4040': 'Coral Red', 'FF4D00': 'Vermilion', 'FF4F00': 'International Orange', 'FF6037': 'Outrageous Orange', 'FF6600': 'Blaze Orange', 'FF66FF': 'Pink Flamingo', 'FF681F': 'Orange', 'FF69B4': 'Hot Pink', 'FF6B53': 'Persimmon', 'FF6FFF': 'Blush Pink', 'FF7034': 'Burning Orange', 'FF7518': 'Pumpkin', 'FF7D07': 'Flamenco', 'FF7F00': 'Flush Orange', 'FF7F50': 'Coral', 'FF8C69': 'Salmon', 'FF9000': 'Pizazz', 'FF910F': 'West Side', 'FF91A4': 'Pink Salmon', 'FF9933': 'Neon Carrot', 'FF9966': 'Atomic Tangerine', 'FF9980': 'Vivid Tangerine', 'FF9E2C': 'Sunshade', 'FFA000': 'Orange Peel', 'FFA194': 'Mona Lisa', 'FFA500': 'Web Orange', 'FFA6C9': 'Carnation Pink', 'FFAB81': 'Hit Pink', 'FFAE42': 'Yellow Orange', 'FFB0AC': 'Cornflower Lilac', 'FFB1B3': 'Sundown', 'FFB31F': 'My Sin', 'FFB555': 'Texas Rose', 'FFB7D5': 'Cotton Candy', 'FFB97B': 'Macaroni and Cheese', 'FFBA00': 'Selective Yellow', 'FFBD5F': 'Koromiko', 'FFBF00': 'Amber', 'FFC0A8': 'Wax Flower', 'FFC0CB': 'Pink', 'FFC3C0': 'Your Pink', 'FFC901': 'Supernova', 'FFCBA4': 'Flesh', 'FFCC33': 'Sunglow', 'FFCC5C': 'Golden Tainoi', 'FFCC99': 'Peach Orange', 'FFCD8C': 'Chardonnay', 'FFD1DC': 'Pastel Pink', 'FFD2B7': 'Romantic', 'FFD38C': 'Grandis', 'FFD700': 'Gold', 'FFD800': 'School bus Yellow', 'FFD8D9': 'Cosmos', 'FFDB58': 'Mustard', 'FFDCD6': 'Peach Schnapps', 'FFDDAF': 'Caramel', 'FFDDCD': 'Tuft Bush', 'FFDDCF': 'Watusi', 'FFDDF4': 'Pink Lace', 'FFDEAD': 'Navajo White', 'FFDEB3': 'Frangipani', 'FFE1DF': 'Pippin', 'FFE1F2': 'Pale Rose', 'FFE2C5': 'Negroni', 'FFE5A0': 'Cream Brulee', 'FFE5B4': 'Peach', 'FFE6C7': 'Tequila', 'FFE772': 'Kournikova', 'FFEAC8': 'Sandy Beach', 'FFEAD4': 'Karry', 'FFEC13': 'Broom', 'FFEDBC': 'Colonial White', 'FFEED8': 'Derby', 'FFEFA1': 'Vis Vis', 'FFEFC1': 'Egg White', 'FFEFD5': 'Papaya Whip', 'FFEFEC': 'Fair Pink', 'FFF0DB': 'Peach Cream', 'FFF0F5': 'Lavender blush', 'FFF14F': 'Gorse', 'FFF1B5': 'Buttermilk', 'FFF1D8': 'Pink Lady', 'FFF1EE': 'Forget Me Not', 'FFF1F9': 'Tutu', 'FFF39D': 'Picasso', 'FFF3F1': 'Chardon', 'FFF46E': 'Paris Daisy', 'FFF4CE': 'Barley White', 'FFF4DD': 'Egg Sour', 'FFF4E0': 'Sazerac', 'FFF4E8': 'Serenade', 'FFF4F3': 'Chablis', 'FFF5EE': 'Seashell Peach', 'FFF5F3': 'Sauvignon', 'FFF6D4': 'Milk Punch', 'FFF6DF': 'Varden', 'FFF6F5': 'Rose White', 'FFF8D1': 'Baja White', 'FFF9E2': 'Gin Fizz', 'FFF9E6': 'Early Dawn', 'FFFACD': 'Lemon Chiffon', 'FFFAF4': 'Bridal Heath', 'FFFBDC': 'Scotch Mist', 'FFFBF9': 'Soapstone', 'FFFC99': 'Witch Haze', 'FFFCEA': 'Buttery White', 'FFFCEE': 'Island Spice', 'FFFDD0': 'Cream', 'FFFDE6': 'Chilean Heath', 'FFFDE8': 'Travertine', 'FFFDF3': 'Orchid White', 'FFFDF4': 'Quarter Pearl Lusta', 'FFFEE1': 'Half and Half', 'FFFEEC': 'Apricot White', 'FFFEF0': 'Rice Cake', 'FFFEF6': 'Black White', 'FFFEFD': 'Romance', 'FFFF00': 'Yellow', 'FFFF66': 'Laser Lemon', 'FFFF99': 'Pale Canary', 'FFFFB4': 'Portafino', 'FFFFF0': 'Ivory', 'FFFFFF': 'White'}
###### Config for test ###: Variables ggtrace_cpu = [ "data/formatted/", # pd.readfilepath [1], # usecols trong pd False, # multi_output None, # output_idx "cpu/", # path_save_result ] ggtrace_ram = [ "data/formatted/", # pd.readfilepath [2], # usecols trong pd False, # multi_output None, # output_idx "ram/", # path_save_result ] ggtrace_multi_cpu = [ "data/formatted/", # pd.readfilepath [1, 2], # usecols trong pd False, # multi_output 0, # output_idx "multi_cpu/", # path_save_result ] ggtrace_multi_ram = [ "data/formatted/", # pd.readfilepath [1, 2], # usecols trong pd False, # multi_output 1, # output_idx "multi_ram/", # path_save_result ] giang1 = [ "data/formatted/giang/", # pd.readfilepath [3], # usecols trong pd False, # multi_output None, # output_idx "giang1/", # path_save_result ] ######################## Paras according to the paper ####: FLNN flnn_paras = { "sliding_window": [2, 3, 4, 5], "expand_function": [0], # 0:chebyshev, 1:legendre, 2:laguerre, 3:powerseries, 4:trigonometric "activation": ["elu", "tanh"], "epoch": [1500], "learning_rate": [0.025], # 100 -> 900 "batch_size": [64], # 0.85 -> 0.97 "beta": [0.90] # 0.005 -> 0.10 } ####: MLNN-1HL mlnn1hl_paras_final = { "sliding_window": [2, 5, 10], "expand_function": [None], "hidden_sizes" : [[5] ], "activations": [("elu", "elu")], # 0: elu, 1:relu, 2:tanh, 3:sigmoid "learning_rate": [0.01], "epoch": [1000], "batch_size": [128], "optimizer": ["adam"], # GradientDescentOptimizer, AdamOptimizer, AdagradOptimizer, AdadeltaOptimizer "loss": ["mse"] } ####: MLNN-1HL mlnn2hl_paras_final = { "sliding_window": [2, 5, 10], "expand_function": [None], "hidden_sizes" : [[5, 3] ], "activations": [("elu", "elu", "elu")], # 0: elu, 1:relu, 2:tanh, 3:sigmoid "learning_rate": [0.0001], "epoch": [2000], "batch_size": [128], "optimizer": ["adam"], # GradientDescentOptimizer, AdamOptimizer, AdagradOptimizer, AdadeltaOptimizer "loss": ["mse"] } # ========================== Hybrid FLNN ================================= #### : FL-GANN flgann_giang1_paras = { "sliding_window": [2, 3, 5, 10], "expand_function": [0, 1, 2, 3, 4], # 0:chebyshev, 1:legendre, 2:laguerre, 3:powerseries, 4:trigonometric "activation": ["elu", "tanh"], # 0: elu, 1:relu, 2:tanh, 3:sigmoid "train_valid_rate": [(0.6, 0.4)], "epoch": [700], "pop_size": [250], # 100 -> 900 "pc": [0.95], # 0.85 -> 0.97 "pm": [0.025], # 0.005 -> 0.10 "domain_range": [(-1, 1)] # lower and upper bound } ####: LSTM-1HL lstm1hl_giang1_paras = { "sliding_window": [2, 3, 5, 10], "expand_function": [None], # 0:chebyshev, 1:legendre, 2:laguerre, 3:powerseries, 4:trigonometric "hidden_sizes" : [[5], [10] ], "activations": [("elu", "elu")], # 0: elu, 1:relu, 2:tanh, 3:sigmoid "learning_rate": [0.0001], "epoch": [1000], "batch_size": [128], "optimizer": ["adam"], # GradientDescentOptimizer, AdamOptimizer, AdagradOptimizer, AdadeltaOptimizer "loss": ["mse"], "dropouts": [[0.2]] } #### : FL-GANN flgann_paras = { "sliding_window": [2], "expand_function": [0], # 0:chebyshev, 1:legendre, 2:laguerre, 3:powerseries, 4:trigonometric "activation": ["elu", "tanh"], # 0: elu, 1:relu, 2:tanh, 3:sigmoid "train_valid_rate": [(0.6, 0.4)], "epoch": [10], "pop_size": [200], # 100 -> 900 "pc": [0.95], # 0.85 -> 0.97 "pm": [0.025], # 0.005 -> 0.10 "domain_range": [(-1, 1)] # lower and upper bound } #### : DE-MLNN fldenn_paras = { "sliding_window": [2], "expand_function": [0], # 0:chebyshev, 1:legendre, 2:laguerre, 3:powerseries, 4:trigonometric "activation": ["elu", "tanh"], # 0: elu, 1:relu, 2:tanh, 3:sigmoid "train_valid_rate": [(0.6, 0.4)], "epoch": [20], "pop_size": [200], # 10 * problem_size "wf": [0.8], # Weighting factor "cr": [0.9], # Crossover rate "domain_range": [(-1, 1)] # lower and upper bound } #### : PSO-FLNN flpsonn_paras = { "sliding_window": [2, 5, 10], "expand_function": [0], # 0:chebyshev, 1:legendre, 2:laguerre, 3:powerseries, 4:trigonometric "activation": ["elu", "tanh"], # 0: elu, 1:relu, 2:tanh, 3:sigmoid "train_valid_rate": [(0.6, 0.4)], "epoch": [50], "pop_size": [200], # 100 -> 900 "w_minmax": [(0.4, 0.9)], # [0-1] -> [0.4-0.9] Trong luong cua con chim "c_minmax": [(1.2, 1.2)], # [(1.2, 1.2), (0.8, 2.0), (1.6, 0.6)] # [0-2] Muc do anh huong cua local va global # r1, r2 : random theo tung vong lap # delta(t) = 1 (do do: x(sau) = x(truoc) + van_toc "domain_range": [(-1, 1)] # lower and upper bound } #### : BFO-FLNN flbfonn_paras = { "sliding_window": [2], "expand_function": [0], # 0:chebyshev, 1:legendre, 2:laguerre, 3:powerseries, 4:trigonometric "activation": ["elu"], # 0: elu, 1:relu, 2:tanh, 3:sigmoid "train_valid_rate": [(0.6, 0.4)], "pop_size": [50], "Ci": [0.01], # step_size "Ped": [0.25], # p_eliminate "Ns": [2], # swim_length "Ned": [6], # elim_disp_steps "Nre": [2], # repro_steps "Nc": [30], # chem_steps "attract_repel": [(0.1, 0.2, 0.1, 10)], # [ d_attr, w_attr, h_repel, w_repel ] "domain_range": [(-1, 1)] # lower and upper bound } #### : ABFOLS-FLNN flabfolsnn_paras = { "sliding_window": [2], "expand_function": [0], # 0:chebyshev, 1:legendre, 2:laguerre, 3:powerseries, 4:trigonometric "activation": ["elu"], # 0: elu, 1:relu, 2:tanh, 3:sigmoid "train_valid_rate": [(0.6, 0.4)], "epoch": [100], "pop_size": [200], # 100 -> 900 "Ci": [(0.1, 0.00001)], # C_s (start), C_e (end) -=> step size # step size in BFO "Ped": [0.25], # p_eliminate "Ns": [4], # swim_length "N_minmax": [(3, 40)], # (Dead threshold value, split threshold value) -> N_adapt, N_split "domain_range": [(-1, 1)] # lower and upper bound } #### : CSO-FLNN flcsonn_paras = { "sliding_window": [2], "expand_function": [0], # 0:chebyshev, 1:legendre, 2:laguerre, 3:powerseries, 4:trigonometric "activation": ["elu"], # 0: elu, 1:relu, 2:tanh, 3:sigmoid "train_valid_rate": [(0.6, 0.4)], "epoch": [100], "pop_size": [200], # 100 -> 900 "mixture_ratio": [0.15], # "smp": [10], # seeking memory pool, 10 clones (greater is better but more need time training) "spc": [True], # self-position considering "cdc": [0.8], # counts of dimension to change (greater is better) "srd": [0.01], # seeking range of the selected dimension (lower is better but slow searching domain) "w_minmax": [(0.4, 0.9)], # same in PSO "c1": [0.4], # same in PSO "selected_strategy": [0], # 0: best fitness, 1: tournament, 2: roulette wheel, 3: random (decrease by quality) "domain_range": [(-1, 1)] # lower and upper bound } #### : ABC-FLNN flabcnn_paras = { "sliding_window": [2], "expand_function": [0], # 0:chebyshev, 1:legendre, 2:laguerre, 3:powerseries, 4:trigonometric "activation": ["elu"], # 0: elu, 1:relu, 2:tanh, 3:sigmoid "train_valid_rate": [(0.6, 0.4)], "epoch": [100], "pop_size": [200], # 100 -> 900 "couple_bees": [(16, 4)], # number of bees which provided for good location and other location "patch_variables": [(5.0, 0.985)], # patch_variables = patch_variables * patch_factor (0.985) "sites": [(3, 1)], # 3 bees (employeeed bees, onlookers and scouts), 1 good partition "domain_range": [(-1, 1)] # lower and upper bound }
ggtrace_cpu = ['data/formatted/', [1], False, None, 'cpu/'] ggtrace_ram = ['data/formatted/', [2], False, None, 'ram/'] ggtrace_multi_cpu = ['data/formatted/', [1, 2], False, 0, 'multi_cpu/'] ggtrace_multi_ram = ['data/formatted/', [1, 2], False, 1, 'multi_ram/'] giang1 = ['data/formatted/giang/', [3], False, None, 'giang1/'] flnn_paras = {'sliding_window': [2, 3, 4, 5], 'expand_function': [0], 'activation': ['elu', 'tanh'], 'epoch': [1500], 'learning_rate': [0.025], 'batch_size': [64], 'beta': [0.9]} mlnn1hl_paras_final = {'sliding_window': [2, 5, 10], 'expand_function': [None], 'hidden_sizes': [[5]], 'activations': [('elu', 'elu')], 'learning_rate': [0.01], 'epoch': [1000], 'batch_size': [128], 'optimizer': ['adam'], 'loss': ['mse']} mlnn2hl_paras_final = {'sliding_window': [2, 5, 10], 'expand_function': [None], 'hidden_sizes': [[5, 3]], 'activations': [('elu', 'elu', 'elu')], 'learning_rate': [0.0001], 'epoch': [2000], 'batch_size': [128], 'optimizer': ['adam'], 'loss': ['mse']} flgann_giang1_paras = {'sliding_window': [2, 3, 5, 10], 'expand_function': [0, 1, 2, 3, 4], 'activation': ['elu', 'tanh'], 'train_valid_rate': [(0.6, 0.4)], 'epoch': [700], 'pop_size': [250], 'pc': [0.95], 'pm': [0.025], 'domain_range': [(-1, 1)]} lstm1hl_giang1_paras = {'sliding_window': [2, 3, 5, 10], 'expand_function': [None], 'hidden_sizes': [[5], [10]], 'activations': [('elu', 'elu')], 'learning_rate': [0.0001], 'epoch': [1000], 'batch_size': [128], 'optimizer': ['adam'], 'loss': ['mse'], 'dropouts': [[0.2]]} flgann_paras = {'sliding_window': [2], 'expand_function': [0], 'activation': ['elu', 'tanh'], 'train_valid_rate': [(0.6, 0.4)], 'epoch': [10], 'pop_size': [200], 'pc': [0.95], 'pm': [0.025], 'domain_range': [(-1, 1)]} fldenn_paras = {'sliding_window': [2], 'expand_function': [0], 'activation': ['elu', 'tanh'], 'train_valid_rate': [(0.6, 0.4)], 'epoch': [20], 'pop_size': [200], 'wf': [0.8], 'cr': [0.9], 'domain_range': [(-1, 1)]} flpsonn_paras = {'sliding_window': [2, 5, 10], 'expand_function': [0], 'activation': ['elu', 'tanh'], 'train_valid_rate': [(0.6, 0.4)], 'epoch': [50], 'pop_size': [200], 'w_minmax': [(0.4, 0.9)], 'c_minmax': [(1.2, 1.2)], 'domain_range': [(-1, 1)]} flbfonn_paras = {'sliding_window': [2], 'expand_function': [0], 'activation': ['elu'], 'train_valid_rate': [(0.6, 0.4)], 'pop_size': [50], 'Ci': [0.01], 'Ped': [0.25], 'Ns': [2], 'Ned': [6], 'Nre': [2], 'Nc': [30], 'attract_repel': [(0.1, 0.2, 0.1, 10)], 'domain_range': [(-1, 1)]} flabfolsnn_paras = {'sliding_window': [2], 'expand_function': [0], 'activation': ['elu'], 'train_valid_rate': [(0.6, 0.4)], 'epoch': [100], 'pop_size': [200], 'Ci': [(0.1, 1e-05)], 'Ped': [0.25], 'Ns': [4], 'N_minmax': [(3, 40)], 'domain_range': [(-1, 1)]} flcsonn_paras = {'sliding_window': [2], 'expand_function': [0], 'activation': ['elu'], 'train_valid_rate': [(0.6, 0.4)], 'epoch': [100], 'pop_size': [200], 'mixture_ratio': [0.15], 'smp': [10], 'spc': [True], 'cdc': [0.8], 'srd': [0.01], 'w_minmax': [(0.4, 0.9)], 'c1': [0.4], 'selected_strategy': [0], 'domain_range': [(-1, 1)]} flabcnn_paras = {'sliding_window': [2], 'expand_function': [0], 'activation': ['elu'], 'train_valid_rate': [(0.6, 0.4)], 'epoch': [100], 'pop_size': [200], 'couple_bees': [(16, 4)], 'patch_variables': [(5.0, 0.985)], 'sites': [(3, 1)], 'domain_range': [(-1, 1)]}
competitor1 = int(input()) competitor2 = int(input()) competitor3 = int(input()) sum_sec = competitor1 + competitor2 + competitor3 minutes = sum_sec // 60 sec = sum_sec % 60 if sec < 10: print(f"{minutes}:0{sec}") else: print(f"{minutes}:{sec}")
competitor1 = int(input()) competitor2 = int(input()) competitor3 = int(input()) sum_sec = competitor1 + competitor2 + competitor3 minutes = sum_sec // 60 sec = sum_sec % 60 if sec < 10: print(f'{minutes}:0{sec}') else: print(f'{minutes}:{sec}')
class Solution: def toLowerCase(self, string): return string.lower()
class Solution: def to_lower_case(self, string): return string.lower()
# Rouge Highlighter token test - Generic Traceback def test(): print(unknown_test_var) test()
def test(): print(unknown_test_var) test()
# err_raise.py def foo(s): n = int(s) if n == 0: raise ValueError('invalid value: %s' % s) return 10 / n def bar(): try: foo('0') except ValueError as e: print('ValueError!') bar()
def foo(s): n = int(s) if n == 0: raise value_error('invalid value: %s' % s) return 10 / n def bar(): try: foo('0') except ValueError as e: print('ValueError!') bar()
# -*- coding: utf-8 -*- # @Time: 2020/4/13 18:49 # @Author: GraceKoo # @File: 96_unique-binary-search-trees.py # @Desc: https://leetcode-cn.com/problems/unique-binary-search-trees/ class Solution: def numTrees(self, n: int) -> int: if n < 0: return 0 dp = [0 for _ in range(n + 1)] dp[0] = 1 dp[1] = 1 for i in range(2, n + 1): for j in range(i): dp[i] += dp[j] * dp[i - j - 1] return dp[-1] so = Solution() print(so.numTrees(3))
class Solution: def num_trees(self, n: int) -> int: if n < 0: return 0 dp = [0 for _ in range(n + 1)] dp[0] = 1 dp[1] = 1 for i in range(2, n + 1): for j in range(i): dp[i] += dp[j] * dp[i - j - 1] return dp[-1] so = solution() print(so.numTrees(3))
class Load: elapsedTime = 0 powerUsage = 0.0 csvName = "" id = 0 isBackgroundLoad = None def __init__(self, elapsed_time, power_usage, csv_path): self.elapsedTime = int(elapsed_time) self.powerUsage = float(power_usage) self.csvName = csv_path.split("\\")[-1] # csvName currently depends on file path (!!) self.id = int(self.csvName.split(".")[0]) self.isBackgroundLoad = "back" in self.csvName def __str__(self): return "elapsedTime %r, powerUsage %r, csvName %r, id %r, isBackgroundLoad %r" %\ (self.elapsedTime, self.powerUsage, self.csvName, self.id, self.isBackgroundLoad)
class Load: elapsed_time = 0 power_usage = 0.0 csv_name = '' id = 0 is_background_load = None def __init__(self, elapsed_time, power_usage, csv_path): self.elapsedTime = int(elapsed_time) self.powerUsage = float(power_usage) self.csvName = csv_path.split('\\')[-1] self.id = int(self.csvName.split('.')[0]) self.isBackgroundLoad = 'back' in self.csvName def __str__(self): return 'elapsedTime %r, powerUsage %r, csvName %r, id %r, isBackgroundLoad %r' % (self.elapsedTime, self.powerUsage, self.csvName, self.id, self.isBackgroundLoad)
# -*- coding: utf-8 -*- # Copyright (c) 2014-2019 Dontnod Entertainment # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # without limitation the rights to use, copy, modify, merge, publish, # distribute, sublicense, and/or sell copies of the Software, and to # permit persons to whom the Software is furnished to do so, subject to # the following conditions: # The above copyright notice and this permission notice shall be # included in all copies or substantial portions of the Software. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ''' Nimp subcommands declarations ''' __all__ = [ 'build', 'check', 'commandlet', 'dev', 'download_fileset', 'fileset', 'p4', 'package', 'run', 'symbol_server', 'update_symbol_server', 'upload', 'upload_fileset', ]
""" Nimp subcommands declarations """ __all__ = ['build', 'check', 'commandlet', 'dev', 'download_fileset', 'fileset', 'p4', 'package', 'run', 'symbol_server', 'update_symbol_server', 'upload', 'upload_fileset']
def count1(x): count = 0 for i in range(len(x)): if x[i:i + 2] == 'ba': count += 1 return count def main(): print(count1('baba')) print(count1('aba')) print(count1('baaabab')) print(count1('abc')) print(count1('goodbye')) print(count1('a')) print(count1('ba')) if __name__ == '__main__': main()
def count1(x): count = 0 for i in range(len(x)): if x[i:i + 2] == 'ba': count += 1 return count def main(): print(count1('baba')) print(count1('aba')) print(count1('baaabab')) print(count1('abc')) print(count1('goodbye')) print(count1('a')) print(count1('ba')) if __name__ == '__main__': main()
_SERVICES = ["xcube_gen", "xcube_serve", "xcube_geodb"] def get_services(): return _SERVICES
_services = ['xcube_gen', 'xcube_serve', 'xcube_geodb'] def get_services(): return _SERVICES
def min_fee(print_page_list): sum_ = 0 prev = 0 for i in sorted(print_page_list): sum_ += (prev + i) prev += i return sum_ if __name__ == "__main__": print(min_fee([6, 11, 4, 1])) print(min_fee([3, 2, 1])) print(min_fee([3, 1, 4, 3, 2])) print(min_fee([8, 4, 2, 3, 9, 23, 6, 8]))
def min_fee(print_page_list): sum_ = 0 prev = 0 for i in sorted(print_page_list): sum_ += prev + i prev += i return sum_ if __name__ == '__main__': print(min_fee([6, 11, 4, 1])) print(min_fee([3, 2, 1])) print(min_fee([3, 1, 4, 3, 2])) print(min_fee([8, 4, 2, 3, 9, 23, 6, 8]))
SCREEN_WIDTH = 640 SCREEN_HEIGHT = 480 NUMBER_OF_POINTS = 4 POINT_WIDTH = 4.0 CIRCLE_BORDER_WIDTH = 1 SWEEP_LINE_OFFSET = 0.001
screen_width = 640 screen_height = 480 number_of_points = 4 point_width = 4.0 circle_border_width = 1 sweep_line_offset = 0.001
''' The array-form of an integer num is an array representing its digits in left to right order. For example, for num = 1321, the array form is [1,3,2,1]. Given num, the array-form of an integer, and an integer k, return the array-form of the integer num + k. Example 1: Input: num = [1,2,0,0], k = 34 Output: [1,2,3,4] Explanation: 1200 + 34 = 1234 Example 2: Input: num = [2,7,4], k = 181 Output: [4,5,5] Explanation: 274 + 181 = 455 Example 3: Input: num = [2,1,5], k = 806 Output: [1,0,2,1] Explanation: 215 + 806 = 1021 Constraints: 1 <= num.length <= 104 0 <= num[i] <= 9 num does not contain any leading zeros except for the zero itself. 1 <= k <= 104 ''' class Solution: def addToArrayForm(self, num: List[int], k: int) -> List[int]: s = "" for val in num: s+=str(val) s = str(int(s) + k) num.clear() for char in s: num.append(int(char)) return num
""" The array-form of an integer num is an array representing its digits in left to right order. For example, for num = 1321, the array form is [1,3,2,1]. Given num, the array-form of an integer, and an integer k, return the array-form of the integer num + k. Example 1: Input: num = [1,2,0,0], k = 34 Output: [1,2,3,4] Explanation: 1200 + 34 = 1234 Example 2: Input: num = [2,7,4], k = 181 Output: [4,5,5] Explanation: 274 + 181 = 455 Example 3: Input: num = [2,1,5], k = 806 Output: [1,0,2,1] Explanation: 215 + 806 = 1021 Constraints: 1 <= num.length <= 104 0 <= num[i] <= 9 num does not contain any leading zeros except for the zero itself. 1 <= k <= 104 """ class Solution: def add_to_array_form(self, num: List[int], k: int) -> List[int]: s = '' for val in num: s += str(val) s = str(int(s) + k) num.clear() for char in s: num.append(int(char)) return num
def convert_sample_to_shot_coQA(sample, with_knowledge=None): prefix = f"{sample['meta']}\n" for turn in sample["dialogue"]: prefix += f"Q: {turn[0]}" +"\n" if turn[1] == "": prefix += f"A:" return prefix else: prefix += f"A: {turn[1]}" +"\n" return prefix
def convert_sample_to_shot_co_qa(sample, with_knowledge=None): prefix = f"{sample['meta']}\n" for turn in sample['dialogue']: prefix += f'Q: {turn[0]}' + '\n' if turn[1] == '': prefix += f'A:' return prefix else: prefix += f'A: {turn[1]}' + '\n' return prefix
class File: def criar(nomeArquivo): nomeArquivo = input('NOME DO ARQUIVO= ') arquivo = open(nomeArquivo,'x') arquivo.close def escrever(texto): nomeArquivo = input('NOME DO ARQUIVO= ') arquivo = open(nomeArquivo,'w') file = File() file.criar() file.escrever(input())
class File: def criar(nomeArquivo): nome_arquivo = input('NOME DO ARQUIVO= ') arquivo = open(nomeArquivo, 'x') arquivo.close def escrever(texto): nome_arquivo = input('NOME DO ARQUIVO= ') arquivo = open(nomeArquivo, 'w') file = file() file.criar() file.escrever(input())
def count_sevens(*args): return args.count(7) nums = [90,1,35,67,89,20,3,1,2,3,4,5,6,9,34,46,57,68,79,12,23,34,55,1,90,54,34,76,8,23,34,45,56,67,78,12,23,34,45,56,67,768,23,4,5,6,7,8,9,12,34,14,15,16,17,11,7,11,8,4,6,2,5,8,7,10,12,13,14,15,7,8,7,7,345,23,34,45,56,67,1,7,3,6,7,2,3,4,5,6,7,8,9,8,7,6,5,4,2,1,2,3,4,5,6,7,8,9,0,9,8,7,8,7,6,5,4,3,2,1,7] result1 = count_sevens(1, 4, 7) result2 = count_sevens(*nums)
def count_sevens(*args): return args.count(7) nums = [90, 1, 35, 67, 89, 20, 3, 1, 2, 3, 4, 5, 6, 9, 34, 46, 57, 68, 79, 12, 23, 34, 55, 1, 90, 54, 34, 76, 8, 23, 34, 45, 56, 67, 78, 12, 23, 34, 45, 56, 67, 768, 23, 4, 5, 6, 7, 8, 9, 12, 34, 14, 15, 16, 17, 11, 7, 11, 8, 4, 6, 2, 5, 8, 7, 10, 12, 13, 14, 15, 7, 8, 7, 7, 345, 23, 34, 45, 56, 67, 1, 7, 3, 6, 7, 2, 3, 4, 5, 6, 7, 8, 9, 8, 7, 6, 5, 4, 2, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 9, 8, 7, 8, 7, 6, 5, 4, 3, 2, 1, 7] result1 = count_sevens(1, 4, 7) result2 = count_sevens(*nums)
class WebSocketDefine: # Uri = "wss://dstream.binance.com/ws" # testnet Uri = "wss://dstream.binancefuture.com/ws" # testnet new spec # Uri = "wss://sdstream.binancefuture.com/ws" class RestApiDefine: # Url = "https://dapi.binance.com" # testnet Url = "https://testnet.binancefuture.com"
class Websocketdefine: uri = 'wss://dstream.binancefuture.com/ws' class Restapidefine: url = 'https://testnet.binancefuture.com'
class NullLogger: level_name = None def remove(self, handler_id=None): # pragma: no cover pass def add(self, sink, **kwargs): # pragma: no cover pass def disable(self, name): # pragma: no cover pass def enable(self, name): # pragma: no cover pass def critical(self, __message, *args, **kwargs): # pragma: no cover pass def debug(self, __message, *args, **kwargs): # pragma: no cover pass def error(self, __message, *args, **kwargs): # pragma: no cover pass def exception(self, __message, *args, **kwargs): # pragma: no cover pass def info(self, __message, *args, **kwargs): # pragma: no cover pass def log(self, __level, __message, *args, **kwargs): # pragma: no cover pass def success(self, __message, *args, **kwargs): # pragma: no cover pass def trace(self, __message, *args, **kwargs): # pragma: no cover pass def warning(self, __message, *args, **kwargs): # pragma: no cover pass
class Nulllogger: level_name = None def remove(self, handler_id=None): pass def add(self, sink, **kwargs): pass def disable(self, name): pass def enable(self, name): pass def critical(self, __message, *args, **kwargs): pass def debug(self, __message, *args, **kwargs): pass def error(self, __message, *args, **kwargs): pass def exception(self, __message, *args, **kwargs): pass def info(self, __message, *args, **kwargs): pass def log(self, __level, __message, *args, **kwargs): pass def success(self, __message, *args, **kwargs): pass def trace(self, __message, *args, **kwargs): pass def warning(self, __message, *args, **kwargs): pass
# ------------------------------------------------------------------------------ # CONFIG (Change propriately) # ------------------------------------------------------------------------------ # Required token = "please input" post_channel_id = "please input" target_days = 1 # The target range is the sum of days, hours, and minutes. If all zero, 1 day is set as default. target_hours = 0 # The target range is the sum of days, hours, and minutes. If all zero, 1 day is set as default. target_minutes = 0 # The target range is the sum of days, hours, and minutes. If all zero, 1 day is set as default. tz_hours = +9 tz_name = "JST" # Not Required exclude_channel_id = ["if needed, please input"] # When two or more, like this ["one", "tow"] exclude_users_id = ["if needed, please input"] # When two or more, like this ["one", "tow"] exclude_message_subtype = ["if needed, please input"] # When two or more, like this ["channel_join", "channel_leave", "bot_message"] # ------------------------------------------------------------------------------
token = 'please input' post_channel_id = 'please input' target_days = 1 target_hours = 0 target_minutes = 0 tz_hours = +9 tz_name = 'JST' exclude_channel_id = ['if needed, please input'] exclude_users_id = ['if needed, please input'] exclude_message_subtype = ['if needed, please input']
def facto(a): fact=1 while(a>0): fact*=a a-=1 return fact
def facto(a): fact = 1 while a > 0: fact *= a a -= 1 return fact
def is_prime(n: int) -> bool: if n < 2: return False elif n == 2: return True for i in range(2, n): if n % i == 0: return False return True if __name__ == '__main__': m = int(input()) n = int(input()) prime_sum = 0 prime_min = None for i in range(m, n + 1): if is_prime(i) is True: if prime_min is None: prime_min = i prime_sum += i print(f'{prime_sum}\n{prime_min}' if prime_sum > 0 else -1)
def is_prime(n: int) -> bool: if n < 2: return False elif n == 2: return True for i in range(2, n): if n % i == 0: return False return True if __name__ == '__main__': m = int(input()) n = int(input()) prime_sum = 0 prime_min = None for i in range(m, n + 1): if is_prime(i) is True: if prime_min is None: prime_min = i prime_sum += i print(f'{prime_sum}\n{prime_min}' if prime_sum > 0 else -1)
# Define variables a and b. Read values a and b from console and calculate: # a + b # a - b # a * b # a / b # a**b. # Output obtained results. a = int(input("Enter the first number : ")) b = int(input("Enter the second number : ")) print(a + b) print(a - b) print(a * b) print(a / b) print(a**b) print(a%b) print(a//b) print(a**b**a)
a = int(input('Enter the first number : ')) b = int(input('Enter the second number : ')) print(a + b) print(a - b) print(a * b) print(a / b) print(a ** b) print(a % b) print(a // b) print(a ** b ** a)
def validate_pin(pin): if pin.isdigit() and (len(str(pin)) == 4 or len(str(pin)) == 6): return True else: return False;
def validate_pin(pin): if pin.isdigit() and (len(str(pin)) == 4 or len(str(pin)) == 6): return True else: return False
class FizzBuzz(): fizz, buzz = 'Fizz', 'Buzz' @staticmethod def is_mod_three_true(number): return number % 3 == 0 @staticmethod def is_mod_five_true(number): return number % 5 == 0 def is_mod_three_and_five_true(self, number): return self.is_mod_five_true(number) and self.is_mod_three_true(number) def evaluate(self, number): if not isinstance(number, int): raise OurCustomException if self.is_mod_three_and_five_true(number): return "{}{}".format(self.fizz, self.buzz) if self.is_mod_three_true(number): return self.fizz elif self.is_mod_five_true(number): return self.buzz else: return number class OurCustomException(Exception): print("Custom Exception")
class Fizzbuzz: (fizz, buzz) = ('Fizz', 'Buzz') @staticmethod def is_mod_three_true(number): return number % 3 == 0 @staticmethod def is_mod_five_true(number): return number % 5 == 0 def is_mod_three_and_five_true(self, number): return self.is_mod_five_true(number) and self.is_mod_three_true(number) def evaluate(self, number): if not isinstance(number, int): raise OurCustomException if self.is_mod_three_and_five_true(number): return '{}{}'.format(self.fizz, self.buzz) if self.is_mod_three_true(number): return self.fizz elif self.is_mod_five_true(number): return self.buzz else: return number class Ourcustomexception(Exception): print('Custom Exception')
# https://leetcode.com/problems/find-pivot-index class Solution: def pivotIndex(self, nums): if not nums: return -1 l_sum = 0 r_sum = sum(nums) - nums[0] if l_sum == r_sum: return 0 for i in range(1, len(nums)): r_sum -= nums[i] l_sum += nums[i - 1] if r_sum == l_sum: return i return -1
class Solution: def pivot_index(self, nums): if not nums: return -1 l_sum = 0 r_sum = sum(nums) - nums[0] if l_sum == r_sum: return 0 for i in range(1, len(nums)): r_sum -= nums[i] l_sum += nums[i - 1] if r_sum == l_sum: return i return -1
DATABASE_ENGINE = 'sqlite3' INSTALLED_APPS = 'yui_loader', MIDDLEWARE_CLASSES = 'yui_loader.middleware.YUIIncludeMiddleware', ROOT_URLCONF = 'yui_loader.tests.urls' YUI_INCLUDE_BASE = '/js/yui/'
database_engine = 'sqlite3' installed_apps = ('yui_loader',) middleware_classes = ('yui_loader.middleware.YUIIncludeMiddleware',) root_urlconf = 'yui_loader.tests.urls' yui_include_base = '/js/yui/'
params = { # Train "n_epochs": 200, "learning_rate": 1e-4, "adam_beta_1": 0.9, "adam_beta_2": 0.999, "adam_epsilon": 1e-8, "clip_grad_value": 5.0, "evaluate_span": 50, "checkpoint_span": 50, # Early-stopping "no_improve_epochs": 50, # Model "model": "model-mod-8", "n_rnn_layers": 1, "n_rnn_units": 128, "sampling_rate": 100.0, "input_size": 3000, "n_classes": 5, "l2_weight_decay": 1e-3, # Dataset "dataset": "sleepedf", "data_dir": "./data/sleepedf/sleep-cassette/eeg_fpz_cz", "n_folds": 20, "n_subjects": 20, # Data Augmentation "augment_seq": True, "augment_signal_full": True, "weighted_cross_ent": True, } train = params.copy() train.update({ "seq_length": 20, "batch_size": 15, }) predict = params.copy() predict.update({ "batch_size": 1, "seq_length": 1, })
params = {'n_epochs': 200, 'learning_rate': 0.0001, 'adam_beta_1': 0.9, 'adam_beta_2': 0.999, 'adam_epsilon': 1e-08, 'clip_grad_value': 5.0, 'evaluate_span': 50, 'checkpoint_span': 50, 'no_improve_epochs': 50, 'model': 'model-mod-8', 'n_rnn_layers': 1, 'n_rnn_units': 128, 'sampling_rate': 100.0, 'input_size': 3000, 'n_classes': 5, 'l2_weight_decay': 0.001, 'dataset': 'sleepedf', 'data_dir': './data/sleepedf/sleep-cassette/eeg_fpz_cz', 'n_folds': 20, 'n_subjects': 20, 'augment_seq': True, 'augment_signal_full': True, 'weighted_cross_ent': True} train = params.copy() train.update({'seq_length': 20, 'batch_size': 15}) predict = params.copy() predict.update({'batch_size': 1, 'seq_length': 1})
name = "ping" def ping(): print("pong!")
name = 'ping' def ping(): print('pong!')
''' Problem Statement : Lapindromes Link : https://www.codechef.com/LRNDSA01/problems/LAPIN score : accepted ''' for _ in range(int(input())): string = input() mid = len(string)//2 first_half = None second_half = None if len(string)%2==0: first_half = string[:mid] second_half = string[mid:] else: first_half = string[:mid] second_half = string[mid+1:] lapindrome = True char_first = set(first_half) char_second = set(second_half) if char_first == char_second: for ch in first_half: count_first = first_half.count(ch) count_second = second_half.count(ch) if count_first != count_second: lapindrome = False break else: lapindrome = False if lapindrome: print("YES") else: print("NO")
""" Problem Statement : Lapindromes Link : https://www.codechef.com/LRNDSA01/problems/LAPIN score : accepted """ for _ in range(int(input())): string = input() mid = len(string) // 2 first_half = None second_half = None if len(string) % 2 == 0: first_half = string[:mid] second_half = string[mid:] else: first_half = string[:mid] second_half = string[mid + 1:] lapindrome = True char_first = set(first_half) char_second = set(second_half) if char_first == char_second: for ch in first_half: count_first = first_half.count(ch) count_second = second_half.count(ch) if count_first != count_second: lapindrome = False break else: lapindrome = False if lapindrome: print('YES') else: print('NO')
pid_yaw = rm_ctrl.PIDCtrl() pid_pitch = rm_ctrl.PIDCtrl() person_info = None def start(): global person_info global pid_yaw global pid_pitch global pit_chassis robot_ctrl.set_mode(rm_define.robot_mode_chassis_follow) # Enable person detection vision_ctrl.enable_detection(rm_define.vision_detection_people) # Allow chassis movement whilst programm is running chassis_ctrl.enable_stick_overlay() # TODO: Change parameters pid_yaw.set_ctrl_params(115, 0, 5) pid_pitch.set_ctrl_params(85, 0, 3) gimbal_ctrl.set_rotate_speed(30) while True: person_info = vision_ctrl.get_people_detection_info() print(person_info) # if person is detected move gimbal so the person is in the center if person_info[0] != 0: X_mid = person_info[1] Y_mid = person_info[2] pid_yaw.set_error(X_mid - 0.5) pid_pitch.set_error(0.5 - Y_mid) gimbal_ctrl.rotate_with_speed(pid_yaw.get_output(), pid_pitch.get_output()) time.sleep(0.05) else: gimbal_ctrl.stop() time.sleep(0.05)
pid_yaw = rm_ctrl.PIDCtrl() pid_pitch = rm_ctrl.PIDCtrl() person_info = None def start(): global person_info global pid_yaw global pid_pitch global pit_chassis robot_ctrl.set_mode(rm_define.robot_mode_chassis_follow) vision_ctrl.enable_detection(rm_define.vision_detection_people) chassis_ctrl.enable_stick_overlay() pid_yaw.set_ctrl_params(115, 0, 5) pid_pitch.set_ctrl_params(85, 0, 3) gimbal_ctrl.set_rotate_speed(30) while True: person_info = vision_ctrl.get_people_detection_info() print(person_info) if person_info[0] != 0: x_mid = person_info[1] y_mid = person_info[2] pid_yaw.set_error(X_mid - 0.5) pid_pitch.set_error(0.5 - Y_mid) gimbal_ctrl.rotate_with_speed(pid_yaw.get_output(), pid_pitch.get_output()) time.sleep(0.05) else: gimbal_ctrl.stop() time.sleep(0.05)
n, x, y = map(int, input().split()) a = list(map(int, input().split())) for d, ad in enumerate(a): inf = ad + 1 l = max(0, d - x) l_min = min(a[l:d]) if l < d else inf r = min(n - 1, d + y) r_min = min(a[d + 1: r + 1]) if d < r else inf if ad < min(l_min, r_min): print(d + 1) break
(n, x, y) = map(int, input().split()) a = list(map(int, input().split())) for (d, ad) in enumerate(a): inf = ad + 1 l = max(0, d - x) l_min = min(a[l:d]) if l < d else inf r = min(n - 1, d + y) r_min = min(a[d + 1:r + 1]) if d < r else inf if ad < min(l_min, r_min): print(d + 1) break
PATH_DATA = "data/" URI_CSV = f"{PATH_DATA}Dades_meteorol_giques_de_la_XEMA.csv" URI_DELTA = f"{PATH_DATA}weather_data.delta" URI_DELTA_PART = f"{PATH_DATA}weather_data_partition.delta" URI_STATIONS = f"{PATH_DATA}Metadades_estacions_meteorol_giques_autom_tiques.csv" URI_VARS = f"{PATH_DATA}Metadades_variables_meteorol_giques.csv"
path_data = 'data/' uri_csv = f'{PATH_DATA}Dades_meteorol_giques_de_la_XEMA.csv' uri_delta = f'{PATH_DATA}weather_data.delta' uri_delta_part = f'{PATH_DATA}weather_data_partition.delta' uri_stations = f'{PATH_DATA}Metadades_estacions_meteorol_giques_autom_tiques.csv' uri_vars = f'{PATH_DATA}Metadades_variables_meteorol_giques.csv'
MAX_DEPTH = 40 def gcd(a, b): while b != 0: t = b b = a % b a = t return a def play(a, b, turn_a, depth): if depth == 0 or (a == 1 or b == 1): if a == 1 and b == 1: return 0 else: if a == 1: r = 2 elif b == 1: r = 1 else: r = -1 return r g = gcd(a, b) if turn_a: if g == 1: b -= 1 else: p1, p2 = b / g, b - 1 b = None for p in p1, p2: r = play(a, p, False, depth - 1) if r == -1: b = p1 elif r == 1: b = p break if b is None: return 2 else: if g == 1: a -= 1 else: p1, p2 = a / g, a - 1 a = None for p in p1, p2: r = play(p, b, True, depth - 1) if r == -1: a = p1 if r == 2: a = p break if a is None: return 1 return play(a, b, not turn_a, depth - 1) def main(): m = ['Draw', 'Arjit', 'Chandu Don'] t = int(input()) while t > 0: a, b = map(int, input().split()) print(m[play(a, b, True, MAX_DEPTH)]) t -= 1 main()
max_depth = 40 def gcd(a, b): while b != 0: t = b b = a % b a = t return a def play(a, b, turn_a, depth): if depth == 0 or (a == 1 or b == 1): if a == 1 and b == 1: return 0 else: if a == 1: r = 2 elif b == 1: r = 1 else: r = -1 return r g = gcd(a, b) if turn_a: if g == 1: b -= 1 else: (p1, p2) = (b / g, b - 1) b = None for p in (p1, p2): r = play(a, p, False, depth - 1) if r == -1: b = p1 elif r == 1: b = p break if b is None: return 2 elif g == 1: a -= 1 else: (p1, p2) = (a / g, a - 1) a = None for p in (p1, p2): r = play(p, b, True, depth - 1) if r == -1: a = p1 if r == 2: a = p break if a is None: return 1 return play(a, b, not turn_a, depth - 1) def main(): m = ['Draw', 'Arjit', 'Chandu Don'] t = int(input()) while t > 0: (a, b) = map(int, input().split()) print(m[play(a, b, True, MAX_DEPTH)]) t -= 1 main()
#SQL Server details SQL_HOST = 'localhost' SQL_USERNAME = 'root' SQL_PASSWORD = '' #Mongo Server details MONGO_HOST = 'localhost' #Cache details - whether to call a URL once an ingestion script is finished RESET_CACHE = False RESET_CACHE_URL = 'http://example.com/visualization_reload/' #Fab - configuration for deploying to a remote server FAB_HOSTS = [] FAB_GITHUB_URL = 'https://github.com/UQ-UQx/optimus_ingestor.git' FAB_REMOTE_PATH = '/file/to/your/deployment/location' #Ignored services IGNORE_SERVICES = ['extract_sample', 'eventcount', 'daily_count'] #File output OUTPUT_DIRECTORY = '/tmp' DATA_PATHS = ['/data/'] EXPORT_PATH = '/Volumes/VMs/export' #The server where the course information is found SERVER_URL = 'http://dashboard.ceit.uq.edu.au' CLICKSTREAM_PREFIX = 'uqx-edx-events-' DBSTATE_PREFIX = 'UQx-'
sql_host = 'localhost' sql_username = 'root' sql_password = '' mongo_host = 'localhost' reset_cache = False reset_cache_url = 'http://example.com/visualization_reload/' fab_hosts = [] fab_github_url = 'https://github.com/UQ-UQx/optimus_ingestor.git' fab_remote_path = '/file/to/your/deployment/location' ignore_services = ['extract_sample', 'eventcount', 'daily_count'] output_directory = '/tmp' data_paths = ['/data/'] export_path = '/Volumes/VMs/export' server_url = 'http://dashboard.ceit.uq.edu.au' clickstream_prefix = 'uqx-edx-events-' dbstate_prefix = 'UQx-'
def info(): print("Library By : Nishant Singh\n") def show(): print("Hello Guys !!\n Its a sample fun() for Suprath Technologies.\n")
def info(): print('Library By : Nishant Singh\n') def show(): print('Hello Guys !!\n Its a sample fun() for Suprath Technologies.\n')
MYSQL_SERVER="" MYSQL_USER="" MYSQL_PASS="" MYSQL_DB="" UPLOAD_REQUEST_URL=""
mysql_server = '' mysql_user = '' mysql_pass = '' mysql_db = '' upload_request_url = ''
# -*- coding: utf-8 -*- __author__ = 'Erik Castro' __email__ = 'erik@erikcastro.net' __version__ = '0.1.0'
__author__ = 'Erik Castro' __email__ = 'erik@erikcastro.net' __version__ = '0.1.0'
numbers = [12, 4, 9, 10, 7] total = 0 for num in numbers: total = total + num print("total: {}".format(total)) avg = total / len(numbers) print("average: {}".format(avg))
numbers = [12, 4, 9, 10, 7] total = 0 for num in numbers: total = total + num print('total: {}'.format(total)) avg = total / len(numbers) print('average: {}'.format(avg))
# 029 - Write a Python program to print out a set containing all the colors from color_list_1 which are not present in color_list_2. colorInfo_1 = { "White", "Black", "Red", } colorInfo_2 = { "Red", "Green", } print(colorInfo_1 - colorInfo_2)
color_info_1 = {'White', 'Black', 'Red'} color_info_2 = {'Red', 'Green'} print(colorInfo_1 - colorInfo_2)
class Tag(object): def __init__(self, name, action): self.name = name self.action = action
class Tag(object): def __init__(self, name, action): self.name = name self.action = action
class Conta(): def __init__(self,name,id,balance): self.name = name self.id = id self.balance = balance self.extract_list = [] def trasnfer(self, value): self.balance-=value self.extract_list.append(['trasnfer', value]) def deposit(self,value): self.balance+=value self.extract_list.append(['deposit', value]) def extract(self): print(self.extract_list) def painel(self): print("######################") print("## Nome:", self.name,"##") print("## Id:", self.id,"##") print("## balance:", self.balance,"##")
class Conta: def __init__(self, name, id, balance): self.name = name self.id = id self.balance = balance self.extract_list = [] def trasnfer(self, value): self.balance -= value self.extract_list.append(['trasnfer', value]) def deposit(self, value): self.balance += value self.extract_list.append(['deposit', value]) def extract(self): print(self.extract_list) def painel(self): print('######################') print('## Nome:', self.name, '##') print('## Id:', self.id, '##') print('## balance:', self.balance, '##')
def get_IoU(confusion_matrix, label): assert ( label > 0 and label < 7 ), f"The given label {label} has to be between 1 and 6." if confusion_matrix[label - 1, :].sum() == 0: return None # There are -1 everywhere since "Unclassified" is not counted. return confusion_matrix[label - 1, label - 1] / ( confusion_matrix[label - 1, :].sum() + confusion_matrix[:, label - 1].sum() - confusion_matrix[label - 1, label - 1] )
def get__io_u(confusion_matrix, label): assert label > 0 and label < 7, f'The given label {label} has to be between 1 and 6.' if confusion_matrix[label - 1, :].sum() == 0: return None return confusion_matrix[label - 1, label - 1] / (confusion_matrix[label - 1, :].sum() + confusion_matrix[:, label - 1].sum() - confusion_matrix[label - 1, label - 1])
set1 = {10, 20, 30, 40, 50} set2 = {30, 40, 50, 60, 70} set3 = set1.union(set2) print(set3) # set3 = {70, 40, 10, 50, 20, 60, 30} # set1 y set2 se mantienen igual
set1 = {10, 20, 30, 40, 50} set2 = {30, 40, 50, 60, 70} set3 = set1.union(set2) print(set3)
def oriNumb(ori): if(ori=='r'): return 0 elif(ori=='d'): return 1 elif(ori=='l'): return 2 elif(ori=='u'): return 3 def numbOri(numb): if(numb==0): return 'r' elif(numb==1): return 'd' elif(numb==2): return 'l' elif(numb==3): return 'u' def desloc(x,y,ori): des=1 if(ori=='r'): return (x+des,y) elif(ori=='l'): return (x-des,y) elif(ori=='u'): return (x,y-des) elif (ori=='d'): return (x,y+des) def calcTag(lastori,ori): resp=oriNumb(ori)-oriNumb(lastori) if((lastori=='u' and ori=='r')): resp=1 elif((lastori=='r' and ori=='u')): resp=-1 return resp
def ori_numb(ori): if ori == 'r': return 0 elif ori == 'd': return 1 elif ori == 'l': return 2 elif ori == 'u': return 3 def numb_ori(numb): if numb == 0: return 'r' elif numb == 1: return 'd' elif numb == 2: return 'l' elif numb == 3: return 'u' def desloc(x, y, ori): des = 1 if ori == 'r': return (x + des, y) elif ori == 'l': return (x - des, y) elif ori == 'u': return (x, y - des) elif ori == 'd': return (x, y + des) def calc_tag(lastori, ori): resp = ori_numb(ori) - ori_numb(lastori) if lastori == 'u' and ori == 'r': resp = 1 elif lastori == 'r' and ori == 'u': resp = -1 return resp
mult_dict = {} pow_dict = {} def solution(n, m): mult_dict[(m, m)] = 1 for i in range(1, m+1): mult_dict[(m, m-i)] = mult_dict[(m, m-i+1)] * (m-i+1) % 1000000007 for i in range(m+1, 2*n-m+1): mult_dict[(i, m)] = mult_dict[(i-1, m)] * i % 1000000007 mult_dict[(2*n-m, 2*n-m)] = 1 for i in range(2*n-m+1, 2*n+1): mult_dict[(i, 2*n-m)] = mult_dict[(i-1, 2*n-m)] * i % 1000000007 for i in range(m+1): buf = mult_dict[(2 * n - i, 2 * n - m)] * mult_dict[(2 * n - m, m)] % 1000000007 mult_dict[(2 * n - i, m-i)] = buf * mult_dict[(m, m-i)] % 1000000007 pow_dict[0] = 1 for i in range(1, m+1): pow_dict[i] = pow_dict[i-1]*2 % 1000000007 positive = True result = 0 for i in range(m+1): buf = pow_dict[i] * mult_dict[(m, i)] % 1000000007 buf = buf * mult_dict[(2*n-i, m-i)] % 1000000007 result += (1 if positive else -1) * buf result %= 1000000007 positive = not positive return result inFile = open("C-large-practice.in", "r") outFile = open("C.out", "w") T = int(inFile.readline()) for i in range(T): print(i) N, M = map(lambda x: int(x), inFile.readline().split()) outFile.write(f'Case #{i+1}: {solution(N, M)}\n') inFile.close() outFile.close()
mult_dict = {} pow_dict = {} def solution(n, m): mult_dict[m, m] = 1 for i in range(1, m + 1): mult_dict[m, m - i] = mult_dict[m, m - i + 1] * (m - i + 1) % 1000000007 for i in range(m + 1, 2 * n - m + 1): mult_dict[i, m] = mult_dict[i - 1, m] * i % 1000000007 mult_dict[2 * n - m, 2 * n - m] = 1 for i in range(2 * n - m + 1, 2 * n + 1): mult_dict[i, 2 * n - m] = mult_dict[i - 1, 2 * n - m] * i % 1000000007 for i in range(m + 1): buf = mult_dict[2 * n - i, 2 * n - m] * mult_dict[2 * n - m, m] % 1000000007 mult_dict[2 * n - i, m - i] = buf * mult_dict[m, m - i] % 1000000007 pow_dict[0] = 1 for i in range(1, m + 1): pow_dict[i] = pow_dict[i - 1] * 2 % 1000000007 positive = True result = 0 for i in range(m + 1): buf = pow_dict[i] * mult_dict[m, i] % 1000000007 buf = buf * mult_dict[2 * n - i, m - i] % 1000000007 result += (1 if positive else -1) * buf result %= 1000000007 positive = not positive return result in_file = open('C-large-practice.in', 'r') out_file = open('C.out', 'w') t = int(inFile.readline()) for i in range(T): print(i) (n, m) = map(lambda x: int(x), inFile.readline().split()) outFile.write(f'Case #{i + 1}: {solution(N, M)}\n') inFile.close() outFile.close()
def odd_or_even(number: int): if (number % 2) == 0: return "Even" else: return "Odd" if __name__ == "__main__": while True: number = int(input("Number: ")) print(odd_or_even(number))
def odd_or_even(number: int): if number % 2 == 0: return 'Even' else: return 'Odd' if __name__ == '__main__': while True: number = int(input('Number: ')) print(odd_or_even(number))
# # PySNMP MIB module HH3C-L2ISOLATE-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HH3C-L2ISOLATE-MIB # Produced by pysmi-0.3.4 at Wed May 1 13:27:40 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # OctetString, ObjectIdentifier, Integer = mibBuilder.importSymbols("ASN1", "OctetString", "ObjectIdentifier", "Integer") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ValueRangeConstraint, ConstraintsIntersection, ValueSizeConstraint, SingleValueConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "ValueRangeConstraint", "ConstraintsIntersection", "ValueSizeConstraint", "SingleValueConstraint", "ConstraintsUnion") hh3cCommon, = mibBuilder.importSymbols("HH3C-OID-MIB", "hh3cCommon") ModuleCompliance, NotificationGroup = mibBuilder.importSymbols("SNMPv2-CONF", "ModuleCompliance", "NotificationGroup") Integer32, Gauge32, TimeTicks, NotificationType, Bits, MibIdentifier, Counter32, ObjectIdentity, Counter64, Unsigned32, ModuleIdentity, iso, MibScalar, MibTable, MibTableRow, MibTableColumn, IpAddress = mibBuilder.importSymbols("SNMPv2-SMI", "Integer32", "Gauge32", "TimeTicks", "NotificationType", "Bits", "MibIdentifier", "Counter32", "ObjectIdentity", "Counter64", "Unsigned32", "ModuleIdentity", "iso", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "IpAddress") TextualConvention, MacAddress, RowStatus, DisplayString, TruthValue = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "MacAddress", "RowStatus", "DisplayString", "TruthValue") hh3cL2Isolate = ModuleIdentity((1, 3, 6, 1, 4, 1, 25506, 2, 103)) hh3cL2Isolate.setRevisions(('2009-05-06 00:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: hh3cL2Isolate.setRevisionsDescriptions(('Initial version',)) if mibBuilder.loadTexts: hh3cL2Isolate.setLastUpdated('200905060000Z') if mibBuilder.loadTexts: hh3cL2Isolate.setOrganization('Hangzhou H3C Technologies Co., Ltd.') if mibBuilder.loadTexts: hh3cL2Isolate.setContactInfo('Platform Team H3C Technologies Co., Ltd. Hai-Dian District Beijing P.R. China http://www.h3c.com Zip: 100085') if mibBuilder.loadTexts: hh3cL2Isolate.setDescription('The MIB module is used for l2 isolation.') hh3cL2IsolateObject = MibIdentifier((1, 3, 6, 1, 4, 1, 25506, 2, 103, 1)) hh3cL2IsolateEnableTable = MibTable((1, 3, 6, 1, 4, 1, 25506, 2, 103, 1, 1), ) if mibBuilder.loadTexts: hh3cL2IsolateEnableTable.setStatus('current') if mibBuilder.loadTexts: hh3cL2IsolateEnableTable.setDescription('A table for enabling/disabling layer-2-isolate for VLAN.') hh3cL2IsolateEnableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 25506, 2, 103, 1, 1, 1), ).setIndexNames((0, "HH3C-L2ISOLATE-MIB", "hh3cL2IsolateVLANIndex")) if mibBuilder.loadTexts: hh3cL2IsolateEnableEntry.setStatus('current') if mibBuilder.loadTexts: hh3cL2IsolateEnableEntry.setDescription('An entry for enabling/disabling layer-2-isolate for VLAN.') hh3cL2IsolateVLANIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 103, 1, 1, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 4094))) if mibBuilder.loadTexts: hh3cL2IsolateVLANIndex.setStatus('current') if mibBuilder.loadTexts: hh3cL2IsolateVLANIndex.setDescription('Represents index of VLAN for layer-2-isolate.') hh3cL2IsolateEnable = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 103, 1, 1, 1, 2), TruthValue()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hh3cL2IsolateEnable.setStatus('current') if mibBuilder.loadTexts: hh3cL2IsolateEnable.setDescription('Represents the layer-2-isolate status of VLAN.') hh3cL2IsolatePermitMACTable = MibTable((1, 3, 6, 1, 4, 1, 25506, 2, 103, 1, 2), ) if mibBuilder.loadTexts: hh3cL2IsolatePermitMACTable.setStatus('current') if mibBuilder.loadTexts: hh3cL2IsolatePermitMACTable.setDescription('A table represents the permitting MAC address for the specific VLAN.') hh3cL2IsolatePermitMACEntry = MibTableRow((1, 3, 6, 1, 4, 1, 25506, 2, 103, 1, 2, 1), ).setIndexNames((0, "HH3C-L2ISOLATE-MIB", "hh3cL2IsolateVLANIndex"), (0, "HH3C-L2ISOLATE-MIB", "hh3cL2IsoLatePermitMAC")) if mibBuilder.loadTexts: hh3cL2IsolatePermitMACEntry.setStatus('current') if mibBuilder.loadTexts: hh3cL2IsolatePermitMACEntry.setDescription('Each entry represents the permitting MAC address for the specific VLAN.') hh3cL2IsoLatePermitMAC = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 103, 1, 2, 1, 1), MacAddress()) if mibBuilder.loadTexts: hh3cL2IsoLatePermitMAC.setStatus('current') if mibBuilder.loadTexts: hh3cL2IsoLatePermitMAC.setDescription('Represents the MAC address permitted in the VLAN.') hh3cL2IsoLatePermitMACRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 25506, 2, 103, 1, 2, 1, 2), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hh3cL2IsoLatePermitMACRowStatus.setStatus('current') if mibBuilder.loadTexts: hh3cL2IsoLatePermitMACRowStatus.setDescription('RowStatus. Three actions are used: active, CreateAndGo, destroy.') mibBuilder.exportSymbols("HH3C-L2ISOLATE-MIB", hh3cL2IsoLatePermitMACRowStatus=hh3cL2IsoLatePermitMACRowStatus, hh3cL2IsolatePermitMACEntry=hh3cL2IsolatePermitMACEntry, PYSNMP_MODULE_ID=hh3cL2Isolate, hh3cL2IsolatePermitMACTable=hh3cL2IsolatePermitMACTable, hh3cL2IsolateEnable=hh3cL2IsolateEnable, hh3cL2IsolateObject=hh3cL2IsolateObject, hh3cL2IsolateEnableTable=hh3cL2IsolateEnableTable, hh3cL2IsoLatePermitMAC=hh3cL2IsoLatePermitMAC, hh3cL2Isolate=hh3cL2Isolate, hh3cL2IsolateVLANIndex=hh3cL2IsolateVLANIndex, hh3cL2IsolateEnableEntry=hh3cL2IsolateEnableEntry)
(octet_string, object_identifier, integer) = mibBuilder.importSymbols('ASN1', 'OctetString', 'ObjectIdentifier', 'Integer') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (value_range_constraint, constraints_intersection, value_size_constraint, single_value_constraint, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ValueRangeConstraint', 'ConstraintsIntersection', 'ValueSizeConstraint', 'SingleValueConstraint', 'ConstraintsUnion') (hh3c_common,) = mibBuilder.importSymbols('HH3C-OID-MIB', 'hh3cCommon') (module_compliance, notification_group) = mibBuilder.importSymbols('SNMPv2-CONF', 'ModuleCompliance', 'NotificationGroup') (integer32, gauge32, time_ticks, notification_type, bits, mib_identifier, counter32, object_identity, counter64, unsigned32, module_identity, iso, mib_scalar, mib_table, mib_table_row, mib_table_column, ip_address) = mibBuilder.importSymbols('SNMPv2-SMI', 'Integer32', 'Gauge32', 'TimeTicks', 'NotificationType', 'Bits', 'MibIdentifier', 'Counter32', 'ObjectIdentity', 'Counter64', 'Unsigned32', 'ModuleIdentity', 'iso', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'IpAddress') (textual_convention, mac_address, row_status, display_string, truth_value) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'MacAddress', 'RowStatus', 'DisplayString', 'TruthValue') hh3c_l2_isolate = module_identity((1, 3, 6, 1, 4, 1, 25506, 2, 103)) hh3cL2Isolate.setRevisions(('2009-05-06 00:00',)) if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0): if mibBuilder.loadTexts: hh3cL2Isolate.setRevisionsDescriptions(('Initial version',)) if mibBuilder.loadTexts: hh3cL2Isolate.setLastUpdated('200905060000Z') if mibBuilder.loadTexts: hh3cL2Isolate.setOrganization('Hangzhou H3C Technologies Co., Ltd.') if mibBuilder.loadTexts: hh3cL2Isolate.setContactInfo('Platform Team H3C Technologies Co., Ltd. Hai-Dian District Beijing P.R. China http://www.h3c.com Zip: 100085') if mibBuilder.loadTexts: hh3cL2Isolate.setDescription('The MIB module is used for l2 isolation.') hh3c_l2_isolate_object = mib_identifier((1, 3, 6, 1, 4, 1, 25506, 2, 103, 1)) hh3c_l2_isolate_enable_table = mib_table((1, 3, 6, 1, 4, 1, 25506, 2, 103, 1, 1)) if mibBuilder.loadTexts: hh3cL2IsolateEnableTable.setStatus('current') if mibBuilder.loadTexts: hh3cL2IsolateEnableTable.setDescription('A table for enabling/disabling layer-2-isolate for VLAN.') hh3c_l2_isolate_enable_entry = mib_table_row((1, 3, 6, 1, 4, 1, 25506, 2, 103, 1, 1, 1)).setIndexNames((0, 'HH3C-L2ISOLATE-MIB', 'hh3cL2IsolateVLANIndex')) if mibBuilder.loadTexts: hh3cL2IsolateEnableEntry.setStatus('current') if mibBuilder.loadTexts: hh3cL2IsolateEnableEntry.setDescription('An entry for enabling/disabling layer-2-isolate for VLAN.') hh3c_l2_isolate_vlan_index = mib_table_column((1, 3, 6, 1, 4, 1, 25506, 2, 103, 1, 1, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 4094))) if mibBuilder.loadTexts: hh3cL2IsolateVLANIndex.setStatus('current') if mibBuilder.loadTexts: hh3cL2IsolateVLANIndex.setDescription('Represents index of VLAN for layer-2-isolate.') hh3c_l2_isolate_enable = mib_table_column((1, 3, 6, 1, 4, 1, 25506, 2, 103, 1, 1, 1, 2), truth_value()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hh3cL2IsolateEnable.setStatus('current') if mibBuilder.loadTexts: hh3cL2IsolateEnable.setDescription('Represents the layer-2-isolate status of VLAN.') hh3c_l2_isolate_permit_mac_table = mib_table((1, 3, 6, 1, 4, 1, 25506, 2, 103, 1, 2)) if mibBuilder.loadTexts: hh3cL2IsolatePermitMACTable.setStatus('current') if mibBuilder.loadTexts: hh3cL2IsolatePermitMACTable.setDescription('A table represents the permitting MAC address for the specific VLAN.') hh3c_l2_isolate_permit_mac_entry = mib_table_row((1, 3, 6, 1, 4, 1, 25506, 2, 103, 1, 2, 1)).setIndexNames((0, 'HH3C-L2ISOLATE-MIB', 'hh3cL2IsolateVLANIndex'), (0, 'HH3C-L2ISOLATE-MIB', 'hh3cL2IsoLatePermitMAC')) if mibBuilder.loadTexts: hh3cL2IsolatePermitMACEntry.setStatus('current') if mibBuilder.loadTexts: hh3cL2IsolatePermitMACEntry.setDescription('Each entry represents the permitting MAC address for the specific VLAN.') hh3c_l2_iso_late_permit_mac = mib_table_column((1, 3, 6, 1, 4, 1, 25506, 2, 103, 1, 2, 1, 1), mac_address()) if mibBuilder.loadTexts: hh3cL2IsoLatePermitMAC.setStatus('current') if mibBuilder.loadTexts: hh3cL2IsoLatePermitMAC.setDescription('Represents the MAC address permitted in the VLAN.') hh3c_l2_iso_late_permit_mac_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 25506, 2, 103, 1, 2, 1, 2), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hh3cL2IsoLatePermitMACRowStatus.setStatus('current') if mibBuilder.loadTexts: hh3cL2IsoLatePermitMACRowStatus.setDescription('RowStatus. Three actions are used: active, CreateAndGo, destroy.') mibBuilder.exportSymbols('HH3C-L2ISOLATE-MIB', hh3cL2IsoLatePermitMACRowStatus=hh3cL2IsoLatePermitMACRowStatus, hh3cL2IsolatePermitMACEntry=hh3cL2IsolatePermitMACEntry, PYSNMP_MODULE_ID=hh3cL2Isolate, hh3cL2IsolatePermitMACTable=hh3cL2IsolatePermitMACTable, hh3cL2IsolateEnable=hh3cL2IsolateEnable, hh3cL2IsolateObject=hh3cL2IsolateObject, hh3cL2IsolateEnableTable=hh3cL2IsolateEnableTable, hh3cL2IsoLatePermitMAC=hh3cL2IsoLatePermitMAC, hh3cL2Isolate=hh3cL2Isolate, hh3cL2IsolateVLANIndex=hh3cL2IsolateVLANIndex, hh3cL2IsolateEnableEntry=hh3cL2IsolateEnableEntry)
class Solution: # @param {integer} numRows # @return {integer[][]} def getRow(self, numRows): return self.generateResult(numRows+1) def generateResult(self, numRows): if numRows == 0: return [] if numRows == 1: return [1] elif numRows == 2: return [1,1] else: result = self.generateResult(numRows-1) cur = [result[0]] for i in range(1, len(result)): cur.append( result[i-1] + result[i]) cur.append(result[numRows-2]) return cur
class Solution: def get_row(self, numRows): return self.generateResult(numRows + 1) def generate_result(self, numRows): if numRows == 0: return [] if numRows == 1: return [1] elif numRows == 2: return [1, 1] else: result = self.generateResult(numRows - 1) cur = [result[0]] for i in range(1, len(result)): cur.append(result[i - 1] + result[i]) cur.append(result[numRows - 2]) return cur
## print("Hello Kimbo!")
print('Hello Kimbo!')
# The "real" article entry point # Maybe this has external (AWS) dependencies) class Article: def __init__(self): pass def get_article(self, idx): return { "id": idx, "title": "The real title" }
class Article: def __init__(self): pass def get_article(self, idx): return {'id': idx, 'title': 'The real title'}
def test_passwd_file(host): passwd = host.file("/etc/passwd") assert passwd.contains("root") assert passwd.user == "root" assert passwd.group == "root" assert passwd.mode == 0o644 def test_nginx_config_file(host): nginx = host.run("sudo nginx -t") assert nginx.succeedd
def test_passwd_file(host): passwd = host.file('/etc/passwd') assert passwd.contains('root') assert passwd.user == 'root' assert passwd.group == 'root' assert passwd.mode == 420 def test_nginx_config_file(host): nginx = host.run('sudo nginx -t') assert nginx.succeedd
def summation(num): if num == 0: return 0 return num + summation(num - 1) def summation1(num): return sum(range(num + 1)) # Name (time in ns) Min Max Mean StdDev Median IQR Outliers OPS (Mops/s) Rounds Iterations # --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- # test1 159.7404 (1.0) 739.0976 (1.0) 185.8774 (1.0) 42.3062 (1.0) 178.8139 (1.0) 9.5367 (1.0) 2478;2804 5.3799 (1.0) 49933 100 # test 228.8818 (1.43) 1,029.9683 (1.39) 252.6062 (1.36) 53.0119 (1.25) 240.8028 (1.35) 19.0735 (2.00) 2253;2300 3.9587 (0.74) 39946 100
def summation(num): if num == 0: return 0 return num + summation(num - 1) def summation1(num): return sum(range(num + 1))
# Autogenerated file for Dot Matrix # Add missing from ... import const _JD_SERVICE_CLASS_DOT_MATRIX = const(0x110d154b) _JD_DOT_MATRIX_VARIANT_LED = const(0x1) _JD_DOT_MATRIX_VARIANT_BRAILLE = const(0x2) _JD_DOT_MATRIX_REG_DOTS = const(JD_REG_VALUE) _JD_DOT_MATRIX_REG_BRIGHTNESS = const(JD_REG_INTENSITY) _JD_DOT_MATRIX_REG_ROWS = const(0x181) _JD_DOT_MATRIX_REG_COLUMNS = const(0x182) _JD_DOT_MATRIX_REG_VARIANT = const(JD_REG_VARIANT)
_jd_service_class_dot_matrix = const(286070091) _jd_dot_matrix_variant_led = const(1) _jd_dot_matrix_variant_braille = const(2) _jd_dot_matrix_reg_dots = const(JD_REG_VALUE) _jd_dot_matrix_reg_brightness = const(JD_REG_INTENSITY) _jd_dot_matrix_reg_rows = const(385) _jd_dot_matrix_reg_columns = const(386) _jd_dot_matrix_reg_variant = const(JD_REG_VARIANT)
''' File name: p3_utils.py Author: Date: '''
""" File name: p3_utils.py Author: Date: """
# Generate the Fibonacci list, stopping at given value def maxFibonacciValue(n): fib = [1, 2] for i in range(2, int(n)): if(fib[i-1] + fib[i-2] > int(n)): break else: fib.append(fib[i-1] + fib[i-2]) return fib # Calculate even-valued sum def evenFibonacciNumbers(n): sum = 0 for value in maxFibonacciValue(n): if(value % 2 == 0): sum += value return sum if __name__ == "__main__": n = input("Enter a max fibonacci value n: ") print("\nSum of even-valued fibonacci terms below {:,}".format(int(n))) print("{:,}".format(evenFibonacciNumbers(n)))
def max_fibonacci_value(n): fib = [1, 2] for i in range(2, int(n)): if fib[i - 1] + fib[i - 2] > int(n): break else: fib.append(fib[i - 1] + fib[i - 2]) return fib def even_fibonacci_numbers(n): sum = 0 for value in max_fibonacci_value(n): if value % 2 == 0: sum += value return sum if __name__ == '__main__': n = input('Enter a max fibonacci value n: ') print('\nSum of even-valued fibonacci terms below {:,}'.format(int(n))) print('{:,}'.format(even_fibonacci_numbers(n)))
S = ["nwc10_hallway", "nwc1003b_danino", "nwc10", "nwc10m", "nwc8", "nwc7", "nwc4", "outOfLab", "nwc1008", "nwc1006", "nwc1007", "nwc1009", "nwc1010", "nwc1003g", "nwc1003g_a", "nwc1003g_b", "nwc1003g_c", "nwc1003b_a", "nwc1003b_b", "nwc1003b_c", "nwc1003b_t", "nwc1003a", "nwc1003b", "nwc1001l", "nwc1000m_a1", "nwc1000m_a2", "nwc1000m_a3", "nwc1000m_a4", "nwc1000m_a5", "nwc1000m_a6", "nwc1000m_a7", "nwc1000m_a8"]
s = ['nwc10_hallway', 'nwc1003b_danino', 'nwc10', 'nwc10m', 'nwc8', 'nwc7', 'nwc4', 'outOfLab', 'nwc1008', 'nwc1006', 'nwc1007', 'nwc1009', 'nwc1010', 'nwc1003g', 'nwc1003g_a', 'nwc1003g_b', 'nwc1003g_c', 'nwc1003b_a', 'nwc1003b_b', 'nwc1003b_c', 'nwc1003b_t', 'nwc1003a', 'nwc1003b', 'nwc1001l', 'nwc1000m_a1', 'nwc1000m_a2', 'nwc1000m_a3', 'nwc1000m_a4', 'nwc1000m_a5', 'nwc1000m_a6', 'nwc1000m_a7', 'nwc1000m_a8']
class Support(Object): def __init__(self, name, ux = 1, uy = 1, uz = 1, rx = 1, ry = 1, rz = 1): self.name = name self.ux = ux self.uy = uy self.uz = uz self.rx = rx self.ry = ry self.rz = rz
class Support(Object): def __init__(self, name, ux=1, uy=1, uz=1, rx=1, ry=1, rz=1): self.name = name self.ux = ux self.uy = uy self.uz = uz self.rx = rx self.ry = ry self.rz = rz
def display(p): L=[] s="" for i in range (0,9): if(i>=(9-p)): L.append("|---------|") #print" ".join(map(str,L[i])) else: L.append('| |') #s+=" ".join(map(str,L[i])) L.append("-----------") #s+=" ".join(map(str,L[9])) return L def bucket(n): print(">>>>Enter 1 to fill the bucket A \nEnter 2 to fill the bucket B \nEnter 3 to fill the bucket C <<<<") tap=int(input()) #C=raw_input() #p,q,r=8,0,0 if(tap==1): p,q,r=8,0,0 elif(tap==2): p,q,r=0,5,0 elif(tap==3): p,q,r=0,0,3 else: print("First fill the Bucket to play!!!!") print("A = ",p,"B = ",q,"C = ",r) while(n>0 and (tap==1 or tap==2 or tap==3)): a,b=(input().split()) if(a=='A' and b=='B' and p!=0 and q!=5): e=5-q p,q=p-e,q+e sa=display(p) sb=display(q) sc=display(r) for i in range(len(sa)): print(sa[i]+' '+ sb[i]+' '+ sc[i]) print(" ",p," ",q," ",r) elif(a=='A' and b=='C' and p!=0 and r!=3): d=3-r p,r=p-d,r+d sa=display(p) sb=display(q) sc=display(r) for i in range(len(sa)): print(sa[i]+' '+ sb[i]+' '+ sc[i]) print(" ",p," ",q," ",r) elif(a=='B' and b=='C' and q!=0 and r!=3): c=3-r if(c<q): q,r=q-c,r+c else: q,r=0,r+q sa=display(p) sb=display(q) sc=display(r) for i in range(len(sa)): print(sa[i]+' '+ sb[i]+' '+ sc[i]) print(" ",p," ",q," ",r) elif(a=='B' and b=='A' and q!=0): p=p+q q=0 sa=display(p) sb=display(q) sc=display(r) for i in range(len(sa)): print(sa[i]+' '+ sb[i]+' '+ sc[i]) print(" ",p," ",q," ",r) elif(a=='C' and b=='A' and r!=0): p=p+r r=0 sa=display(p) sb=display(q) sc=display(r) for i in range(len(sa)): print(sa[i]+' '+ sb[i]+' '+ sc[i]) print(" ",p," ",q," ",r) elif(a=='C' and b=='B' and r!=0 and q!=5): g=5-q if(g<r): r,q=r-g,q+g else: q,r=q+r,0 sa=display(p) sb=display(q) sc=display(r) for i in range(len(sa)): print(sa[i]+' '+ sb[i]+' '+ sc[i]) print(" ",p," ",q," ",r) else: print("Wrong Move!!!") n=n-1 if(p==4 and q==4): if(n==7): return 1 else: return 2 return 0 ch='Y' while(ch!='N'): print("Rules: You are allowed to enter either 'A' or 'B' or 'C' \nJust enter your moves : From which the bucket is emptied to the bucket getting filled..") print("Let's start the game...") print("-------------------------------------------------------------------------------------------------------------") print("A B C are buckets of 8ltr 5ltr and 3ltr \nMake 4ltrs in any one bucket") buck=bucket(14) if(buck==1): print("You Won in minimum steps Congo!!!!!!!") elif(buck==2): print("You won ....but try to do in minimum steps....better luck next time!!!") else: print("You lose !!!!!!!") print("Do You wish to play another game? Press Y or N only") ch=input()
def display(p): l = [] s = '' for i in range(0, 9): if i >= 9 - p: L.append('|---------|') else: L.append('| |') L.append('-----------') return L def bucket(n): print('>>>>Enter 1 to fill the bucket A \nEnter 2 to fill the bucket B \nEnter 3 to fill the bucket C <<<<') tap = int(input()) if tap == 1: (p, q, r) = (8, 0, 0) elif tap == 2: (p, q, r) = (0, 5, 0) elif tap == 3: (p, q, r) = (0, 0, 3) else: print('First fill the Bucket to play!!!!') print('A = ', p, 'B = ', q, 'C = ', r) while n > 0 and (tap == 1 or tap == 2 or tap == 3): (a, b) = input().split() if a == 'A' and b == 'B' and (p != 0) and (q != 5): e = 5 - q (p, q) = (p - e, q + e) sa = display(p) sb = display(q) sc = display(r) for i in range(len(sa)): print(sa[i] + ' ' + sb[i] + ' ' + sc[i]) print(' ', p, ' ', q, ' ', r) elif a == 'A' and b == 'C' and (p != 0) and (r != 3): d = 3 - r (p, r) = (p - d, r + d) sa = display(p) sb = display(q) sc = display(r) for i in range(len(sa)): print(sa[i] + ' ' + sb[i] + ' ' + sc[i]) print(' ', p, ' ', q, ' ', r) elif a == 'B' and b == 'C' and (q != 0) and (r != 3): c = 3 - r if c < q: (q, r) = (q - c, r + c) else: (q, r) = (0, r + q) sa = display(p) sb = display(q) sc = display(r) for i in range(len(sa)): print(sa[i] + ' ' + sb[i] + ' ' + sc[i]) print(' ', p, ' ', q, ' ', r) elif a == 'B' and b == 'A' and (q != 0): p = p + q q = 0 sa = display(p) sb = display(q) sc = display(r) for i in range(len(sa)): print(sa[i] + ' ' + sb[i] + ' ' + sc[i]) print(' ', p, ' ', q, ' ', r) elif a == 'C' and b == 'A' and (r != 0): p = p + r r = 0 sa = display(p) sb = display(q) sc = display(r) for i in range(len(sa)): print(sa[i] + ' ' + sb[i] + ' ' + sc[i]) print(' ', p, ' ', q, ' ', r) elif a == 'C' and b == 'B' and (r != 0) and (q != 5): g = 5 - q if g < r: (r, q) = (r - g, q + g) else: (q, r) = (q + r, 0) sa = display(p) sb = display(q) sc = display(r) for i in range(len(sa)): print(sa[i] + ' ' + sb[i] + ' ' + sc[i]) print(' ', p, ' ', q, ' ', r) else: print('Wrong Move!!!') n = n - 1 if p == 4 and q == 4: if n == 7: return 1 else: return 2 return 0 ch = 'Y' while ch != 'N': print("Rules: You are allowed to enter either 'A' or 'B' or 'C' \nJust enter your moves : From which the bucket is emptied to the bucket getting filled..") print("Let's start the game...") print('-------------------------------------------------------------------------------------------------------------') print('A B C are buckets of 8ltr 5ltr and 3ltr \nMake 4ltrs in any one bucket') buck = bucket(14) if buck == 1: print('You Won in minimum steps Congo!!!!!!!') elif buck == 2: print('You won ....but try to do in minimum steps....better luck next time!!!') else: print('You lose !!!!!!!') print('Do You wish to play another game? Press Y or N only') ch = input()
#!/usr/bin/env python # coding: utf-8 # This notebook was prepared by [Donne Martin](https://github.com/donnemartin). Source and license info is on [GitHub](https://github.com/donnemartin/interactive-coding-challenges). # # Solution Notebook # ## Problem: Given a magazine, see if a ransom note could have been written using the letters in the magazine. # # * [Constraints](#Constraints) # * [Test Cases](#Test-Cases) # * [Algorithm](#Algorithm) # * [Code](#Code) # * [Unit Test](#Unit-Test) # ## Constraints # # * Is this case sensitive? # * Yes # * Can we assume we're working with ASCII characters? # * Yes # * Can we scan the entire magazine, or should we scan only when necessary? # * You can scan the entire magazine # * Can we assume the inputs are valid? # * No # * Can we assume this fits memory? # * Yes # ## Test Cases # # * None -> Exception # * '', '' -> Exception # * 'a', 'b' -> False # * 'aa', 'ab' -> False # * 'aa', 'aab' -> True # ## Algorithm # # * Build a dictionary of the magazine characters and counts. # * Loop through each letter in the ransom note and see if there are enough letters in the magazine's dictionary. # * Note: You could make this more efficient by not scanning the entire magazine all at once, but instead scan just in time as you run out of letters in the dictionary. # # Complexity: # * Time: O(n+m), where n is the length of the ransom note and m is the length of the magazine # * Space: O(n+m) # ## Code # In[1]: class Solution(object): def match_note_to_magazine(self, ransom_note, magazine): if ransom_note is None or magazine is None: raise TypeError('ransom_note or magazine cannot be None') seen_chars = {} for char in magazine: if char in seen_chars: seen_chars[char] += 1 else: seen_chars[char] = 1 for char in ransom_note: try: seen_chars[char] -= 1 except KeyError: return False if seen_chars[char] < 0: return False return True # ## Unit Test # In[2]: get_ipython().run_cell_magic('writefile', 'test_ransom_note.py', "import unittest\n\n\nclass TestRansomNote(unittest.TestCase):\n\n def test_ransom_note(self):\n solution = Solution()\n self.assertRaises(TypeError, solution.match_note_to_magazine, None, None)\n self.assertEqual(solution.match_note_to_magazine('', ''), True)\n self.assertEqual(solution.match_note_to_magazine('a', 'b'), False)\n self.assertEqual(solution.match_note_to_magazine('aa', 'ab'), False)\n self.assertEqual(solution.match_note_to_magazine('aa', 'aab'), True)\n print('Success: test_ransom_note')\n\n\ndef main():\n test = TestRansomNote()\n test.test_ransom_note()\n\n\nif __name__ == '__main__':\n main()") # In[3]: get_ipython().run_line_magic('run', '-i test_ransom_note.py')
class Solution(object): def match_note_to_magazine(self, ransom_note, magazine): if ransom_note is None or magazine is None: raise type_error('ransom_note or magazine cannot be None') seen_chars = {} for char in magazine: if char in seen_chars: seen_chars[char] += 1 else: seen_chars[char] = 1 for char in ransom_note: try: seen_chars[char] -= 1 except KeyError: return False if seen_chars[char] < 0: return False return True get_ipython().run_cell_magic('writefile', 'test_ransom_note.py', "import unittest\n\n\nclass TestRansomNote(unittest.TestCase):\n\n def test_ransom_note(self):\n solution = Solution()\n self.assertRaises(TypeError, solution.match_note_to_magazine, None, None)\n self.assertEqual(solution.match_note_to_magazine('', ''), True)\n self.assertEqual(solution.match_note_to_magazine('a', 'b'), False)\n self.assertEqual(solution.match_note_to_magazine('aa', 'ab'), False)\n self.assertEqual(solution.match_note_to_magazine('aa', 'aab'), True)\n print('Success: test_ransom_note')\n\n\ndef main():\n test = TestRansomNote()\n test.test_ransom_note()\n\n\nif __name__ == '__main__':\n main()") get_ipython().run_line_magic('run', '-i test_ransom_note.py')
# Modify the code inside this loop to stop when i is greater than zero and exactly divisible by 11 for i in range(0, 100, 7): print(i) if i > 0 and i % 11 == 0: break
for i in range(0, 100, 7): print(i) if i > 0 and i % 11 == 0: break
# We are given an array A of size n that is sorted in ascending order, containing different # natural numbers in pairs. Find algorithm that checks if there is such an index i that A[i] == i. # What will change if the numbers are integers, not necessarily natural numbers? # Natural numbers def is_index_equal_to_number_natural(T): if T[0] == 0: return True else: return False # Integer numbers def is_index_equal_to_number_integer(T): start = 0 end = len(T) - 1 while start <= end: mid = (start + end) // 2 if T[mid] == mid: return True elif T[mid] > mid: end = mid - 1 else: start = mid + 1 return False natural_numbers = [2, 4, 6, 7, 9, 11, 12, 15, 16, 37, 56, 87, 94, 98] integer_numbers = [-10, -6, -4, -1, 2, 5, 12, 23, 34, 54, 57, 67, 79] print(is_index_equal_to_number_natural(natural_numbers)) print(is_index_equal_to_number_integer(integer_numbers))
def is_index_equal_to_number_natural(T): if T[0] == 0: return True else: return False def is_index_equal_to_number_integer(T): start = 0 end = len(T) - 1 while start <= end: mid = (start + end) // 2 if T[mid] == mid: return True elif T[mid] > mid: end = mid - 1 else: start = mid + 1 return False natural_numbers = [2, 4, 6, 7, 9, 11, 12, 15, 16, 37, 56, 87, 94, 98] integer_numbers = [-10, -6, -4, -1, 2, 5, 12, 23, 34, 54, 57, 67, 79] print(is_index_equal_to_number_natural(natural_numbers)) print(is_index_equal_to_number_integer(integer_numbers))
class Solution: def jump(self, nums: List[int]) -> int: n, start, end, ans, amax = len(nums)-1, 0, 0, 0, 0 while True: for i in range(end, start-1, -1): if i >= n: return ans amax = max(amax, i+nums[i]) start = end + 1 end = amax ans += 1
class Solution: def jump(self, nums: List[int]) -> int: (n, start, end, ans, amax) = (len(nums) - 1, 0, 0, 0, 0) while True: for i in range(end, start - 1, -1): if i >= n: return ans amax = max(amax, i + nums[i]) start = end + 1 end = amax ans += 1
with open('input/day6.txt', 'r', encoding='utf8') as file: fish_list = [int(value) for value in file.read().split(',')] population = [0,0,0,0,0,0,0,0,0] for fish in fish_list: population[fish] += 1 for day in range(1, 257): population = population[1:] + population[:1] population[6] += population[8] if day == 80: print(sum(population)) print(sum(population))
with open('input/day6.txt', 'r', encoding='utf8') as file: fish_list = [int(value) for value in file.read().split(',')] population = [0, 0, 0, 0, 0, 0, 0, 0, 0] for fish in fish_list: population[fish] += 1 for day in range(1, 257): population = population[1:] + population[:1] population[6] += population[8] if day == 80: print(sum(population)) print(sum(population))
name0_0_1_1_0_2_0 = None name0_0_1_1_0_2_1 = None name0_0_1_1_0_2_2 = None name0_0_1_1_0_2_3 = None name0_0_1_1_0_2_4 = None
name0_0_1_1_0_2_0 = None name0_0_1_1_0_2_1 = None name0_0_1_1_0_2_2 = None name0_0_1_1_0_2_3 = None name0_0_1_1_0_2_4 = None
names = ['Christopher', 'Susan'] scores = [] scores.append(98) scores.append(99) print(names) print(scores)
names = ['Christopher', 'Susan'] scores = [] scores.append(98) scores.append(99) print(names) print(scores)
# Copyright 2017 BBVA # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. class ApitestError(Exception): # noqa pass class ApitestMissingDataError(Exception): pass class ApitestInvalidFormatError(Exception): pass class ApitestValueError(ValueError): pass class ApitestTypeError(TypeError): pass class ApitestUnknownTypeError(TypeError): pass class ApitestConnectionError(ConnectionError): pass class ApitestNotFoundError(FileNotFoundError): pass __all__ = ("ApitestError", "ApitestValueError", "ApitestTypeError", "ApitestUnknownTypeError", "ApitestConnectionError", "ApitestInvalidFormatError", "ApitestNotFoundError", "ApitestMissingDataError")
class Apitesterror(Exception): pass class Apitestmissingdataerror(Exception): pass class Apitestinvalidformaterror(Exception): pass class Apitestvalueerror(ValueError): pass class Apitesttypeerror(TypeError): pass class Apitestunknowntypeerror(TypeError): pass class Apitestconnectionerror(ConnectionError): pass class Apitestnotfounderror(FileNotFoundError): pass __all__ = ('ApitestError', 'ApitestValueError', 'ApitestTypeError', 'ApitestUnknownTypeError', 'ApitestConnectionError', 'ApitestInvalidFormatError', 'ApitestNotFoundError', 'ApitestMissingDataError')
''' pattern Enter number of rows: 5 54321 4321 321 21 1 ''' print('pattern: ') number_row=int(input('Enter number of rows: ')) for row in range(number_row,0,-1): for column in range(row,number_row): print(' ',end=' ') for column in range(row,0,-1): if column < 10: print(f'0{column}',end=' ') else: print(column,end=' ') print()
""" pattern Enter number of rows: 5 54321 4321 321 21 1 """ print('pattern: ') number_row = int(input('Enter number of rows: ')) for row in range(number_row, 0, -1): for column in range(row, number_row): print(' ', end=' ') for column in range(row, 0, -1): if column < 10: print(f'0{column}', end=' ') else: print(column, end=' ') print()
num1 = 00 num2 = 200 for n in range(num1, num2 + 1): if n > 1: for i in range(2, n): if (n % i) == 0: break else: print(n)
num1 = 0 num2 = 200 for n in range(num1, num2 + 1): if n > 1: for i in range(2, n): if n % i == 0: break else: print(n)
# This program displays property taxes. TAX_FACTOR = 0.0065 print('Enter the property lot number') print('or enter 0 to end.') lot = int(input('Lot number: ')) while lot != 0: value = float(input('Enter the property value: ')) tax = value * TAX_FACTOR print('Property tax: $', format(tax, ',.2f'), sep='') print('Enter the next lot number or') print('enter 0 to end.') lot = int(input('Lot number: '))
tax_factor = 0.0065 print('Enter the property lot number') print('or enter 0 to end.') lot = int(input('Lot number: ')) while lot != 0: value = float(input('Enter the property value: ')) tax = value * TAX_FACTOR print('Property tax: $', format(tax, ',.2f'), sep='') print('Enter the next lot number or') print('enter 0 to end.') lot = int(input('Lot number: '))
def bingo_sort(L): minValue = min(L) maxValue = max(L) bingo = minValue next_bingo = maxValue nextIndex = 0 while bingo < maxValue: startPosition = nextIndex for i in range(startPosition, len(L)): if L[i] == bingo: L[i], L[nextIndex] = L[nextIndex], L[i] ; nextIndex += 1 #BINGO if L[i] < next_bingo: next_bingo = L[i] bingo = next_bingo next_bingo = maxValue L = [1,4,2,5,7,2,4,2,4,1,8,9,2,0,0,1,2,3,5,4,4,4,3,1,1,1,1,1] bingo_sort(L) print(L)
def bingo_sort(L): min_value = min(L) max_value = max(L) bingo = minValue next_bingo = maxValue next_index = 0 while bingo < maxValue: start_position = nextIndex for i in range(startPosition, len(L)): if L[i] == bingo: (L[i], L[nextIndex]) = (L[nextIndex], L[i]) next_index += 1 if L[i] < next_bingo: next_bingo = L[i] bingo = next_bingo next_bingo = maxValue l = [1, 4, 2, 5, 7, 2, 4, 2, 4, 1, 8, 9, 2, 0, 0, 1, 2, 3, 5, 4, 4, 4, 3, 1, 1, 1, 1, 1] bingo_sort(L) print(L)
# You are given two integer arrays nums1 and nums2 both of unique elements, # where nums1 is a subset of nums2. # Find all the next greater numbers for nums1's elements in the corresponding # places of nums2. # The Next Greater Number of a number x in nums1 is the first greater number to # its right in nums2. If it does not exist, return -1 for this number. # Example 1: # Input: nums1 = [4,1,2], nums2 = [1,3,4,2] # Output: [-1,3,-1] # Explanation: # For number 4 in the first array, you cannot find the next greater number for # it in the second array, so output -1. # For number 1 in the first array, the next greater number for it in the # second array is 3. # For number 2 in the first array, there is no next greater number for it in # the second array, so output -1. # Example 2: # Input: nums1 = [2,4], nums2 = [1,2,3,4] # Output: [3,-1] # Explanation: # For number 2 in the first array, the next greater number for it in the # second array is 3. # For number 4 in the first array, there is no next greater number for it in # the second array, so output -1. # Solution 1 -- Hashmap and Stack class Solution_1: def nextGreaterElement(nums1, nums2): if not nums1 or not nums2: return [] map1 = {} stack = [nums2[0]] for ind in range(1, len(nums2)): while(stack and nums2[ind] > stack[-1]): map1[stack.pop()] = nums2[ind] stack.append(nums2[ind]) for key in stack: map1[key] = -1 return [map1[key] for key in nums1]
class Solution_1: def next_greater_element(nums1, nums2): if not nums1 or not nums2: return [] map1 = {} stack = [nums2[0]] for ind in range(1, len(nums2)): while stack and nums2[ind] > stack[-1]: map1[stack.pop()] = nums2[ind] stack.append(nums2[ind]) for key in stack: map1[key] = -1 return [map1[key] for key in nums1]
#encoding:utf-8 subreddit = 'arabfunny' t_channel = '@r_Arabfunny' def send_post(submission, r2t): return r2t.send_simple(submission)
subreddit = 'arabfunny' t_channel = '@r_Arabfunny' def send_post(submission, r2t): return r2t.send_simple(submission)
#!/usr/local/bin/python2 arquivo = open('pessoas.csv') for registro in arquivo: print('nome: {}, idade: {}'.format(*registro.split(','))) arquivo.close() print("ola mundo")
arquivo = open('pessoas.csv') for registro in arquivo: print('nome: {}, idade: {}'.format(*registro.split(','))) arquivo.close() print('ola mundo')
# Combination Sum III ''' Find all possible combinations of k numbers that add up to a number n, given that only numbers from 1 to 9 can be used and each combination should be a unique set of numbers. Note: All numbers will be positive integers. The solution set must not contain duplicate combinations. Example 1: Input: k = 3, n = 7 Output: [[1,2,4]] Example 2: Input: k = 3, n = 9 Output: [[1,2,6], [1,3,5], [2,3,4]] ''' class Solution: def combinationSum3(self, k: int, n: int) -> List[List[int]]: ans = [] def rec(r, ns, comb): if r==0 and len(comb)==k: ans.append(comb) return if len(comb)==k: return for i in range(ns, 10): rec(r-i, i+1, comb+[i]) rec(n, 1,[]) return ans
""" Find all possible combinations of k numbers that add up to a number n, given that only numbers from 1 to 9 can be used and each combination should be a unique set of numbers. Note: All numbers will be positive integers. The solution set must not contain duplicate combinations. Example 1: Input: k = 3, n = 7 Output: [[1,2,4]] Example 2: Input: k = 3, n = 9 Output: [[1,2,6], [1,3,5], [2,3,4]] """ class Solution: def combination_sum3(self, k: int, n: int) -> List[List[int]]: ans = [] def rec(r, ns, comb): if r == 0 and len(comb) == k: ans.append(comb) return if len(comb) == k: return for i in range(ns, 10): rec(r - i, i + 1, comb + [i]) rec(n, 1, []) return ans
class Solution: def canConstruct(self, ransomNote: str, magazine: str) -> bool: ransomNote = sorted(ransomNote) magazine = sorted(magazine) i = j = 0 while i < len(ransomNote) and j < len(magazine): if ransomNote[i] == magazine[j]: i += 1 elif ransomNote[i] < magazine[j]: return False j += 1 return i == len(ransomNote) if __name__ == "__main__": solver = Solution() print(solver.canConstruct(ransomNote="a", magazine="b")) print(solver.canConstruct(ransomNote="aa", magazine="ab")) print(solver.canConstruct(ransomNote="aa", magazine="aab"))
class Solution: def can_construct(self, ransomNote: str, magazine: str) -> bool: ransom_note = sorted(ransomNote) magazine = sorted(magazine) i = j = 0 while i < len(ransomNote) and j < len(magazine): if ransomNote[i] == magazine[j]: i += 1 elif ransomNote[i] < magazine[j]: return False j += 1 return i == len(ransomNote) if __name__ == '__main__': solver = solution() print(solver.canConstruct(ransomNote='a', magazine='b')) print(solver.canConstruct(ransomNote='aa', magazine='ab')) print(solver.canConstruct(ransomNote='aa', magazine='aab'))
# File: P (Python 2.4) protectedStates = [ 'Injured'] overrideStates = [ 'ThrownInJail']
protected_states = ['Injured'] override_states = ['ThrownInJail']
print("You will meet two people - one is the sweet shop owner who wants to steal the password so he can keep the sweets.") print() playername=input("What is your name? ") print("Welcome "+ playername)
print('You will meet two people - one is the sweet shop owner who wants to steal the password so he can keep the sweets.') print() playername = input('What is your name? ') print('Welcome ' + playername)
# https://leetcode.com/problems/next-greater-node-in-linked-list/discuss/265508/JavaC%2B%2BPython-Next-Greater-Element class Solution: def nextLargerNodes(self, head): res, stack = [], [] while head: while stack and stack[-1][1] < head.val: res[stack.pop()[0]] = head.val stack.append([len(res), head.val]) res.append(0) head = head.next return res # O(N^2) time complexity doesn't pass :( # if not head: # return [] # out = [] # curr = head # while curr: # explorer = curr.next # while explorer and explorer.val <= curr.val: # explorer = explorer.next # if explorer: # out.append(explorer.val) # else: # out.append(0) # curr = curr.next # return out
class Solution: def next_larger_nodes(self, head): (res, stack) = ([], []) while head: while stack and stack[-1][1] < head.val: res[stack.pop()[0]] = head.val stack.append([len(res), head.val]) res.append(0) head = head.next return res
message = "Hello Python world!" print(message) message = "Hello Python Crash Course world!" print(message) mesage = "Hello Python Crash Course reader!" print(mesage)
message = 'Hello Python world!' print(message) message = 'Hello Python Crash Course world!' print(message) mesage = 'Hello Python Crash Course reader!' print(mesage)
n = int(input()) l = list(map(int, input().split())) flag = 0 for i in range(1,max(l)+1): for j in range(n): if i>l[j]: l[j] = 0 for j in range(n-1): if l[j] == l[j+1]==0 or l[n-1]==0 or l[0] == 0: flag = 1 break if flag == 1: break if n==1: print(l[0]) else: print(i-1) # n=int(input()) # l=list(map(int,input().split())) # i=1 # ll=l[0] # while(i<n-1): # if (l[i]>l[i+1]): # if l[i]<ll: # ll=l[i] # i+=1 # else: # if l[i+1]<ll: # ll=l[i+1] # i+=2 # if l[n-1]<ll: # ll=l[n-1] # print(ll)
n = int(input()) l = list(map(int, input().split())) flag = 0 for i in range(1, max(l) + 1): for j in range(n): if i > l[j]: l[j] = 0 for j in range(n - 1): if l[j] == l[j + 1] == 0 or l[n - 1] == 0 or l[0] == 0: flag = 1 break if flag == 1: break if n == 1: print(l[0]) else: print(i - 1)
# NPTEL WEEK 3 PROGRAMMING ASSIGNMENT def ascending(l): if len(l)==0: return(True) for i in range(len(l)-1,0,-1): if l[i]<l[i-1]: return(False) return(True) #print(ascending([2,3,4,5,1])) #print(ascending([1,2,3,4,5,5])) def valley(l): if len(l)<3: return(False) for i in range(0,len(l),1): if i==len(l)-1: return(False) if l[i]==l[i+1]: return(False) if l[i]<l[i+1]: break if len(l[i:])<2: return(False) for j in range(i,len(l),1): if j==len(l)-1: return(True) if l[j]==l[j+1]: return(False) if l[j]>l[j+1]: return(False) #print(valley([3,2,1,2,3])) #print(valley([3,3,2,3])) #print(valley([5,4,3,2,1,2])) #print(valley([17,1,2,3,4,5])) #print(valley([13,12,14,14])) def transpose(A): B = [] C = [] col = len(A[0]) row = len(A) for i in range(col): C = [] for j in range(row): C.append(A[j][i]) B.append(C) return(B) #print(transpose([[1,4,9]])) #print(transpose([[1,3,5],[2,4,6]])) #print(transpose([[1,2]]))
def ascending(l): if len(l) == 0: return True for i in range(len(l) - 1, 0, -1): if l[i] < l[i - 1]: return False return True def valley(l): if len(l) < 3: return False for i in range(0, len(l), 1): if i == len(l) - 1: return False if l[i] == l[i + 1]: return False if l[i] < l[i + 1]: break if len(l[i:]) < 2: return False for j in range(i, len(l), 1): if j == len(l) - 1: return True if l[j] == l[j + 1]: return False if l[j] > l[j + 1]: return False def transpose(A): b = [] c = [] col = len(A[0]) row = len(A) for i in range(col): c = [] for j in range(row): C.append(A[j][i]) B.append(C) return B
def single_number(arr): arr.sort() idx = 0 while idx < len(arr): try: if arr[idx] != arr[idx + 1]: return arr[idx] except IndexError: return arr[idx] idx += 2
def single_number(arr): arr.sort() idx = 0 while idx < len(arr): try: if arr[idx] != arr[idx + 1]: return arr[idx] except IndexError: return arr[idx] idx += 2
# interp.py ''' Interpreter Project =================== This is an interpreter than can run wabbit programs directly from the generated IR code. To run a program use:: bash % python3 -m wabbit.interp someprogram.wb '''
""" Interpreter Project =================== This is an interpreter than can run wabbit programs directly from the generated IR code. To run a program use:: bash % python3 -m wabbit.interp someprogram.wb """
cityFile = open("Lecture5_NumpyMatplotScipy/ornek.txt") cityArr = cityFile.read().split("\n") cityDict = {} for line in cityArr: info = line.split(",") cityName = info[0] day = int(info[1]) rainfall = float(info[2]) if cityName in cityDict.keys(): days = cityDict[cityName] days[day] = rainfall else: cityDict[cityName] = {day: rainfall} for name in cityDict.keys(): min = 99999 max = -9999 sum = 0 for value in cityDict[name].values(): if value > max: max = value if value < min: min = value sum += value avg = sum / len(cityDict[name].values()) print(f'{name}:\nmin: {min}\nmax: {max}\n average: {avg}')
city_file = open('Lecture5_NumpyMatplotScipy/ornek.txt') city_arr = cityFile.read().split('\n') city_dict = {} for line in cityArr: info = line.split(',') city_name = info[0] day = int(info[1]) rainfall = float(info[2]) if cityName in cityDict.keys(): days = cityDict[cityName] days[day] = rainfall else: cityDict[cityName] = {day: rainfall} for name in cityDict.keys(): min = 99999 max = -9999 sum = 0 for value in cityDict[name].values(): if value > max: max = value if value < min: min = value sum += value avg = sum / len(cityDict[name].values()) print(f'{name}:\nmin: {min}\nmax: {max}\n average: {avg}')
def print_keyword_args(**kwargs): print('\n') for key, value in kwargs.items(): print(f'{key} = {value}') third = kwargs.get('third', None) if third != None: print('third arg =', third) print_keyword_args(first='a') print_keyword_args(first='b', second='c') print_keyword_args(first='d', second='e', third='f')
def print_keyword_args(**kwargs): print('\n') for (key, value) in kwargs.items(): print(f'{key} = {value}') third = kwargs.get('third', None) if third != None: print('third arg =', third) print_keyword_args(first='a') print_keyword_args(first='b', second='c') print_keyword_args(first='d', second='e', third='f')
class ShylockAsyncBackend: @staticmethod def _check(): raise NotImplementedError() async def acquire(self, name: str, block: bool = True): raise NotImplementedError() async def release(self, name: str): raise NotImplementedError() class ShylockSyncBackend: @staticmethod def _check(): raise NotImplementedError() def acquire(self, name: str, block: bool = True): raise NotImplementedError() def release(self, name: str): raise NotImplementedError()
class Shylockasyncbackend: @staticmethod def _check(): raise not_implemented_error() async def acquire(self, name: str, block: bool=True): raise not_implemented_error() async def release(self, name: str): raise not_implemented_error() class Shylocksyncbackend: @staticmethod def _check(): raise not_implemented_error() def acquire(self, name: str, block: bool=True): raise not_implemented_error() def release(self, name: str): raise not_implemented_error()
class Solution: # O(n) time | O(1) space def minStartValue(self, nums: List[int]) -> int: minSum, currentSum = nums[0], 0 for num in nums: currentSum += num minSum = min(minSum, currentSum) if minSum < 0: return abs(minSum) + 1 else: return 1
class Solution: def min_start_value(self, nums: List[int]) -> int: (min_sum, current_sum) = (nums[0], 0) for num in nums: current_sum += num min_sum = min(minSum, currentSum) if minSum < 0: return abs(minSum) + 1 else: return 1
class TrieNode(object): def __init__(self): self.children = {} self.is_word = False class Trie(object): def __init__(self): self.root = TrieNode() def insert(self, word): curr = self.root for letter in word: if word in curr.children: curr = curr.children[letter] else: new_node = TrieNode() curr.children[letter] = new_node curr = new_node curr.is_word = True def search(self, word): curr = self.root for letter in word: if letter not in curr.children: return False curr = curr.children[letter] return curr.is_word def startsWith(self, prefix): curr = self.root for letter in word: if letter not in curr.children: return False curr = curr.children[letter] return True
class Trienode(object): def __init__(self): self.children = {} self.is_word = False class Trie(object): def __init__(self): self.root = trie_node() def insert(self, word): curr = self.root for letter in word: if word in curr.children: curr = curr.children[letter] else: new_node = trie_node() curr.children[letter] = new_node curr = new_node curr.is_word = True def search(self, word): curr = self.root for letter in word: if letter not in curr.children: return False curr = curr.children[letter] return curr.is_word def starts_with(self, prefix): curr = self.root for letter in word: if letter not in curr.children: return False curr = curr.children[letter] return True
foo = [25, 68, 'bar', 89.45, 789, 'spam', 0, 'last item'] print(foo[:3]) # difference? print(foo[0:3]) print(foo[2:]) print(foo[1:-1])
foo = [25, 68, 'bar', 89.45, 789, 'spam', 0, 'last item'] print(foo[:3]) print(foo[0:3]) print(foo[2:]) print(foo[1:-1])
# -*- coding: utf-8 -*- config_page_name = { 'zh': { 'wikipedia': '', } }
config_page_name = {'zh': {'wikipedia': ''}}
class Result: def __init__(self, id = None, success = None, message = None, url = None, data = None) -> None: self.id = id self.success = success self.message = message self.url = url self.data = data def to_json(self): json_data = None if (self.data and hasattr(self.data, '__dict__')): json_data = vars(self.data) else: json_data = self.data return { "id": self.id, "success": self.success, "message": self.message, "url": self.url, "data": json_data }
class Result: def __init__(self, id=None, success=None, message=None, url=None, data=None) -> None: self.id = id self.success = success self.message = message self.url = url self.data = data def to_json(self): json_data = None if self.data and hasattr(self.data, '__dict__'): json_data = vars(self.data) else: json_data = self.data return {'id': self.id, 'success': self.success, 'message': self.message, 'url': self.url, 'data': json_data}
def solution(arr): size = 0 value = 0 for i in range(len(arr)): if size == 0: value = arr[i] size += 1 else: if value != arr[i] and size != 0: size -= 1 else: size += 1 leader = value if arr.count(leader) <= len(arr) // 2: return -1 return arr.index(leader) arr1 = [4, 5, 6, 7, 5, 8, 3, 5, 5, 5, 5] print(solution(arr=arr1)) arr2 = [3, 4, 3, 2, 3, -1, 3, 3] print(solution(arr=arr2)) arr3 = [3, 4, 1, 2, 3, -1, 3, 9] print(solution(arr=arr3)) arr4 = [3, ] print(solution(arr=arr4)) arr5 = [] print(solution(arr=arr5))
def solution(arr): size = 0 value = 0 for i in range(len(arr)): if size == 0: value = arr[i] size += 1 elif value != arr[i] and size != 0: size -= 1 else: size += 1 leader = value if arr.count(leader) <= len(arr) // 2: return -1 return arr.index(leader) arr1 = [4, 5, 6, 7, 5, 8, 3, 5, 5, 5, 5] print(solution(arr=arr1)) arr2 = [3, 4, 3, 2, 3, -1, 3, 3] print(solution(arr=arr2)) arr3 = [3, 4, 1, 2, 3, -1, 3, 9] print(solution(arr=arr3)) arr4 = [3] print(solution(arr=arr4)) arr5 = [] print(solution(arr=arr5))
def memory(x): x = [i for i in range(x)] return -1 def time(x): # recursive function to find xth fibonacci number if x < 3: return 1 return time(x-1) + time(x-2) def error(x=None): # error function return "a" / 2 def return_check(*args, **kwagrs): # args and kwargs function return list(args) + list(kwagrs.values())
def memory(x): x = [i for i in range(x)] return -1 def time(x): if x < 3: return 1 return time(x - 1) + time(x - 2) def error(x=None): return 'a' / 2 def return_check(*args, **kwagrs): return list(args) + list(kwagrs.values())
class User: user_budget = "" travel_budget, food_budget, stay_budget = 500, 100, 400 travel_preference = False stay_preference = False food_preference = False origin_city = "" start_date = "" return_date = "" def __init__(self, origin_city, start_date, return_date, user_budget): self.origin_city = origin_city self.start_date = start_date self.return_date = return_date self.user_budget = user_budget #self.travel_preference=travel_preference #self.categorize_budget(user_budget,travel_preference, stay_preference, food_preferenc) def categorize_budget(self, user_budget, travel_preference, stay_preference, food_preference): if travel_preference and stay_preference and food_preference: self.travel_budget = user_budget/3 self.food_budget = user_budget/3 self. stay_budget = user_budget/3 if travel_preference and stay_preference and (not food_preference): self.travel_budget = user_budget*.40 self.stay_budget = user_budget*.40 self.food_budget = user_budget*.20 if travel_preference and (not stay_preference) and food_preference: self.travel_budget = user_budget*.40 self.food_budget = user_budget*.20 self.stay_budget = user_budget*.40 if travel_preference and (not stay_preference) and not food_preference: self.travel_budget = user_budget*.40 self.stay_budget = user_budget*.30 self.food_budget = user_budget*.30 if (not travel_preference) and stay_preference and food_preference: self.travel_budget = user_budget*.20 self.food_budget = user_budget*.40 self.stay_budget = user_budget*.40 if (not travel_preference) and stay_preference and (not food_preference): self.travel_budget = user_budget*.30 self.stay_budget = user_budget*.60 self.food_budget = user_budget*.30 if travel_preference and not stay_preference and food_preference: self.travel_budget = user_budget*.40 self.food_budget = user_budget*.20 self.stay_budget = user_budget*.40 if (not travel_preference) and (not stay_preference) and (not food_preference): self.travel_budget = user_budget/3 self.stay_budget = user_budget/3 self.food_budget = user_budget/3 return self.user_budget
class User: user_budget = '' (travel_budget, food_budget, stay_budget) = (500, 100, 400) travel_preference = False stay_preference = False food_preference = False origin_city = '' start_date = '' return_date = '' def __init__(self, origin_city, start_date, return_date, user_budget): self.origin_city = origin_city self.start_date = start_date self.return_date = return_date self.user_budget = user_budget def categorize_budget(self, user_budget, travel_preference, stay_preference, food_preference): if travel_preference and stay_preference and food_preference: self.travel_budget = user_budget / 3 self.food_budget = user_budget / 3 self.stay_budget = user_budget / 3 if travel_preference and stay_preference and (not food_preference): self.travel_budget = user_budget * 0.4 self.stay_budget = user_budget * 0.4 self.food_budget = user_budget * 0.2 if travel_preference and (not stay_preference) and food_preference: self.travel_budget = user_budget * 0.4 self.food_budget = user_budget * 0.2 self.stay_budget = user_budget * 0.4 if travel_preference and (not stay_preference) and (not food_preference): self.travel_budget = user_budget * 0.4 self.stay_budget = user_budget * 0.3 self.food_budget = user_budget * 0.3 if not travel_preference and stay_preference and food_preference: self.travel_budget = user_budget * 0.2 self.food_budget = user_budget * 0.4 self.stay_budget = user_budget * 0.4 if not travel_preference and stay_preference and (not food_preference): self.travel_budget = user_budget * 0.3 self.stay_budget = user_budget * 0.6 self.food_budget = user_budget * 0.3 if travel_preference and (not stay_preference) and food_preference: self.travel_budget = user_budget * 0.4 self.food_budget = user_budget * 0.2 self.stay_budget = user_budget * 0.4 if not travel_preference and (not stay_preference) and (not food_preference): self.travel_budget = user_budget / 3 self.stay_budget = user_budget / 3 self.food_budget = user_budget / 3 return self.user_budget
# # PySNMP MIB module HUAWEI-LswQos-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/HUAWEI-LswQos-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 19:34:31 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15) # ObjectIdentifier, Integer, OctetString = mibBuilder.importSymbols("ASN1", "ObjectIdentifier", "Integer", "OctetString") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues") ConstraintsIntersection, ValueSizeConstraint, ConstraintsUnion, ValueRangeConstraint, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsIntersection", "ValueSizeConstraint", "ConstraintsUnion", "ValueRangeConstraint", "SingleValueConstraint") lswCommon, = mibBuilder.importSymbols("HUAWEI-3COM-OID-MIB", "lswCommon") NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance") Integer32, TimeTicks, Gauge32, ModuleIdentity, Bits, iso, MibScalar, MibTable, MibTableRow, MibTableColumn, Counter64, Unsigned32, Counter32, IpAddress, NotificationType, MibIdentifier, ObjectIdentity = mibBuilder.importSymbols("SNMPv2-SMI", "Integer32", "TimeTicks", "Gauge32", "ModuleIdentity", "Bits", "iso", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Counter64", "Unsigned32", "Counter32", "IpAddress", "NotificationType", "MibIdentifier", "ObjectIdentity") DisplayString, TextualConvention, RowStatus, MacAddress, TruthValue = mibBuilder.importSymbols("SNMPv2-TC", "DisplayString", "TextualConvention", "RowStatus", "MacAddress", "TruthValue") hwLswQosAclMib = ModuleIdentity((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16)) hwLswQosAclMib.setRevisions(('2002-11-19 00:00',)) if mibBuilder.loadTexts: hwLswQosAclMib.setLastUpdated('200211190000Z') if mibBuilder.loadTexts: hwLswQosAclMib.setOrganization('HUAWEI LANSWITCH') class HwMirrorOrMonitorType(TextualConvention, Integer32): status = 'current' subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2)) namedValues = NamedValues(("port", 1), ("board", 2)) hwLswQosMibObject = MibIdentifier((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2)) hwPriorityTrustMode = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("default", 0), ("dscp", 1), ("ipprecedence", 2), ("cos", 3), ("localprecedence", 4)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwPriorityTrustMode.setStatus('current') hwPortMonitorBothIfIndex = MibScalar((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 2), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwPortMonitorBothIfIndex.setStatus('current') hwQueueTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 3), ) if mibBuilder.loadTexts: hwQueueTable.setStatus('current') hwQueueEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 3, 1), ).setIndexNames((0, "HUAWEI-LswQos-MIB", "hwQueueIfIndex")) if mibBuilder.loadTexts: hwQueueEntry.setStatus('current') hwQueueIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 3, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hwQueueIfIndex.setStatus('current') hwQueueScheduleMode = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 3, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=NamedValues(("sp", 1), ("wrr", 2), ("wrr-max-delay", 3), ("sc-0", 4), ("sc-1", 5), ("sc-2", 6), ("rr", 7), ("wfq", 8), ("hq-wrr", 9))).clone('sp')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwQueueScheduleMode.setStatus('current') hwQueueWeight1 = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 3, 1, 3), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwQueueWeight1.setStatus('current') hwQueueWeight2 = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 3, 1, 4), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwQueueWeight2.setStatus('current') hwQueueWeight3 = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 3, 1, 5), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwQueueWeight3.setStatus('current') hwQueueWeight4 = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 3, 1, 6), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwQueueWeight4.setStatus('current') hwQueueMaxDelay = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 3, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 255))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwQueueMaxDelay.setStatus('current') hwQueueWeight5 = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 3, 1, 8), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwQueueWeight5.setStatus('current') hwQueueWeight6 = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 3, 1, 9), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwQueueWeight6.setStatus('current') hwQueueWeight7 = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 3, 1, 10), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwQueueWeight7.setStatus('current') hwQueueWeight8 = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 3, 1, 11), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwQueueWeight8.setStatus('current') hwRateLimitTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4), ) if mibBuilder.loadTexts: hwRateLimitTable.setStatus('current') hwRateLimitEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1), ).setIndexNames((0, "HUAWEI-LswQos-MIB", "hwRateLimitAclIndex"), (0, "HUAWEI-LswQos-MIB", "hwRateLimitIfIndex"), (0, "HUAWEI-LswQos-MIB", "hwRateLimitVlanID"), (0, "HUAWEI-LswQos-MIB", "hwRateLimitDirection")) if mibBuilder.loadTexts: hwRateLimitEntry.setStatus('current') hwRateLimitAclIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2999))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRateLimitAclIndex.setStatus('current') hwRateLimitIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 2), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRateLimitIfIndex.setStatus('current') hwRateLimitVlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4094))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRateLimitVlanID.setStatus('current') hwRateLimitDirection = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("invalid", 0), ("input", 1), ("output", 2)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRateLimitDirection.setStatus('current') hwRateLimitUserAclNum = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(5000, 5999), ValueRangeConstraint(10000, 12999), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRateLimitUserAclNum.setStatus('current') hwRateLimitUserAclRule = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRateLimitUserAclRule.setStatus('current') hwRateLimitIpAclNum = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(2000, 3999), ValueRangeConstraint(10000, 12999), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRateLimitIpAclNum.setStatus('current') hwRateLimitIpAclRule = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRateLimitIpAclRule.setStatus('current') hwRateLimitLinkAclNum = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(4000, 4999), ValueRangeConstraint(10000, 12999), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRateLimitLinkAclNum.setStatus('current') hwRateLimitLinkAclRule = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRateLimitLinkAclRule.setStatus('current') hwRateLimitTargetRateMbps = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 11), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRateLimitTargetRateMbps.setStatus('current') hwRateLimitTargetRateKbps = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 12), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRateLimitTargetRateKbps.setStatus('current') hwRateLimitPeakRate = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 13), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(64, 8388608), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRateLimitPeakRate.setStatus('current') hwRateLimitCIR = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 14), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 34120000))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRateLimitCIR.setStatus('current') hwRateLimitCBS = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 15), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 1048575))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRateLimitCBS.setStatus('current') hwRateLimitEBS = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 16), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 268435455))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRateLimitEBS.setStatus('current') hwRateLimitPIR = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 34120000))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRateLimitPIR.setStatus('current') hwRateLimitConformLocalPre = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 18), Integer32().clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRateLimitConformLocalPre.setStatus('current') hwRateLimitConformActionType = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("invalid", 0), ("remark-cos", 1), ("remark-drop-priority", 2), ("remark-cos-drop-priority", 3), ("remark-policed-service", 4), ("remark-dscp", 5))).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRateLimitConformActionType.setStatus('current') hwRateLimitExceedActionType = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("invalid", 0), ("forward", 1), ("drop", 2), ("remarkdscp", 3), ("exceed-cos", 4))).clone(1)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRateLimitExceedActionType.setStatus('current') hwRateLimitExceedDscp = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 63), ValueRangeConstraint(255, 255), )).clone(255)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRateLimitExceedDscp.setStatus('current') hwRateLimitRuntime = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 22), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: hwRateLimitRuntime.setStatus('current') hwRateLimitRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 23), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRateLimitRowStatus.setStatus('current') hwRateLimitExceedCos = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 24), Integer32().clone(255)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRateLimitExceedCos.setStatus('current') hwRateLimitConformCos = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 25), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 7), ValueRangeConstraint(255, 255), )).clone(255)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRateLimitConformCos.setStatus('current') hwRateLimitConformDscp = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 26), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 63), ValueRangeConstraint(255, 255), )).clone(255)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRateLimitConformDscp.setStatus('current') hwRateLimitMeterStatByteCount = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 27), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: hwRateLimitMeterStatByteCount.setStatus('current') hwRateLimitMeterStatByteXCount = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 28), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: hwRateLimitMeterStatByteXCount.setStatus('current') hwRateLimitMeterStatState = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 29), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5))).clone(namedValues=NamedValues(("set", 1), ("unDo", 2), ("reset", 3), ("running", 4), ("notRunning", 5)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRateLimitMeterStatState.setStatus('current') hwPriorityTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5), ) if mibBuilder.loadTexts: hwPriorityTable.setStatus('current') hwPriorityEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1), ).setIndexNames((0, "HUAWEI-LswQos-MIB", "hwPriorityAclIndex"), (0, "HUAWEI-LswQos-MIB", "hwPriorityIfIndex"), (0, "HUAWEI-LswQos-MIB", "hwPriorityVlanID"), (0, "HUAWEI-LswQos-MIB", "hwPriorityDirection")) if mibBuilder.loadTexts: hwPriorityEntry.setStatus('current') hwPriorityAclIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2999))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwPriorityAclIndex.setStatus('current') hwPriorityIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 2), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwPriorityIfIndex.setStatus('current') hwPriorityVlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4094))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwPriorityVlanID.setStatus('current') hwPriorityDirection = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("invalid", 0), ("input", 1), ("output", 2)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwPriorityDirection.setStatus('current') hwPriorityUserAclNum = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(5000, 5999), ValueRangeConstraint(10000, 12999), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwPriorityUserAclNum.setStatus('current') hwPriorityUserAclRule = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwPriorityUserAclRule.setStatus('current') hwPriorityIpAclNum = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(2000, 3999), ValueRangeConstraint(10000, 12999), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwPriorityIpAclNum.setStatus('current') hwPriorityIpAclRule = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwPriorityIpAclRule.setStatus('current') hwPriorityLinkAclNum = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(4000, 4999), ValueRangeConstraint(10000, 12999), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwPriorityLinkAclNum.setStatus('current') hwPriorityLinkAclRule = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwPriorityLinkAclRule.setStatus('current') hwPriorityDscp = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 11), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 63), ValueRangeConstraint(255, 255), )).clone(255)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwPriorityDscp.setStatus('current') hwPriorityIpPre = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 7), ValueRangeConstraint(255, 255), )).clone(255)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwPriorityIpPre.setStatus('current') hwPriorityIpPreFromCos = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 13), TruthValue().clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwPriorityIpPreFromCos.setStatus('current') hwPriorityCos = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 7), ValueRangeConstraint(255, 255), )).clone(255)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwPriorityCos.setStatus('current') hwPriorityCosFromIpPre = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 15), TruthValue().clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwPriorityCosFromIpPre.setStatus('current') hwPriorityLocalPre = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 16), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 7), ValueRangeConstraint(255, 255), )).clone(255)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwPriorityLocalPre.setStatus('current') hwPriorityPolicedServiceType = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 17), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2, 3, 4))).clone(namedValues=NamedValues(("invalid", 0), ("auto", 1), ("trust-dscp", 2), ("new-dscp", 3), ("untrusted", 4)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwPriorityPolicedServiceType.setStatus('current') hwPriorityPolicedServiceDscp = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 63), ValueRangeConstraint(255, 255), )).clone(255)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwPriorityPolicedServiceDscp.setStatus('current') hwPriorityPolicedServiceExp = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 7), ValueRangeConstraint(255, 255), )).clone(255)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwPriorityPolicedServiceExp.setStatus('current') hwPriorityPolicedServiceCos = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 7), ValueRangeConstraint(255, 255), )).clone(255)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwPriorityPolicedServiceCos.setStatus('current') hwPriorityPolicedServiceLoaclPre = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 21), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 7), ValueRangeConstraint(255, 255), )).clone(255)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwPriorityPolicedServiceLoaclPre.setStatus('current') hwPriorityPolicedServiceDropPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 22), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 2), ValueRangeConstraint(255, 255), )).clone(255)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwPriorityPolicedServiceDropPriority.setStatus('current') hwPriorityRuntime = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 23), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: hwPriorityRuntime.setStatus('current') hwPriorityRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 24), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwPriorityRowStatus.setStatus('current') hwRedirectTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6), ) if mibBuilder.loadTexts: hwRedirectTable.setStatus('current') hwRedirectEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1), ).setIndexNames((0, "HUAWEI-LswQos-MIB", "hwRedirectAclIndex"), (0, "HUAWEI-LswQos-MIB", "hwRedirectIfIndex"), (0, "HUAWEI-LswQos-MIB", "hwRedirectVlanID"), (0, "HUAWEI-LswQos-MIB", "hwRedirectDirection")) if mibBuilder.loadTexts: hwRedirectEntry.setStatus('current') hwRedirectAclIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2999))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRedirectAclIndex.setStatus('current') hwRedirectIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 2), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRedirectIfIndex.setStatus('current') hwRedirectVlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4094))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRedirectVlanID.setStatus('current') hwRedirectDirection = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("invalid", 0), ("input", 1), ("output", 2)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRedirectDirection.setStatus('current') hwRedirectUserAclNum = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(5000, 5999), ValueRangeConstraint(10000, 12999), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRedirectUserAclNum.setStatus('current') hwRedirectUserAclRule = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRedirectUserAclRule.setStatus('current') hwRedirectIpAclNum = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(2000, 3999), ValueRangeConstraint(10000, 12999), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRedirectIpAclNum.setStatus('current') hwRedirectIpAclRule = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRedirectIpAclRule.setStatus('current') hwRedirectLinkAclNum = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(4000, 4999), ValueRangeConstraint(10000, 12999), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRedirectLinkAclNum.setStatus('current') hwRedirectLinkAclRule = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRedirectLinkAclRule.setStatus('current') hwRedirectToCpu = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 11), TruthValue().clone(2)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRedirectToCpu.setStatus('current') hwRedirectToIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 12), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRedirectToIfIndex.setStatus('current') hwRedirectToNextHop1 = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 13), IpAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRedirectToNextHop1.setStatus('current') hwRedirectToNextHop2 = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 14), IpAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRedirectToNextHop2.setStatus('current') hwRedirectRuntime = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 15), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: hwRedirectRuntime.setStatus('current') hwRedirectRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 16), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRedirectRowStatus.setStatus('current') hwRedirectToSlotNo = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 17), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 16))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRedirectToSlotNo.setStatus('current') hwRedirectRemarkedDSCP = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 18), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 63), ValueRangeConstraint(255, 255), )).clone(255)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRedirectRemarkedDSCP.setStatus('current') hwRedirectRemarkedPri = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 19), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 7), ValueRangeConstraint(255, 255), )).clone(255)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRedirectRemarkedPri.setStatus('current') hwRedirectRemarkedTos = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 20), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 15), ValueRangeConstraint(255, 255), )).clone(255)).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRedirectRemarkedTos.setStatus('current') hwRedirectToNextHop3 = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 21), IpAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRedirectToNextHop3.setStatus('current') hwRedirectTargetVlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 22), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4094))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRedirectTargetVlanID.setStatus('current') hwRedirectMode = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 23), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("strict-priority", 1), ("load-balance", 2))).clone('strict-priority')).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRedirectMode.setStatus('current') hwRedirectToNestedVlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 24), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRedirectToNestedVlanID.setStatus('current') hwRedirectToModifiedVlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 25), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRedirectToModifiedVlanID.setStatus('current') hwStatisticTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 7), ) if mibBuilder.loadTexts: hwStatisticTable.setStatus('current') hwStatisticEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 7, 1), ).setIndexNames((0, "HUAWEI-LswQos-MIB", "hwStatisticAclIndex"), (0, "HUAWEI-LswQos-MIB", "hwStatisticIfIndex"), (0, "HUAWEI-LswQos-MIB", "hwStatisticVlanID"), (0, "HUAWEI-LswQos-MIB", "hwStatisticDirection")) if mibBuilder.loadTexts: hwStatisticEntry.setStatus('current') hwStatisticAclIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 7, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2999))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwStatisticAclIndex.setStatus('current') hwStatisticIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 7, 1, 2), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwStatisticIfIndex.setStatus('current') hwStatisticVlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 7, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4094))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwStatisticVlanID.setStatus('current') hwStatisticDirection = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 7, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("invalid", 0), ("input", 1), ("output", 2)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwStatisticDirection.setStatus('current') hwStatisticUserAclNum = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 7, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(5000, 5999), ValueRangeConstraint(10000, 12999), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwStatisticUserAclNum.setStatus('current') hwStatisticUserAclRule = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 7, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwStatisticUserAclRule.setStatus('current') hwStatisticIpAclNum = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 7, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(2000, 3999), ValueRangeConstraint(10000, 12999), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwStatisticIpAclNum.setStatus('current') hwStatisticIpAclRule = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 7, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwStatisticIpAclRule.setStatus('current') hwStatisticLinkAclNum = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 7, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(4000, 4999), ValueRangeConstraint(10000, 12999), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwStatisticLinkAclNum.setStatus('current') hwStatisticLinkAclRule = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 7, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwStatisticLinkAclRule.setStatus('current') hwStatisticRuntime = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 7, 1, 11), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: hwStatisticRuntime.setStatus('current') hwStatisticPacketCount = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 7, 1, 12), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: hwStatisticPacketCount.setStatus('current') hwStatisticByteCount = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 7, 1, 13), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: hwStatisticByteCount.setStatus('current') hwStatisticCountClear = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 7, 1, 14), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("cleared", 1), ("nouse", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwStatisticCountClear.setStatus('current') hwStatisticRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 7, 1, 15), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwStatisticRowStatus.setStatus('current') hwStatisticPacketXCount = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 7, 1, 16), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: hwStatisticPacketXCount.setStatus('current') hwStatisticByteXCount = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 7, 1, 17), Counter64()).setMaxAccess("readonly") if mibBuilder.loadTexts: hwStatisticByteXCount.setStatus('current') hwMirrorTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 8), ) if mibBuilder.loadTexts: hwMirrorTable.setStatus('current') hwMirrorEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 8, 1), ).setIndexNames((0, "HUAWEI-LswQos-MIB", "hwMirrorAclIndex"), (0, "HUAWEI-LswQos-MIB", "hwMirrorIfIndex"), (0, "HUAWEI-LswQos-MIB", "hwMirrorVlanID"), (0, "HUAWEI-LswQos-MIB", "hwMirrorDirection")) if mibBuilder.loadTexts: hwMirrorEntry.setStatus('current') hwMirrorAclIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 8, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2999))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwMirrorAclIndex.setStatus('current') hwMirrorIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 8, 1, 2), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwMirrorIfIndex.setStatus('current') hwMirrorVlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 8, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4094))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwMirrorVlanID.setStatus('current') hwMirrorDirection = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 8, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("invalid", 0), ("input", 1), ("output", 2)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwMirrorDirection.setStatus('current') hwMirrorUserAclNum = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 8, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(5000, 5999), ValueRangeConstraint(10000, 12999), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwMirrorUserAclNum.setStatus('current') hwMirrorUserAclRule = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 8, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwMirrorUserAclRule.setStatus('current') hwMirrorIpAclNum = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 8, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(2000, 3999), ValueRangeConstraint(10000, 12999), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwMirrorIpAclNum.setStatus('current') hwMirrorIpAclRule = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 8, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwMirrorIpAclRule.setStatus('current') hwMirrorLinkAclNum = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 8, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(4000, 4999), ValueRangeConstraint(10000, 12999), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwMirrorLinkAclNum.setStatus('current') hwMirrorLinkAclRule = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 8, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwMirrorLinkAclRule.setStatus('current') hwMirrorToIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 8, 1, 11), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwMirrorToIfIndex.setStatus('current') hwMirrorToCpu = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 8, 1, 12), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwMirrorToCpu.setStatus('current') hwMirrorRuntime = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 8, 1, 13), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: hwMirrorRuntime.setStatus('current') hwMirrorRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 8, 1, 14), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwMirrorRowStatus.setStatus('current') hwMirrorToGroup = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 8, 1, 15), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwMirrorToGroup.setStatus('current') hwPortMirrorTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 9), ) if mibBuilder.loadTexts: hwPortMirrorTable.setStatus('current') hwPortMirrorEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 9, 1), ).setIndexNames((0, "HUAWEI-LswQos-MIB", "hwPortMirrorIfIndex")) if mibBuilder.loadTexts: hwPortMirrorEntry.setStatus('current') hwPortMirrorIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 9, 1, 1), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwPortMirrorIfIndex.setStatus('current') hwPortMirrorDirection = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 9, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("in", 1), ("out", 2), ("both", 3)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwPortMirrorDirection.setStatus('current') hwPortMirrorRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 9, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwPortMirrorRowStatus.setStatus('current') hwLineRateTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 10), ) if mibBuilder.loadTexts: hwLineRateTable.setStatus('current') hwLineRateEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 10, 1), ).setIndexNames((0, "HUAWEI-LswQos-MIB", "hwLineRateIfIndex"), (0, "HUAWEI-LswQos-MIB", "hwLineRateDirection")) if mibBuilder.loadTexts: hwLineRateEntry.setStatus('current') hwLineRateIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 10, 1, 1), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwLineRateIfIndex.setStatus('current') hwLineRateDirection = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 10, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("in", 1), ("out", 2)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwLineRateDirection.setStatus('current') hwLineRateValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 10, 1, 3), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwLineRateValue.setStatus('current') hwLineRateRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 10, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwLineRateRowStatus.setStatus('current') hwBandwidthTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 11), ) if mibBuilder.loadTexts: hwBandwidthTable.setStatus('current') hwBandwidthEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 11, 1), ).setIndexNames((0, "HUAWEI-LswQos-MIB", "hwBandwidthAclIndex"), (0, "HUAWEI-LswQos-MIB", "hwBandwidthIfIndex"), (0, "HUAWEI-LswQos-MIB", "hwBandwidthVlanID"), (0, "HUAWEI-LswQos-MIB", "hwBandwidthDirection")) if mibBuilder.loadTexts: hwBandwidthEntry.setStatus('current') hwBandwidthAclIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 11, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2999))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwBandwidthAclIndex.setStatus('current') hwBandwidthIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 11, 1, 2), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwBandwidthIfIndex.setStatus('current') hwBandwidthVlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 11, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4094))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwBandwidthVlanID.setStatus('current') hwBandwidthDirection = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 11, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 2))).clone(namedValues=NamedValues(("invalid", 0), ("output", 2)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwBandwidthDirection.setStatus('current') hwBandwidthIpAclNum = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 11, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(2000, 3999), ValueRangeConstraint(10000, 12999), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwBandwidthIpAclNum.setStatus('current') hwBandwidthIpAclRule = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 11, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwBandwidthIpAclRule.setStatus('current') hwBandwidthLinkAclNum = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 11, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(4000, 4999), ValueRangeConstraint(10000, 12999), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwBandwidthLinkAclNum.setStatus('current') hwBandwidthLinkAclRule = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 11, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwBandwidthLinkAclRule.setStatus('current') hwBandwidthMinGuaranteedWidth = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 11, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 8388608))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwBandwidthMinGuaranteedWidth.setStatus('current') hwBandwidthMaxGuaranteedWidth = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 11, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 8388608))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwBandwidthMaxGuaranteedWidth.setStatus('current') hwBandwidthWeight = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 11, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwBandwidthWeight.setStatus('current') hwBandwidthRuntime = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 11, 1, 12), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: hwBandwidthRuntime.setStatus('current') hwBandwidthRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 11, 1, 13), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwBandwidthRowStatus.setStatus('current') hwRedTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 12), ) if mibBuilder.loadTexts: hwRedTable.setStatus('current') hwRedEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 12, 1), ).setIndexNames((0, "HUAWEI-LswQos-MIB", "hwRedAclIndex"), (0, "HUAWEI-LswQos-MIB", "hwRedIfIndex"), (0, "HUAWEI-LswQos-MIB", "hwRedVlanID"), (0, "HUAWEI-LswQos-MIB", "hwRedDirection")) if mibBuilder.loadTexts: hwRedEntry.setStatus('current') hwRedAclIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 12, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2999))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRedAclIndex.setStatus('current') hwRedIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 12, 1, 2), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRedIfIndex.setStatus('current') hwRedVlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 12, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4094))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRedVlanID.setStatus('current') hwRedDirection = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 12, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 2))).clone(namedValues=NamedValues(("invalid", 0), ("output", 2)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRedDirection.setStatus('current') hwRedIpAclNum = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 12, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(2000, 3999), ValueRangeConstraint(10000, 12999), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRedIpAclNum.setStatus('current') hwRedIpAclRule = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 12, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRedIpAclRule.setStatus('current') hwRedLinkAclNum = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 12, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(4000, 4999), ValueRangeConstraint(10000, 12999), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRedLinkAclNum.setStatus('current') hwRedLinkAclRule = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 12, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRedLinkAclRule.setStatus('current') hwRedStartQueueLen = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 12, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 262128))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwRedStartQueueLen.setStatus('current') hwRedStopQueueLen = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 12, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 262128))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwRedStopQueueLen.setStatus('current') hwRedProbability = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 12, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwRedProbability.setStatus('current') hwRedRuntime = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 12, 1, 12), TruthValue()).setMaxAccess("readonly") if mibBuilder.loadTexts: hwRedRuntime.setStatus('current') hwRedRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 12, 1, 13), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwRedRowStatus.setStatus('current') hwMirrorGroupTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 13), ) if mibBuilder.loadTexts: hwMirrorGroupTable.setStatus('current') hwMirrorGroupEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 13, 1), ).setIndexNames((0, "HUAWEI-LswQos-MIB", "hwMirrorGroupID")) if mibBuilder.loadTexts: hwMirrorGroupEntry.setStatus('current') hwMirrorGroupID = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 13, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 20))).setMaxAccess("readonly") if mibBuilder.loadTexts: hwMirrorGroupID.setStatus('current') hwMirrorGroupDirection = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 13, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("input", 1), ("output", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwMirrorGroupDirection.setStatus('current') hwMirrorGroupMirrorIfIndexList = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 13, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(1, 257))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwMirrorGroupMirrorIfIndexList.setStatus('current') hwMirrorGroupMonitorIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 13, 1, 4), Integer32()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwMirrorGroupMonitorIfIndex.setStatus('current') hwMirrorGroupRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 13, 1, 5), RowStatus()).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwMirrorGroupRowStatus.setStatus('current') hwFlowtempTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14), ) if mibBuilder.loadTexts: hwFlowtempTable.setStatus('current') hwFlowtempEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1), ).setIndexNames((0, "HUAWEI-LswQos-MIB", "hwFlowtempIndex")) if mibBuilder.loadTexts: hwFlowtempEntry.setStatus('current') hwFlowtempIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 1), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("default", 1), ("user-defined", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hwFlowtempIndex.setStatus('current') hwFlowtempIpProtocol = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 2), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwFlowtempIpProtocol.setStatus('current') hwFlowtempTcpFlag = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 3), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwFlowtempTcpFlag.setStatus('current') hwFlowtempSPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 4), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwFlowtempSPort.setStatus('current') hwFlowtempDPort = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 5), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwFlowtempDPort.setStatus('current') hwFlowtempIcmpType = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 6), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwFlowtempIcmpType.setStatus('current') hwFlowtempIcmpCode = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 7), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwFlowtempIcmpCode.setStatus('current') hwFlowtempFragment = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 8), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwFlowtempFragment.setStatus('current') hwFlowtempDscp = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 9), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwFlowtempDscp.setStatus('current') hwFlowtempIpPre = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 10), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwFlowtempIpPre.setStatus('current') hwFlowtempTos = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 11), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwFlowtempTos.setStatus('current') hwFlowtempSIp = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 12), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwFlowtempSIp.setStatus('current') hwFlowtempSIpMask = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 13), IpAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwFlowtempSIpMask.setStatus('current') hwFlowtempDIp = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 14), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwFlowtempDIp.setStatus('current') hwFlowtempDIpMask = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 15), IpAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwFlowtempDIpMask.setStatus('current') hwFlowtempEthProtocol = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 16), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwFlowtempEthProtocol.setStatus('current') hwFlowtempSMac = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 17), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwFlowtempSMac.setStatus('current') hwFlowtempSMacMask = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 18), MacAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwFlowtempSMacMask.setStatus('current') hwFlowtempDMac = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 19), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwFlowtempDMac.setStatus('current') hwFlowtempDMacMask = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 20), MacAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwFlowtempDMacMask.setStatus('current') hwFlowtempVpn = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 21), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwFlowtempVpn.setStatus('current') hwFlowtempRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 22), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwFlowtempRowStatus.setStatus('current') hwFlowtempVlanId = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 23), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwFlowtempVlanId.setStatus('current') hwFlowtempCos = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 24), TruthValue()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwFlowtempCos.setStatus('current') hwFlowtempEnableTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 15), ) if mibBuilder.loadTexts: hwFlowtempEnableTable.setStatus('current') hwFlowtempEnableEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 15, 1), ).setIndexNames((0, "HUAWEI-LswQos-MIB", "hwFlowtempEnableIfIndex"), (0, "HUAWEI-LswQos-MIB", "hwFlowtempEnableVlanID")) if mibBuilder.loadTexts: hwFlowtempEnableEntry.setStatus('current') hwFlowtempEnableIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 15, 1, 1), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwFlowtempEnableIfIndex.setStatus('current') hwFlowtempEnableVlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 15, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4094))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwFlowtempEnableVlanID.setStatus('current') hwFlowtempEnableFlowtempIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 15, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("default", 1), ("user-defined", 2)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwFlowtempEnableFlowtempIndex.setStatus('current') hwTrafficShapeTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 16), ) if mibBuilder.loadTexts: hwTrafficShapeTable.setStatus('current') hwTrafficShapeEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 16, 1), ).setIndexNames((0, "HUAWEI-LswQos-MIB", "hwTrafficShapeIfIndex"), (0, "HUAWEI-LswQos-MIB", "hwTrafficShapeQueueId")) if mibBuilder.loadTexts: hwTrafficShapeEntry.setStatus('current') hwTrafficShapeIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 16, 1, 1), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwTrafficShapeIfIndex.setStatus('current') hwTrafficShapeQueueId = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 16, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 7), ValueRangeConstraint(255, 255), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwTrafficShapeQueueId.setStatus('current') hwTrafficShapeMaxRate = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 16, 1, 3), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwTrafficShapeMaxRate.setStatus('current') hwTrafficShapeBurstSize = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 16, 1, 4), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwTrafficShapeBurstSize.setStatus('current') hwTrafficShapeBufferLimit = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 16, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(16, 8000), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwTrafficShapeBufferLimit.setStatus('current') hwTrafficShapeRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 16, 1, 6), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwTrafficShapeRowStatus.setStatus('current') hwPortQueueTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 17), ) if mibBuilder.loadTexts: hwPortQueueTable.setStatus('current') hwPortQueueEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 17, 1), ).setIndexNames((0, "HUAWEI-LswQos-MIB", "hwPortQueueIfIndex"), (0, "HUAWEI-LswQos-MIB", "hwPortQueueQueueID")) if mibBuilder.loadTexts: hwPortQueueEntry.setStatus('current') hwPortQueueIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 17, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hwPortQueueIfIndex.setStatus('current') hwPortQueueQueueID = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 17, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readonly") if mibBuilder.loadTexts: hwPortQueueQueueID.setStatus('current') hwPortQueueWrrPriority = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 17, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("sp", 1), ("wrr-high-priority", 2), ("wrr-low-priority", 3)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwPortQueueWrrPriority.setStatus('current') hwPortQueueWeight = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 17, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(1, 255), ))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwPortQueueWeight.setStatus('current') hwDropModeTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 18), ) if mibBuilder.loadTexts: hwDropModeTable.setStatus('current') hwDropModeEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 18, 1), ).setIndexNames((0, "HUAWEI-LswQos-MIB", "hwDropModeIfIndex")) if mibBuilder.loadTexts: hwDropModeEntry.setStatus('current') hwDropModeIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 18, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hwDropModeIfIndex.setStatus('current') hwDropModeMode = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 18, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("random-detect", 1), ("tail-drop", 2))).clone(2)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwDropModeMode.setStatus('current') hwDropModeWredIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 18, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 3))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwDropModeWredIndex.setStatus('current') hwWredTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 19), ) if mibBuilder.loadTexts: hwWredTable.setStatus('current') hwWredEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 19, 1), ).setIndexNames((0, "HUAWEI-LswQos-MIB", "hwWredIndex"), (0, "HUAWEI-LswQos-MIB", "hwWredQueueId")) if mibBuilder.loadTexts: hwWredEntry.setStatus('current') hwWredIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 19, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 3))).setMaxAccess("readonly") if mibBuilder.loadTexts: hwWredIndex.setStatus('current') hwWredQueueId = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 19, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readonly") if mibBuilder.loadTexts: hwWredQueueId.setStatus('current') hwWredGreenMinThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 19, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwWredGreenMinThreshold.setStatus('current') hwWredGreenMaxThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 19, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwWredGreenMaxThreshold.setStatus('current') hwWredGreenMaxProb = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 19, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 15))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwWredGreenMaxProb.setStatus('current') hwWredYellowMinThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 19, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwWredYellowMinThreshold.setStatus('current') hwWredYellowMaxThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 19, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwWredYellowMaxThreshold.setStatus('current') hwWredYellowMaxProb = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 19, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 15))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwWredYellowMaxProb.setStatus('current') hwWredRedMinThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 19, 1, 9), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwWredRedMinThreshold.setStatus('current') hwWredRedMaxThreshold = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 19, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwWredRedMaxThreshold.setStatus('current') hwWredRedMaxProb = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 19, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 15))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwWredRedMaxProb.setStatus('current') hwWredExponent = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 19, 1, 12), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 15)).clone(9)).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwWredExponent.setStatus('current') hwCosToLocalPrecedenceMapTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 20), ) if mibBuilder.loadTexts: hwCosToLocalPrecedenceMapTable.setStatus('current') hwCosToLocalPrecedenceMapEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 20, 1), ).setIndexNames((0, "HUAWEI-LswQos-MIB", "hwCosToLocalPrecedenceMapCosIndex")) if mibBuilder.loadTexts: hwCosToLocalPrecedenceMapEntry.setStatus('current') hwCosToLocalPrecedenceMapCosIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 20, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readonly") if mibBuilder.loadTexts: hwCosToLocalPrecedenceMapCosIndex.setStatus('current') hwCosToLocalPrecedenceMapLocalPrecedenceValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 20, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwCosToLocalPrecedenceMapLocalPrecedenceValue.setStatus('current') hwCosToDropPrecedenceMapTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 21), ) if mibBuilder.loadTexts: hwCosToDropPrecedenceMapTable.setStatus('current') hwCosToDropPrecedenceMapEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 21, 1), ).setIndexNames((0, "HUAWEI-LswQos-MIB", "hwCosToDropPrecedenceMapCosIndex")) if mibBuilder.loadTexts: hwCosToDropPrecedenceMapEntry.setStatus('current') hwCosToDropPrecedenceMapCosIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 21, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readonly") if mibBuilder.loadTexts: hwCosToDropPrecedenceMapCosIndex.setStatus('current') hwCosToDropPrecedenceMapDropPrecedenceValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 21, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwCosToDropPrecedenceMapDropPrecedenceValue.setStatus('current') hwDscpMapTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 22), ) if mibBuilder.loadTexts: hwDscpMapTable.setStatus('current') hwDscpMapEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 22, 1), ).setIndexNames((0, "HUAWEI-LswQos-MIB", "hwDscpMapConformLevel"), (0, "HUAWEI-LswQos-MIB", "hwDscpMapDscpIndex")) if mibBuilder.loadTexts: hwDscpMapEntry.setStatus('current') hwDscpMapConformLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 22, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2))).setMaxAccess("readonly") if mibBuilder.loadTexts: hwDscpMapConformLevel.setStatus('current') hwDscpMapDscpIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 22, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 63))).setMaxAccess("readonly") if mibBuilder.loadTexts: hwDscpMapDscpIndex.setStatus('current') hwDscpMapDscpValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 22, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 63))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwDscpMapDscpValue.setStatus('current') hwDscpMapExpValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 22, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwDscpMapExpValue.setStatus('current') hwDscpMapCosValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 22, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwDscpMapCosValue.setStatus('current') hwDscpMapLocalPrecedence = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 22, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwDscpMapLocalPrecedence.setStatus('current') hwDscpMapDropPrecedence = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 22, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwDscpMapDropPrecedence.setStatus('current') hwExpMapTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 23), ) if mibBuilder.loadTexts: hwExpMapTable.setStatus('current') hwExpMapEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 23, 1), ).setIndexNames((0, "HUAWEI-LswQos-MIB", "hwExpMapConformLevel"), (0, "HUAWEI-LswQos-MIB", "hwExpMapExpIndex")) if mibBuilder.loadTexts: hwExpMapEntry.setStatus('current') hwExpMapConformLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 23, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2))).setMaxAccess("readonly") if mibBuilder.loadTexts: hwExpMapConformLevel.setStatus('current') hwExpMapExpIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 23, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readonly") if mibBuilder.loadTexts: hwExpMapExpIndex.setStatus('current') hwExpMapDscpValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 23, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 63))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwExpMapDscpValue.setStatus('current') hwExpMapExpValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 23, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwExpMapExpValue.setStatus('current') hwExpMapCosValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 23, 1, 5), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwExpMapCosValue.setStatus('current') hwExpMapLocalPrecedence = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 23, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwExpMapLocalPrecedence.setStatus('current') hwExpMapDropPrecedence = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 23, 1, 7), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwExpMapDropPrecedence.setStatus('current') hwLocalPrecedenceMapTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 24), ) if mibBuilder.loadTexts: hwLocalPrecedenceMapTable.setStatus('current') hwLocalPrecedenceMapEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 24, 1), ).setIndexNames((0, "HUAWEI-LswQos-MIB", "hwLocalPrecedenceMapConformLevel"), (0, "HUAWEI-LswQos-MIB", "hwLocalPrecedenceMapLocalPrecedenceIndex")) if mibBuilder.loadTexts: hwLocalPrecedenceMapEntry.setStatus('current') hwLocalPrecedenceMapConformLevel = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 24, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2))).setMaxAccess("readonly") if mibBuilder.loadTexts: hwLocalPrecedenceMapConformLevel.setStatus('current') hwLocalPrecedenceMapLocalPrecedenceIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 24, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwLocalPrecedenceMapLocalPrecedenceIndex.setStatus('current') hwLocalPrecedenceMapCosValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 24, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwLocalPrecedenceMapCosValue.setStatus('current') hwPortWredTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 25), ) if mibBuilder.loadTexts: hwPortWredTable.setStatus('current') hwPortWredEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 25, 1), ).setIndexNames((0, "HUAWEI-LswQos-MIB", "hwPortWredIfIndex"), (0, "HUAWEI-LswQos-MIB", "hwPortWredQueueID")) if mibBuilder.loadTexts: hwPortWredEntry.setStatus('current') hwPortWredIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 25, 1, 1), Integer32()).setMaxAccess("readonly") if mibBuilder.loadTexts: hwPortWredIfIndex.setStatus('current') hwPortWredQueueID = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 25, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readonly") if mibBuilder.loadTexts: hwPortWredQueueID.setStatus('current') hwPortWredQueueStartLength = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 25, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2047))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwPortWredQueueStartLength.setStatus('current') hwPortWredQueueProbability = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 25, 1, 4), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 100))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwPortWredQueueProbability.setStatus('current') hwMirroringGroupTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 26), ) if mibBuilder.loadTexts: hwMirroringGroupTable.setStatus('current') hwMirroringGroupEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 26, 1), ).setIndexNames((0, "HUAWEI-LswQos-MIB", "hwMirroringGroupID")) if mibBuilder.loadTexts: hwMirroringGroupEntry.setStatus('current') hwMirroringGroupID = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 26, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(1, 20))) if mibBuilder.loadTexts: hwMirroringGroupID.setStatus('current') hwMirroringGroupType = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 26, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("local", 1), ("remote-source", 2), ("remote-destination", 3)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwMirroringGroupType.setStatus('current') hwMirroringGroupStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 26, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2))).clone(namedValues=NamedValues(("active", 1), ("inactive", 2)))).setMaxAccess("readonly") if mibBuilder.loadTexts: hwMirroringGroupStatus.setStatus('current') hwMirroringGroupRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 26, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwMirroringGroupRowStatus.setStatus('current') hwMirroringGroupMirrorTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 27), ) if mibBuilder.loadTexts: hwMirroringGroupMirrorTable.setStatus('current') hwMirroringGroupMirrorEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 27, 1), ).setIndexNames((0, "HUAWEI-LswQos-MIB", "hwMirroringGroupID")) if mibBuilder.loadTexts: hwMirroringGroupMirrorEntry.setStatus('current') hwMirroringGroupMirrorInboundIfIndexList = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 27, 1, 1), OctetString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwMirroringGroupMirrorInboundIfIndexList.setStatus('current') hwMirroringGroupMirrorOutboundIfIndexList = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 27, 1, 2), OctetString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwMirroringGroupMirrorOutboundIfIndexList.setStatus('current') hwMirroringGroupMirrorRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 27, 1, 3), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwMirroringGroupMirrorRowStatus.setStatus('current') hwMirroringGroupMirrorInTypeList = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 27, 1, 4), OctetString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwMirroringGroupMirrorInTypeList.setStatus('current') hwMirroringGroupMirrorOutTypeList = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 27, 1, 5), OctetString()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwMirroringGroupMirrorOutTypeList.setStatus('current') hwMirroringGroupMonitorTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 28), ) if mibBuilder.loadTexts: hwMirroringGroupMonitorTable.setStatus('current') hwMirroringGroupMonitorEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 28, 1), ).setIndexNames((0, "HUAWEI-LswQos-MIB", "hwMirroringGroupID")) if mibBuilder.loadTexts: hwMirroringGroupMonitorEntry.setStatus('current') hwMirroringGroupMonitorIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 28, 1, 1), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwMirroringGroupMonitorIfIndex.setStatus('current') hwMirroringGroupMonitorRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 28, 1, 2), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwMirroringGroupMonitorRowStatus.setStatus('current') hwMirroringGroupMonitorType = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 28, 1, 3), HwMirrorOrMonitorType()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwMirroringGroupMonitorType.setStatus('current') hwMirroringGroupReflectorTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 29), ) if mibBuilder.loadTexts: hwMirroringGroupReflectorTable.setStatus('current') hwMirroringGroupReflectorEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 29, 1), ).setIndexNames((0, "HUAWEI-LswQos-MIB", "hwMirroringGroupID")) if mibBuilder.loadTexts: hwMirroringGroupReflectorEntry.setStatus('current') hwMirroringGroupReflectorIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 29, 1, 1), Integer32()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwMirroringGroupReflectorIfIndex.setStatus('current') hwMirroringGroupReflectorRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 29, 1, 2), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwMirroringGroupReflectorRowStatus.setStatus('current') hwMirroringGroupRprobeVlanTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 30), ) if mibBuilder.loadTexts: hwMirroringGroupRprobeVlanTable.setStatus('current') hwMirroringGroupRprobeVlanEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 30, 1), ).setIndexNames((0, "HUAWEI-LswQos-MIB", "hwMirroringGroupID")) if mibBuilder.loadTexts: hwMirroringGroupRprobeVlanEntry.setStatus('current') hwMirroringGroupRprobeVlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 30, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4094))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwMirroringGroupRprobeVlanID.setStatus('current') hwMirroringGroupRprobeVlanRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 30, 1, 2), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwMirroringGroupRprobeVlanRowStatus.setStatus('current') hwMirroringGroupMirrorMacTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 31), ) if mibBuilder.loadTexts: hwMirroringGroupMirrorMacTable.setStatus('current') hwMirroringGroupMirrorMacEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 31, 1), ).setIndexNames((0, "HUAWEI-LswQos-MIB", "hwMirroringGroupID"), (0, "HUAWEI-LswQos-MIB", "hwMirroringGroupMirrorMacSeq")) if mibBuilder.loadTexts: hwMirroringGroupMirrorMacEntry.setStatus('current') hwMirroringGroupMirrorMacSeq = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 31, 1, 1), Integer32()) if mibBuilder.loadTexts: hwMirroringGroupMirrorMacSeq.setStatus('current') hwMirroringGroupMirrorMac = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 31, 1, 2), MacAddress()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwMirroringGroupMirrorMac.setStatus('current') hwMirrorMacVlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 31, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4094))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwMirrorMacVlanID.setStatus('current') hwMirroringGroupMirroMacStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 31, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwMirroringGroupMirroMacStatus.setStatus('current') hwMirroringGroupMirrorVlanTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 32), ) if mibBuilder.loadTexts: hwMirroringGroupMirrorVlanTable.setStatus('current') hwMirroringGroupMirrorVlanEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 32, 1), ).setIndexNames((0, "HUAWEI-LswQos-MIB", "hwMirroringGroupID"), (0, "HUAWEI-LswQos-MIB", "hwMirroringGroupMirrorVlanSeq")) if mibBuilder.loadTexts: hwMirroringGroupMirrorVlanEntry.setStatus('current') hwMirroringGroupMirrorVlanSeq = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 32, 1, 1), Integer32()) if mibBuilder.loadTexts: hwMirroringGroupMirrorVlanSeq.setStatus('current') hwMirroringGroupMirrorVlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 32, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4094))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwMirroringGroupMirrorVlanID.setStatus('current') hwMirroringGroupMirrorVlanDirection = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 32, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("inbound", 1), ("outbound", 2), ("both", 3)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwMirroringGroupMirrorVlanDirection.setStatus('current') hwMirroringGroupMirroVlanStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 32, 1, 4), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwMirroringGroupMirroVlanStatus.setStatus('current') hwPortTrustTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 33), ) if mibBuilder.loadTexts: hwPortTrustTable.setStatus('current') hwPortTrustEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 33, 1), ).setIndexNames((0, "HUAWEI-LswQos-MIB", "hwPortTrustIfIndex")) if mibBuilder.loadTexts: hwPortTrustEntry.setStatus('current') hwPortTrustIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 33, 1, 1), Integer32()) if mibBuilder.loadTexts: hwPortTrustIfIndex.setStatus('current') hwPortTrustTrustType = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 33, 1, 2), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("port", 1), ("cos", 2), ("dscp", 3))).clone('port')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwPortTrustTrustType.setStatus('current') hwPortTrustOvercastType = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 33, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("noOvercast", 1), ("overcastDSCP", 2), ("overcastCOS", 3))).clone('noOvercast')).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwPortTrustOvercastType.setStatus('current') hwPortTrustReset = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 33, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("reset", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwPortTrustReset.setStatus('current') hwRemarkVlanIDTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 34), ) if mibBuilder.loadTexts: hwRemarkVlanIDTable.setStatus('current') hwRemarkVlanIDEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 34, 1), ).setIndexNames((0, "HUAWEI-LswQos-MIB", "hwRemarkVlanIDAclIndex"), (0, "HUAWEI-LswQos-MIB", "hwRemarkVlanIDIfIndex"), (0, "HUAWEI-LswQos-MIB", "hwRemarkVlanIDVlanID"), (0, "HUAWEI-LswQos-MIB", "hwRemarkVlanIDDirection")) if mibBuilder.loadTexts: hwRemarkVlanIDEntry.setStatus('current') hwRemarkVlanIDAclIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 34, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2999))) if mibBuilder.loadTexts: hwRemarkVlanIDAclIndex.setStatus('current') hwRemarkVlanIDIfIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 34, 1, 2), Integer32()) if mibBuilder.loadTexts: hwRemarkVlanIDIfIndex.setStatus('current') hwRemarkVlanIDVlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 34, 1, 3), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4094))) if mibBuilder.loadTexts: hwRemarkVlanIDVlanID.setStatus('current') hwRemarkVlanIDDirection = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 34, 1, 4), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(0, 1, 2))).clone(namedValues=NamedValues(("invalid", 0), ("input", 1), ("output", 2)))) if mibBuilder.loadTexts: hwRemarkVlanIDDirection.setStatus('current') hwRemarkVlanIDUserAclNum = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 34, 1, 5), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(5000, 5999), ValueRangeConstraint(10000, 12999), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRemarkVlanIDUserAclNum.setStatus('current') hwRemarkVlanIDUserAclRule = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 34, 1, 6), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRemarkVlanIDUserAclRule.setStatus('current') hwRemarkVlanIDIpAclNum = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 34, 1, 7), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(2000, 3999), ValueRangeConstraint(10000, 12999), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRemarkVlanIDIpAclNum.setStatus('current') hwRemarkVlanIDIpAclRule = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 34, 1, 8), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRemarkVlanIDIpAclRule.setStatus('current') hwRemarkVlanIDLinkAclNum = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 34, 1, 9), Integer32().subtype(subtypeSpec=ConstraintsUnion(ValueRangeConstraint(0, 0), ValueRangeConstraint(4000, 4999), ValueRangeConstraint(10000, 12999), ))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRemarkVlanIDLinkAclNum.setStatus('current') hwRemarkVlanIDLinkAclRule = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 34, 1, 10), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 65535))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRemarkVlanIDLinkAclRule.setStatus('current') hwRemarkVlanIDRemarkVlanID = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 34, 1, 11), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 4094))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRemarkVlanIDRemarkVlanID.setStatus('current') hwRemarkVlanIDPacketType = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 34, 1, 12), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1, 2, 3))).clone(namedValues=NamedValues(("all", 1), ("tagged", 2), ("untagged", 3)))).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRemarkVlanIDPacketType.setStatus('current') hwRemarkVlanIDRowStatus = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 34, 1, 13), RowStatus()).setMaxAccess("readcreate") if mibBuilder.loadTexts: hwRemarkVlanIDRowStatus.setStatus('current') hwCosToDscpMapTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 35), ) if mibBuilder.loadTexts: hwCosToDscpMapTable.setStatus('current') hwCosToDscpMapEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 35, 1), ).setIndexNames((0, "HUAWEI-LswQos-MIB", "hwCosToDscpMapCosIndex")) if mibBuilder.loadTexts: hwCosToDscpMapEntry.setStatus('current') hwCosToDscpMapCosIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 35, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))) if mibBuilder.loadTexts: hwCosToDscpMapCosIndex.setStatus('current') hwCosToDscpMapDscpValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 35, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 63))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwCosToDscpMapDscpValue.setStatus('current') hwCosToDscpMapReSet = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 35, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("reset", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwCosToDscpMapReSet.setStatus('current') hwDscpToLocalPreMapTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 36), ) if mibBuilder.loadTexts: hwDscpToLocalPreMapTable.setStatus('current') hwDscpToLocalPreMapEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 36, 1), ).setIndexNames((0, "HUAWEI-LswQos-MIB", "hwDscpToLocalPreMapDscpIndex")) if mibBuilder.loadTexts: hwDscpToLocalPreMapEntry.setStatus('current') hwDscpToLocalPreMapDscpIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 36, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 63))) if mibBuilder.loadTexts: hwDscpToLocalPreMapDscpIndex.setStatus('current') hwDscpToLocalPreMapLocalPreVal = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 36, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwDscpToLocalPreMapLocalPreVal.setStatus('current') hwDscpToLocalPreMapReset = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 36, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("reset", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwDscpToLocalPreMapReset.setStatus('current') hwDscpToDropPreMapTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 37), ) if mibBuilder.loadTexts: hwDscpToDropPreMapTable.setStatus('current') hwDscpToDropPreMapEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 37, 1), ).setIndexNames((0, "HUAWEI-LswQos-MIB", "hwDscpToDropPreMapDscpIndex")) if mibBuilder.loadTexts: hwDscpToDropPreMapEntry.setStatus('current') hwDscpToDropPreMapDscpIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 37, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 63))) if mibBuilder.loadTexts: hwDscpToDropPreMapDscpIndex.setStatus('current') hwDscpToDropPreMapDropPreVal = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 37, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 2))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwDscpToDropPreMapDropPreVal.setStatus('current') hwDscpToDropPreMapReset = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 37, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("reset", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwDscpToDropPreMapReset.setStatus('current') hwDscpToCosMapTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 38), ) if mibBuilder.loadTexts: hwDscpToCosMapTable.setStatus('current') hwDscpToCosMapEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 38, 1), ).setIndexNames((0, "HUAWEI-LswQos-MIB", "hwDscpToCosMapDscpIndex")) if mibBuilder.loadTexts: hwDscpToCosMapEntry.setStatus('current') hwDscpToCosMapDscpIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 38, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 63))) if mibBuilder.loadTexts: hwDscpToCosMapDscpIndex.setStatus('current') hwDscpToCosMapCosValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 38, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 7))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwDscpToCosMapCosValue.setStatus('current') hwDscpToCosMapReset = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 38, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("reset", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwDscpToCosMapReset.setStatus('current') hwDscpToDscpMapTable = MibTable((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 39), ) if mibBuilder.loadTexts: hwDscpToDscpMapTable.setStatus('current') hwDscpToDscpMapEntry = MibTableRow((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 39, 1), ).setIndexNames((0, "HUAWEI-LswQos-MIB", "hwDscpToDscpMapDscpIndex")) if mibBuilder.loadTexts: hwDscpToDscpMapEntry.setStatus('current') hwDscpToDscpMapDscpIndex = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 39, 1, 1), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 63))) if mibBuilder.loadTexts: hwDscpToDscpMapDscpIndex.setStatus('current') hwDscpToDscpMapDscpValue = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 39, 1, 2), Integer32().subtype(subtypeSpec=ValueRangeConstraint(0, 63))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwDscpToDscpMapDscpValue.setStatus('current') hwDscpToDscpMapReset = MibTableColumn((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 39, 1, 3), Integer32().subtype(subtypeSpec=ConstraintsUnion(SingleValueConstraint(1))).clone(namedValues=NamedValues(("reset", 1)))).setMaxAccess("readwrite") if mibBuilder.loadTexts: hwDscpToDscpMapReset.setStatus('current') mibBuilder.exportSymbols("HUAWEI-LswQos-MIB", hwWredExponent=hwWredExponent, hwPortTrustReset=hwPortTrustReset, hwRedVlanID=hwRedVlanID, hwRedirectRuntime=hwRedirectRuntime, hwLineRateTable=hwLineRateTable, hwPriorityTable=hwPriorityTable, hwRateLimitIfIndex=hwRateLimitIfIndex, hwBandwidthDirection=hwBandwidthDirection, hwRateLimitMeterStatByteCount=hwRateLimitMeterStatByteCount, hwFlowtempEnableFlowtempIndex=hwFlowtempEnableFlowtempIndex, hwFlowtempDMac=hwFlowtempDMac, hwRedirectTable=hwRedirectTable, hwMirroringGroupMirrorMacSeq=hwMirroringGroupMirrorMacSeq, hwLineRateRowStatus=hwLineRateRowStatus, hwWredGreenMaxThreshold=hwWredGreenMaxThreshold, hwDscpToDropPreMapDropPreVal=hwDscpToDropPreMapDropPreVal, hwMirroringGroupReflectorEntry=hwMirroringGroupReflectorEntry, hwRedirectIfIndex=hwRedirectIfIndex, hwPriorityPolicedServiceType=hwPriorityPolicedServiceType, hwRedirectToCpu=hwRedirectToCpu, hwWredRedMinThreshold=hwWredRedMinThreshold, hwStatisticVlanID=hwStatisticVlanID, hwRedirectRemarkedDSCP=hwRedirectRemarkedDSCP, hwQueueTable=hwQueueTable, hwRemarkVlanIDUserAclNum=hwRemarkVlanIDUserAclNum, hwRedirectLinkAclNum=hwRedirectLinkAclNum, hwDscpToLocalPreMapEntry=hwDscpToLocalPreMapEntry, hwRateLimitPIR=hwRateLimitPIR, hwPortWredQueueID=hwPortWredQueueID, hwWredQueueId=hwWredQueueId, hwRedIfIndex=hwRedIfIndex, hwRedirectRowStatus=hwRedirectRowStatus, hwQueueWeight4=hwQueueWeight4, hwFlowtempDPort=hwFlowtempDPort, hwPriorityPolicedServiceDropPriority=hwPriorityPolicedServiceDropPriority, hwPriorityRuntime=hwPriorityRuntime, hwRedirectEntry=hwRedirectEntry, hwPortMirrorTable=hwPortMirrorTable, hwStatisticUserAclRule=hwStatisticUserAclRule, hwRedStartQueueLen=hwRedStartQueueLen, hwDscpToDropPreMapTable=hwDscpToDropPreMapTable, hwWredYellowMaxThreshold=hwWredYellowMaxThreshold, hwBandwidthVlanID=hwBandwidthVlanID, hwMirrorEntry=hwMirrorEntry, hwRedirectVlanID=hwRedirectVlanID, hwRedLinkAclRule=hwRedLinkAclRule, hwMirroringGroupRprobeVlanID=hwMirroringGroupRprobeVlanID, hwMirroringGroupMirrorVlanDirection=hwMirroringGroupMirrorVlanDirection, hwStatisticPacketXCount=hwStatisticPacketXCount, hwMirrorGroupMonitorIfIndex=hwMirrorGroupMonitorIfIndex, hwMirroringGroupMirrorEntry=hwMirroringGroupMirrorEntry, hwPriorityIpAclRule=hwPriorityIpAclRule, hwLineRateEntry=hwLineRateEntry, hwMirrorIfIndex=hwMirrorIfIndex, hwCosToDropPrecedenceMapDropPrecedenceValue=hwCosToDropPrecedenceMapDropPrecedenceValue, hwWredRedMaxThreshold=hwWredRedMaxThreshold, hwStatisticPacketCount=hwStatisticPacketCount, hwMirrorToGroup=hwMirrorToGroup, hwPortMirrorDirection=hwPortMirrorDirection, hwStatisticAclIndex=hwStatisticAclIndex, hwFlowtempDscp=hwFlowtempDscp, hwFlowtempEnableIfIndex=hwFlowtempEnableIfIndex, hwDscpMapDropPrecedence=hwDscpMapDropPrecedence, hwRemarkVlanIDIfIndex=hwRemarkVlanIDIfIndex, hwPortTrustIfIndex=hwPortTrustIfIndex, hwCosToDscpMapDscpValue=hwCosToDscpMapDscpValue, hwMirroringGroupRowStatus=hwMirroringGroupRowStatus, hwMirrorMacVlanID=hwMirrorMacVlanID, hwRemarkVlanIDRowStatus=hwRemarkVlanIDRowStatus, hwMirroringGroupMirrorVlanID=hwMirroringGroupMirrorVlanID, hwMirroringGroupMonitorEntry=hwMirroringGroupMonitorEntry, hwFlowtempTos=hwFlowtempTos, hwFlowtempVpn=hwFlowtempVpn, hwRedirectToNextHop3=hwRedirectToNextHop3, hwCosToLocalPrecedenceMapCosIndex=hwCosToLocalPrecedenceMapCosIndex, hwTrafficShapeTable=hwTrafficShapeTable, hwCosToDscpMapEntry=hwCosToDscpMapEntry, hwQueueScheduleMode=hwQueueScheduleMode, hwCosToLocalPrecedenceMapLocalPrecedenceValue=hwCosToLocalPrecedenceMapLocalPrecedenceValue, hwMirrorGroupTable=hwMirrorGroupTable, hwRateLimitUserAclNum=hwRateLimitUserAclNum, hwRateLimitRuntime=hwRateLimitRuntime, hwDscpMapConformLevel=hwDscpMapConformLevel, hwDscpToLocalPreMapDscpIndex=hwDscpToLocalPreMapDscpIndex, hwBandwidthLinkAclNum=hwBandwidthLinkAclNum, hwFlowtempTable=hwFlowtempTable, hwCosToDropPrecedenceMapCosIndex=hwCosToDropPrecedenceMapCosIndex, hwLswQosMibObject=hwLswQosMibObject, hwCosToLocalPrecedenceMapTable=hwCosToLocalPrecedenceMapTable, hwMirroringGroupMirroMacStatus=hwMirroringGroupMirroMacStatus, hwPriorityIpPreFromCos=hwPriorityIpPreFromCos, hwPriorityTrustMode=hwPriorityTrustMode, hwMirroringGroupMirrorRowStatus=hwMirroringGroupMirrorRowStatus, hwRateLimitUserAclRule=hwRateLimitUserAclRule, hwFlowtempSIpMask=hwFlowtempSIpMask, hwMirroringGroupMonitorRowStatus=hwMirroringGroupMonitorRowStatus, hwLineRateIfIndex=hwLineRateIfIndex, hwQueueEntry=hwQueueEntry, hwRedirectMode=hwRedirectMode, hwLocalPrecedenceMapTable=hwLocalPrecedenceMapTable, hwDscpToDscpMapDscpValue=hwDscpToDscpMapDscpValue, hwBandwidthAclIndex=hwBandwidthAclIndex, hwQueueWeight2=hwQueueWeight2, hwMirroringGroupReflectorTable=hwMirroringGroupReflectorTable, hwFlowtempFragment=hwFlowtempFragment, hwDscpToCosMapDscpIndex=hwDscpToCosMapDscpIndex, hwWredEntry=hwWredEntry, hwMirrorVlanID=hwMirrorVlanID, hwCosToLocalPrecedenceMapEntry=hwCosToLocalPrecedenceMapEntry, hwQueueWeight5=hwQueueWeight5, hwMirroringGroupRprobeVlanEntry=hwMirroringGroupRprobeVlanEntry, hwPortQueueIfIndex=hwPortQueueIfIndex, hwRateLimitIpAclNum=hwRateLimitIpAclNum, hwBandwidthLinkAclRule=hwBandwidthLinkAclRule, hwDscpMapEntry=hwDscpMapEntry, hwFlowtempSMac=hwFlowtempSMac, hwFlowtempDIp=hwFlowtempDIp, hwRedirectToIfIndex=hwRedirectToIfIndex, hwDscpToCosMapCosValue=hwDscpToCosMapCosValue, hwMirroringGroupMirrorVlanSeq=hwMirroringGroupMirrorVlanSeq, hwRedirectAclIndex=hwRedirectAclIndex, hwPortQueueQueueID=hwPortQueueQueueID, hwPriorityDirection=hwPriorityDirection, hwRedirectLinkAclRule=hwRedirectLinkAclRule, hwLocalPrecedenceMapLocalPrecedenceIndex=hwLocalPrecedenceMapLocalPrecedenceIndex, hwRemarkVlanIDEntry=hwRemarkVlanIDEntry, hwCosToDscpMapTable=hwCosToDscpMapTable, hwPriorityCosFromIpPre=hwPriorityCosFromIpPre, hwRateLimitConformDscp=hwRateLimitConformDscp, hwPriorityPolicedServiceExp=hwPriorityPolicedServiceExp, hwRedirectRemarkedPri=hwRedirectRemarkedPri, hwStatisticRuntime=hwStatisticRuntime, hwRedirectToModifiedVlanID=hwRedirectToModifiedVlanID, hwRateLimitDirection=hwRateLimitDirection, hwPriorityPolicedServiceDscp=hwPriorityPolicedServiceDscp, hwFlowtempEnableTable=hwFlowtempEnableTable, hwRateLimitTable=hwRateLimitTable, hwDscpMapDscpIndex=hwDscpMapDscpIndex, hwMirroringGroupMonitorIfIndex=hwMirroringGroupMonitorIfIndex, hwLineRateDirection=hwLineRateDirection, hwMirroringGroupMirrorMacEntry=hwMirroringGroupMirrorMacEntry, hwRedDirection=hwRedDirection, hwLswQosAclMib=hwLswQosAclMib, hwExpMapLocalPrecedence=hwExpMapLocalPrecedence, hwPriorityDscp=hwPriorityDscp, hwRedIpAclRule=hwRedIpAclRule, hwPortQueueWrrPriority=hwPortQueueWrrPriority, hwDscpToLocalPreMapLocalPreVal=hwDscpToLocalPreMapLocalPreVal, hwPriorityRowStatus=hwPriorityRowStatus, hwRateLimitConformActionType=hwRateLimitConformActionType, hwRemarkVlanIDAclIndex=hwRemarkVlanIDAclIndex, hwRemarkVlanIDVlanID=hwRemarkVlanIDVlanID, hwWredIndex=hwWredIndex, hwPriorityPolicedServiceCos=hwPriorityPolicedServiceCos, hwRateLimitIpAclRule=hwRateLimitIpAclRule, hwRemarkVlanIDUserAclRule=hwRemarkVlanIDUserAclRule, hwFlowtempDIpMask=hwFlowtempDIpMask, hwRemarkVlanIDIpAclNum=hwRemarkVlanIDIpAclNum, hwMirrorGroupMirrorIfIndexList=hwMirrorGroupMirrorIfIndexList, hwMirroringGroupStatus=hwMirroringGroupStatus, hwCosToDropPrecedenceMapEntry=hwCosToDropPrecedenceMapEntry, hwMirroringGroupEntry=hwMirroringGroupEntry, hwTrafficShapeIfIndex=hwTrafficShapeIfIndex, hwMirroringGroupMirrorMacTable=hwMirroringGroupMirrorMacTable, hwRateLimitEntry=hwRateLimitEntry, hwRedirectToNextHop2=hwRedirectToNextHop2, hwMirroringGroupMirrorMac=hwMirroringGroupMirrorMac, hwTrafficShapeEntry=hwTrafficShapeEntry, hwFlowtempIpPre=hwFlowtempIpPre, hwPriorityUserAclNum=hwPriorityUserAclNum, hwRateLimitTargetRateKbps=hwRateLimitTargetRateKbps, hwDscpMapCosValue=hwDscpMapCosValue, hwBandwidthWeight=hwBandwidthWeight, hwRateLimitVlanID=hwRateLimitVlanID, hwPortMirrorIfIndex=hwPortMirrorIfIndex, hwFlowtempTcpFlag=hwFlowtempTcpFlag, hwWredYellowMinThreshold=hwWredYellowMinThreshold, hwWredYellowMaxProb=hwWredYellowMaxProb, hwFlowtempIndex=hwFlowtempIndex, hwRateLimitLinkAclRule=hwRateLimitLinkAclRule, hwMirrorToIfIndex=hwMirrorToIfIndex, hwFlowtempSMacMask=hwFlowtempSMacMask, hwMirrorGroupEntry=hwMirrorGroupEntry, hwMirrorLinkAclRule=hwMirrorLinkAclRule, hwStatisticTable=hwStatisticTable, hwMirroringGroupMirrorOutTypeList=hwMirroringGroupMirrorOutTypeList, hwFlowtempEnableVlanID=hwFlowtempEnableVlanID, hwPriorityPolicedServiceLoaclPre=hwPriorityPolicedServiceLoaclPre, hwRedRowStatus=hwRedRowStatus, hwRateLimitRowStatus=hwRateLimitRowStatus, hwMirroringGroupID=hwMirroringGroupID, hwQueueIfIndex=hwQueueIfIndex, hwPortMirrorEntry=hwPortMirrorEntry, hwMirroringGroupMirroVlanStatus=hwMirroringGroupMirroVlanStatus, hwRateLimitAclIndex=hwRateLimitAclIndex, hwRedAclIndex=hwRedAclIndex, hwRemarkVlanIDDirection=hwRemarkVlanIDDirection, hwTrafficShapeQueueId=hwTrafficShapeQueueId, hwFlowtempCos=hwFlowtempCos, hwDscpMapLocalPrecedence=hwDscpMapLocalPrecedence, hwQueueWeight1=hwQueueWeight1, hwRateLimitLinkAclNum=hwRateLimitLinkAclNum, hwRedirectUserAclRule=hwRedirectUserAclRule, PYSNMP_MODULE_ID=hwLswQosAclMib, hwRedEntry=hwRedEntry, hwPriorityLinkAclNum=hwPriorityLinkAclNum, hwDscpToDscpMapTable=hwDscpToDscpMapTable, hwRemarkVlanIDRemarkVlanID=hwRemarkVlanIDRemarkVlanID, hwExpMapTable=hwExpMapTable, hwPortTrustEntry=hwPortTrustEntry, hwMirrorUserAclRule=hwMirrorUserAclRule, hwMirrorTable=hwMirrorTable, hwRedIpAclNum=hwRedIpAclNum, hwDscpMapTable=hwDscpMapTable, hwMirrorUserAclNum=hwMirrorUserAclNum, hwBandwidthMinGuaranteedWidth=hwBandwidthMinGuaranteedWidth, hwFlowtempEntry=hwFlowtempEntry, hwPriorityEntry=hwPriorityEntry, hwDscpToDropPreMapReset=hwDscpToDropPreMapReset, hwDropModeEntry=hwDropModeEntry, hwRemarkVlanIDLinkAclNum=hwRemarkVlanIDLinkAclNum, hwBandwidthTable=hwBandwidthTable, hwTrafficShapeBurstSize=hwTrafficShapeBurstSize, hwRemarkVlanIDPacketType=hwRemarkVlanIDPacketType, hwPriorityIfIndex=hwPriorityIfIndex, hwRedProbability=hwRedProbability, hwStatisticByteCount=hwStatisticByteCount, hwCosToDscpMapReSet=hwCosToDscpMapReSet, hwBandwidthRowStatus=hwBandwidthRowStatus, hwPriorityUserAclRule=hwPriorityUserAclRule, hwRedStopQueueLen=hwRedStopQueueLen, hwPortTrustOvercastType=hwPortTrustOvercastType, hwRemarkVlanIDLinkAclRule=hwRemarkVlanIDLinkAclRule, hwRateLimitEBS=hwRateLimitEBS, hwRedirectToNestedVlanID=hwRedirectToNestedVlanID, hwRateLimitExceedCos=hwRateLimitExceedCos, hwMirroringGroupType=hwMirroringGroupType, hwPortQueueTable=hwPortQueueTable, hwFlowtempIpProtocol=hwFlowtempIpProtocol, hwRedRuntime=hwRedRuntime, hwMirrorRowStatus=hwMirrorRowStatus, hwBandwidthEntry=hwBandwidthEntry, hwDscpMapExpValue=hwDscpMapExpValue, hwDropModeMode=hwDropModeMode, hwRateLimitTargetRateMbps=hwRateLimitTargetRateMbps, hwMirrorToCpu=hwMirrorToCpu, hwRateLimitCBS=hwRateLimitCBS, hwRedirectIpAclNum=hwRedirectIpAclNum, hwDscpToCosMapEntry=hwDscpToCosMapEntry, hwTrafficShapeRowStatus=hwTrafficShapeRowStatus, hwMirrorIpAclRule=hwMirrorIpAclRule, hwCosToDscpMapCosIndex=hwCosToDscpMapCosIndex, hwMirroringGroupMirrorInTypeList=hwMirroringGroupMirrorInTypeList, hwDropModeIfIndex=hwDropModeIfIndex) mibBuilder.exportSymbols("HUAWEI-LswQos-MIB", hwStatisticEntry=hwStatisticEntry, hwBandwidthRuntime=hwBandwidthRuntime, hwExpMapCosValue=hwExpMapCosValue, hwExpMapEntry=hwExpMapEntry, hwRateLimitCIR=hwRateLimitCIR, hwRateLimitConformLocalPre=hwRateLimitConformLocalPre, hwMirrorAclIndex=hwMirrorAclIndex, hwQueueMaxDelay=hwQueueMaxDelay, hwWredGreenMaxProb=hwWredGreenMaxProb, hwDscpToLocalPreMapTable=hwDscpToLocalPreMapTable, hwFlowtempRowStatus=hwFlowtempRowStatus, hwPortMonitorBothIfIndex=hwPortMonitorBothIfIndex, hwPriorityVlanID=hwPriorityVlanID, hwDropModeWredIndex=hwDropModeWredIndex, hwBandwidthIpAclNum=hwBandwidthIpAclNum, hwFlowtempIcmpType=hwFlowtempIcmpType, hwMirroringGroupMirrorOutboundIfIndexList=hwMirroringGroupMirrorOutboundIfIndexList, hwFlowtempEnableEntry=hwFlowtempEnableEntry, hwDscpToCosMapReset=hwDscpToCosMapReset, hwPortMirrorRowStatus=hwPortMirrorRowStatus, hwDscpToDropPreMapDscpIndex=hwDscpToDropPreMapDscpIndex, hwPortWredQueueStartLength=hwPortWredQueueStartLength, hwRateLimitExceedActionType=hwRateLimitExceedActionType, hwMirroringGroupMonitorType=hwMirroringGroupMonitorType, hwPriorityLinkAclRule=hwPriorityLinkAclRule, hwStatisticCountClear=hwStatisticCountClear, hwFlowtempDMacMask=hwFlowtempDMacMask, hwRateLimitMeterStatByteXCount=hwRateLimitMeterStatByteXCount, hwExpMapDscpValue=hwExpMapDscpValue, hwPortWredTable=hwPortWredTable, hwDscpMapDscpValue=hwDscpMapDscpValue, hwPriorityCos=hwPriorityCos, hwQueueWeight6=hwQueueWeight6, hwRedirectToNextHop1=hwRedirectToNextHop1, hwStatisticUserAclNum=hwStatisticUserAclNum, hwMirrorGroupDirection=hwMirrorGroupDirection, hwExpMapDropPrecedence=hwExpMapDropPrecedence, hwFlowtempVlanId=hwFlowtempVlanId, hwRedirectDirection=hwRedirectDirection, hwDropModeTable=hwDropModeTable, hwDscpToDscpMapReset=hwDscpToDscpMapReset, hwPriorityAclIndex=hwPriorityAclIndex, hwPortTrustTable=hwPortTrustTable, hwFlowtempSIp=hwFlowtempSIp, hwCosToDropPrecedenceMapTable=hwCosToDropPrecedenceMapTable, hwRedirectUserAclNum=hwRedirectUserAclNum, hwStatisticLinkAclNum=hwStatisticLinkAclNum, hwRateLimitExceedDscp=hwRateLimitExceedDscp, hwPriorityIpPre=hwPriorityIpPre, hwPortWredEntry=hwPortWredEntry, hwQueueWeight8=hwQueueWeight8, hwMirroringGroupReflectorIfIndex=hwMirroringGroupReflectorIfIndex, hwFlowtempSPort=hwFlowtempSPort, hwMirroringGroupRprobeVlanRowStatus=hwMirroringGroupRprobeVlanRowStatus, hwMirroringGroupReflectorRowStatus=hwMirroringGroupReflectorRowStatus, hwPortWredQueueProbability=hwPortWredQueueProbability, hwPortQueueWeight=hwPortQueueWeight, hwWredRedMaxProb=hwWredRedMaxProb, hwFlowtempEthProtocol=hwFlowtempEthProtocol, hwMirroringGroupMirrorInboundIfIndexList=hwMirroringGroupMirrorInboundIfIndexList, hwPriorityLocalPre=hwPriorityLocalPre, hwPortTrustTrustType=hwPortTrustTrustType, hwFlowtempIcmpCode=hwFlowtempIcmpCode, hwRateLimitMeterStatState=hwRateLimitMeterStatState, hwPortWredIfIndex=hwPortWredIfIndex, hwStatisticLinkAclRule=hwStatisticLinkAclRule, hwRedTable=hwRedTable, hwRateLimitPeakRate=hwRateLimitPeakRate, hwStatisticByteXCount=hwStatisticByteXCount, hwDscpToDropPreMapEntry=hwDscpToDropPreMapEntry, hwDscpToCosMapTable=hwDscpToCosMapTable, hwTrafficShapeMaxRate=hwTrafficShapeMaxRate, hwMirroringGroupTable=hwMirroringGroupTable, hwMirroringGroupRprobeVlanTable=hwMirroringGroupRprobeVlanTable, hwMirroringGroupMirrorVlanEntry=hwMirroringGroupMirrorVlanEntry, hwMirrorGroupID=hwMirrorGroupID, hwExpMapExpValue=hwExpMapExpValue, hwLocalPrecedenceMapEntry=hwLocalPrecedenceMapEntry, hwWredTable=hwWredTable, hwDscpToLocalPreMapReset=hwDscpToLocalPreMapReset, hwLocalPrecedenceMapConformLevel=hwLocalPrecedenceMapConformLevel, hwMirroringGroupMirrorVlanTable=hwMirroringGroupMirrorVlanTable, hwBandwidthMaxGuaranteedWidth=hwBandwidthMaxGuaranteedWidth, hwMirroringGroupMirrorTable=hwMirroringGroupMirrorTable, hwRemarkVlanIDIpAclRule=hwRemarkVlanIDIpAclRule, hwStatisticIfIndex=hwStatisticIfIndex, hwRedirectIpAclRule=hwRedirectIpAclRule, hwBandwidthIpAclRule=hwBandwidthIpAclRule, hwMirrorIpAclNum=hwMirrorIpAclNum, hwMirrorGroupRowStatus=hwMirrorGroupRowStatus, HwMirrorOrMonitorType=HwMirrorOrMonitorType, hwExpMapExpIndex=hwExpMapExpIndex, hwTrafficShapeBufferLimit=hwTrafficShapeBufferLimit, hwMirroringGroupMonitorTable=hwMirroringGroupMonitorTable, hwMirrorDirection=hwMirrorDirection, hwQueueWeight3=hwQueueWeight3, hwRedLinkAclNum=hwRedLinkAclNum, hwMirrorRuntime=hwMirrorRuntime, hwQueueWeight7=hwQueueWeight7, hwWredGreenMinThreshold=hwWredGreenMinThreshold, hwPriorityIpAclNum=hwPriorityIpAclNum, hwStatisticIpAclRule=hwStatisticIpAclRule, hwLineRateValue=hwLineRateValue, hwDscpToDscpMapEntry=hwDscpToDscpMapEntry, hwRedirectToSlotNo=hwRedirectToSlotNo, hwStatisticRowStatus=hwStatisticRowStatus, hwExpMapConformLevel=hwExpMapConformLevel, hwRemarkVlanIDTable=hwRemarkVlanIDTable, hwStatisticIpAclNum=hwStatisticIpAclNum, hwRedirectTargetVlanID=hwRedirectTargetVlanID, hwRedirectRemarkedTos=hwRedirectRemarkedTos, hwPortQueueEntry=hwPortQueueEntry, hwBandwidthIfIndex=hwBandwidthIfIndex, hwStatisticDirection=hwStatisticDirection, hwRateLimitConformCos=hwRateLimitConformCos, hwDscpToDscpMapDscpIndex=hwDscpToDscpMapDscpIndex, hwMirrorLinkAclNum=hwMirrorLinkAclNum, hwLocalPrecedenceMapCosValue=hwLocalPrecedenceMapCosValue)
(object_identifier, integer, octet_string) = mibBuilder.importSymbols('ASN1', 'ObjectIdentifier', 'Integer', 'OctetString') (named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues') (constraints_intersection, value_size_constraint, constraints_union, value_range_constraint, single_value_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsIntersection', 'ValueSizeConstraint', 'ConstraintsUnion', 'ValueRangeConstraint', 'SingleValueConstraint') (lsw_common,) = mibBuilder.importSymbols('HUAWEI-3COM-OID-MIB', 'lswCommon') (notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance') (integer32, time_ticks, gauge32, module_identity, bits, iso, mib_scalar, mib_table, mib_table_row, mib_table_column, counter64, unsigned32, counter32, ip_address, notification_type, mib_identifier, object_identity) = mibBuilder.importSymbols('SNMPv2-SMI', 'Integer32', 'TimeTicks', 'Gauge32', 'ModuleIdentity', 'Bits', 'iso', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Counter64', 'Unsigned32', 'Counter32', 'IpAddress', 'NotificationType', 'MibIdentifier', 'ObjectIdentity') (display_string, textual_convention, row_status, mac_address, truth_value) = mibBuilder.importSymbols('SNMPv2-TC', 'DisplayString', 'TextualConvention', 'RowStatus', 'MacAddress', 'TruthValue') hw_lsw_qos_acl_mib = module_identity((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16)) hwLswQosAclMib.setRevisions(('2002-11-19 00:00',)) if mibBuilder.loadTexts: hwLswQosAclMib.setLastUpdated('200211190000Z') if mibBuilder.loadTexts: hwLswQosAclMib.setOrganization('HUAWEI LANSWITCH') class Hwmirrorormonitortype(TextualConvention, Integer32): status = 'current' subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2)) named_values = named_values(('port', 1), ('board', 2)) hw_lsw_qos_mib_object = mib_identifier((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2)) hw_priority_trust_mode = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4))).clone(namedValues=named_values(('default', 0), ('dscp', 1), ('ipprecedence', 2), ('cos', 3), ('localprecedence', 4)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwPriorityTrustMode.setStatus('current') hw_port_monitor_both_if_index = mib_scalar((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 2), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwPortMonitorBothIfIndex.setStatus('current') hw_queue_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 3)) if mibBuilder.loadTexts: hwQueueTable.setStatus('current') hw_queue_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 3, 1)).setIndexNames((0, 'HUAWEI-LswQos-MIB', 'hwQueueIfIndex')) if mibBuilder.loadTexts: hwQueueEntry.setStatus('current') hw_queue_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 3, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hwQueueIfIndex.setStatus('current') hw_queue_schedule_mode = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 3, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9))).clone(namedValues=named_values(('sp', 1), ('wrr', 2), ('wrr-max-delay', 3), ('sc-0', 4), ('sc-1', 5), ('sc-2', 6), ('rr', 7), ('wfq', 8), ('hq-wrr', 9))).clone('sp')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwQueueScheduleMode.setStatus('current') hw_queue_weight1 = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 3, 1, 3), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwQueueWeight1.setStatus('current') hw_queue_weight2 = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 3, 1, 4), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwQueueWeight2.setStatus('current') hw_queue_weight3 = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 3, 1, 5), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwQueueWeight3.setStatus('current') hw_queue_weight4 = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 3, 1, 6), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwQueueWeight4.setStatus('current') hw_queue_max_delay = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 3, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(0, 255))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwQueueMaxDelay.setStatus('current') hw_queue_weight5 = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 3, 1, 8), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwQueueWeight5.setStatus('current') hw_queue_weight6 = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 3, 1, 9), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwQueueWeight6.setStatus('current') hw_queue_weight7 = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 3, 1, 10), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwQueueWeight7.setStatus('current') hw_queue_weight8 = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 3, 1, 11), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwQueueWeight8.setStatus('current') hw_rate_limit_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4)) if mibBuilder.loadTexts: hwRateLimitTable.setStatus('current') hw_rate_limit_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1)).setIndexNames((0, 'HUAWEI-LswQos-MIB', 'hwRateLimitAclIndex'), (0, 'HUAWEI-LswQos-MIB', 'hwRateLimitIfIndex'), (0, 'HUAWEI-LswQos-MIB', 'hwRateLimitVlanID'), (0, 'HUAWEI-LswQos-MIB', 'hwRateLimitDirection')) if mibBuilder.loadTexts: hwRateLimitEntry.setStatus('current') hw_rate_limit_acl_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2999))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRateLimitAclIndex.setStatus('current') hw_rate_limit_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 2), integer32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRateLimitIfIndex.setStatus('current') hw_rate_limit_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 4094))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRateLimitVlanID.setStatus('current') hw_rate_limit_direction = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('invalid', 0), ('input', 1), ('output', 2)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRateLimitDirection.setStatus('current') hw_rate_limit_user_acl_num = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 5), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(5000, 5999), value_range_constraint(10000, 12999)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRateLimitUserAclNum.setStatus('current') hw_rate_limit_user_acl_rule = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRateLimitUserAclRule.setStatus('current') hw_rate_limit_ip_acl_num = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 7), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(2000, 3999), value_range_constraint(10000, 12999)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRateLimitIpAclNum.setStatus('current') hw_rate_limit_ip_acl_rule = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRateLimitIpAclRule.setStatus('current') hw_rate_limit_link_acl_num = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 9), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(4000, 4999), value_range_constraint(10000, 12999)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRateLimitLinkAclNum.setStatus('current') hw_rate_limit_link_acl_rule = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRateLimitLinkAclRule.setStatus('current') hw_rate_limit_target_rate_mbps = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 11), integer32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRateLimitTargetRateMbps.setStatus('current') hw_rate_limit_target_rate_kbps = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 12), integer32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRateLimitTargetRateKbps.setStatus('current') hw_rate_limit_peak_rate = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 13), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(64, 8388608)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRateLimitPeakRate.setStatus('current') hw_rate_limit_cir = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 14), integer32().subtype(subtypeSpec=value_range_constraint(0, 34120000))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRateLimitCIR.setStatus('current') hw_rate_limit_cbs = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 15), integer32().subtype(subtypeSpec=value_range_constraint(0, 1048575))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRateLimitCBS.setStatus('current') hw_rate_limit_ebs = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 16), integer32().subtype(subtypeSpec=value_range_constraint(0, 268435455))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRateLimitEBS.setStatus('current') hw_rate_limit_pir = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 17), integer32().subtype(subtypeSpec=value_range_constraint(0, 34120000))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRateLimitPIR.setStatus('current') hw_rate_limit_conform_local_pre = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 18), integer32().clone(1)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRateLimitConformLocalPre.setStatus('current') hw_rate_limit_conform_action_type = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 19), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4, 5))).clone(namedValues=named_values(('invalid', 0), ('remark-cos', 1), ('remark-drop-priority', 2), ('remark-cos-drop-priority', 3), ('remark-policed-service', 4), ('remark-dscp', 5))).clone(1)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRateLimitConformActionType.setStatus('current') hw_rate_limit_exceed_action_type = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 20), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4))).clone(namedValues=named_values(('invalid', 0), ('forward', 1), ('drop', 2), ('remarkdscp', 3), ('exceed-cos', 4))).clone(1)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRateLimitExceedActionType.setStatus('current') hw_rate_limit_exceed_dscp = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 21), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 63), value_range_constraint(255, 255))).clone(255)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRateLimitExceedDscp.setStatus('current') hw_rate_limit_runtime = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 22), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: hwRateLimitRuntime.setStatus('current') hw_rate_limit_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 23), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRateLimitRowStatus.setStatus('current') hw_rate_limit_exceed_cos = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 24), integer32().clone(255)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRateLimitExceedCos.setStatus('current') hw_rate_limit_conform_cos = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 25), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 7), value_range_constraint(255, 255))).clone(255)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRateLimitConformCos.setStatus('current') hw_rate_limit_conform_dscp = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 26), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 63), value_range_constraint(255, 255))).clone(255)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRateLimitConformDscp.setStatus('current') hw_rate_limit_meter_stat_byte_count = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 27), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: hwRateLimitMeterStatByteCount.setStatus('current') hw_rate_limit_meter_stat_byte_x_count = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 28), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: hwRateLimitMeterStatByteXCount.setStatus('current') hw_rate_limit_meter_stat_state = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 4, 1, 29), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3, 4, 5))).clone(namedValues=named_values(('set', 1), ('unDo', 2), ('reset', 3), ('running', 4), ('notRunning', 5)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRateLimitMeterStatState.setStatus('current') hw_priority_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5)) if mibBuilder.loadTexts: hwPriorityTable.setStatus('current') hw_priority_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1)).setIndexNames((0, 'HUAWEI-LswQos-MIB', 'hwPriorityAclIndex'), (0, 'HUAWEI-LswQos-MIB', 'hwPriorityIfIndex'), (0, 'HUAWEI-LswQos-MIB', 'hwPriorityVlanID'), (0, 'HUAWEI-LswQos-MIB', 'hwPriorityDirection')) if mibBuilder.loadTexts: hwPriorityEntry.setStatus('current') hw_priority_acl_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2999))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwPriorityAclIndex.setStatus('current') hw_priority_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 2), integer32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwPriorityIfIndex.setStatus('current') hw_priority_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 4094))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwPriorityVlanID.setStatus('current') hw_priority_direction = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('invalid', 0), ('input', 1), ('output', 2)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwPriorityDirection.setStatus('current') hw_priority_user_acl_num = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 5), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(5000, 5999), value_range_constraint(10000, 12999)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwPriorityUserAclNum.setStatus('current') hw_priority_user_acl_rule = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwPriorityUserAclRule.setStatus('current') hw_priority_ip_acl_num = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 7), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(2000, 3999), value_range_constraint(10000, 12999)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwPriorityIpAclNum.setStatus('current') hw_priority_ip_acl_rule = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwPriorityIpAclRule.setStatus('current') hw_priority_link_acl_num = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 9), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(4000, 4999), value_range_constraint(10000, 12999)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwPriorityLinkAclNum.setStatus('current') hw_priority_link_acl_rule = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwPriorityLinkAclRule.setStatus('current') hw_priority_dscp = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 11), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 63), value_range_constraint(255, 255))).clone(255)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwPriorityDscp.setStatus('current') hw_priority_ip_pre = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 12), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 7), value_range_constraint(255, 255))).clone(255)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwPriorityIpPre.setStatus('current') hw_priority_ip_pre_from_cos = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 13), truth_value().clone(2)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwPriorityIpPreFromCos.setStatus('current') hw_priority_cos = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 14), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 7), value_range_constraint(255, 255))).clone(255)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwPriorityCos.setStatus('current') hw_priority_cos_from_ip_pre = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 15), truth_value().clone(2)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwPriorityCosFromIpPre.setStatus('current') hw_priority_local_pre = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 16), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 7), value_range_constraint(255, 255))).clone(255)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwPriorityLocalPre.setStatus('current') hw_priority_policed_service_type = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 17), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2, 3, 4))).clone(namedValues=named_values(('invalid', 0), ('auto', 1), ('trust-dscp', 2), ('new-dscp', 3), ('untrusted', 4)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwPriorityPolicedServiceType.setStatus('current') hw_priority_policed_service_dscp = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 18), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 63), value_range_constraint(255, 255))).clone(255)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwPriorityPolicedServiceDscp.setStatus('current') hw_priority_policed_service_exp = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 19), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 7), value_range_constraint(255, 255))).clone(255)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwPriorityPolicedServiceExp.setStatus('current') hw_priority_policed_service_cos = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 20), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 7), value_range_constraint(255, 255))).clone(255)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwPriorityPolicedServiceCos.setStatus('current') hw_priority_policed_service_loacl_pre = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 21), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 7), value_range_constraint(255, 255))).clone(255)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwPriorityPolicedServiceLoaclPre.setStatus('current') hw_priority_policed_service_drop_priority = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 22), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 2), value_range_constraint(255, 255))).clone(255)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwPriorityPolicedServiceDropPriority.setStatus('current') hw_priority_runtime = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 23), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: hwPriorityRuntime.setStatus('current') hw_priority_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 5, 1, 24), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwPriorityRowStatus.setStatus('current') hw_redirect_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6)) if mibBuilder.loadTexts: hwRedirectTable.setStatus('current') hw_redirect_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1)).setIndexNames((0, 'HUAWEI-LswQos-MIB', 'hwRedirectAclIndex'), (0, 'HUAWEI-LswQos-MIB', 'hwRedirectIfIndex'), (0, 'HUAWEI-LswQos-MIB', 'hwRedirectVlanID'), (0, 'HUAWEI-LswQos-MIB', 'hwRedirectDirection')) if mibBuilder.loadTexts: hwRedirectEntry.setStatus('current') hw_redirect_acl_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2999))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRedirectAclIndex.setStatus('current') hw_redirect_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 2), integer32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRedirectIfIndex.setStatus('current') hw_redirect_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 4094))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRedirectVlanID.setStatus('current') hw_redirect_direction = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('invalid', 0), ('input', 1), ('output', 2)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRedirectDirection.setStatus('current') hw_redirect_user_acl_num = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 5), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(5000, 5999), value_range_constraint(10000, 12999)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRedirectUserAclNum.setStatus('current') hw_redirect_user_acl_rule = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRedirectUserAclRule.setStatus('current') hw_redirect_ip_acl_num = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 7), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(2000, 3999), value_range_constraint(10000, 12999)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRedirectIpAclNum.setStatus('current') hw_redirect_ip_acl_rule = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRedirectIpAclRule.setStatus('current') hw_redirect_link_acl_num = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 9), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(4000, 4999), value_range_constraint(10000, 12999)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRedirectLinkAclNum.setStatus('current') hw_redirect_link_acl_rule = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRedirectLinkAclRule.setStatus('current') hw_redirect_to_cpu = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 11), truth_value().clone(2)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRedirectToCpu.setStatus('current') hw_redirect_to_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 12), integer32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRedirectToIfIndex.setStatus('current') hw_redirect_to_next_hop1 = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 13), ip_address()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRedirectToNextHop1.setStatus('current') hw_redirect_to_next_hop2 = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 14), ip_address()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRedirectToNextHop2.setStatus('current') hw_redirect_runtime = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 15), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: hwRedirectRuntime.setStatus('current') hw_redirect_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 16), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRedirectRowStatus.setStatus('current') hw_redirect_to_slot_no = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 17), integer32().subtype(subtypeSpec=value_range_constraint(1, 16))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRedirectToSlotNo.setStatus('current') hw_redirect_remarked_dscp = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 18), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 63), value_range_constraint(255, 255))).clone(255)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRedirectRemarkedDSCP.setStatus('current') hw_redirect_remarked_pri = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 19), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 7), value_range_constraint(255, 255))).clone(255)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRedirectRemarkedPri.setStatus('current') hw_redirect_remarked_tos = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 20), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 15), value_range_constraint(255, 255))).clone(255)).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRedirectRemarkedTos.setStatus('current') hw_redirect_to_next_hop3 = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 21), ip_address()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRedirectToNextHop3.setStatus('current') hw_redirect_target_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 22), integer32().subtype(subtypeSpec=value_range_constraint(0, 4094))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRedirectTargetVlanID.setStatus('current') hw_redirect_mode = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 23), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('strict-priority', 1), ('load-balance', 2))).clone('strict-priority')).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRedirectMode.setStatus('current') hw_redirect_to_nested_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 24), integer32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRedirectToNestedVlanID.setStatus('current') hw_redirect_to_modified_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 6, 1, 25), integer32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRedirectToModifiedVlanID.setStatus('current') hw_statistic_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 7)) if mibBuilder.loadTexts: hwStatisticTable.setStatus('current') hw_statistic_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 7, 1)).setIndexNames((0, 'HUAWEI-LswQos-MIB', 'hwStatisticAclIndex'), (0, 'HUAWEI-LswQos-MIB', 'hwStatisticIfIndex'), (0, 'HUAWEI-LswQos-MIB', 'hwStatisticVlanID'), (0, 'HUAWEI-LswQos-MIB', 'hwStatisticDirection')) if mibBuilder.loadTexts: hwStatisticEntry.setStatus('current') hw_statistic_acl_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 7, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2999))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwStatisticAclIndex.setStatus('current') hw_statistic_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 7, 1, 2), integer32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwStatisticIfIndex.setStatus('current') hw_statistic_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 7, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 4094))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwStatisticVlanID.setStatus('current') hw_statistic_direction = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 7, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('invalid', 0), ('input', 1), ('output', 2)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwStatisticDirection.setStatus('current') hw_statistic_user_acl_num = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 7, 1, 5), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(5000, 5999), value_range_constraint(10000, 12999)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwStatisticUserAclNum.setStatus('current') hw_statistic_user_acl_rule = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 7, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwStatisticUserAclRule.setStatus('current') hw_statistic_ip_acl_num = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 7, 1, 7), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(2000, 3999), value_range_constraint(10000, 12999)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwStatisticIpAclNum.setStatus('current') hw_statistic_ip_acl_rule = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 7, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwStatisticIpAclRule.setStatus('current') hw_statistic_link_acl_num = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 7, 1, 9), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(4000, 4999), value_range_constraint(10000, 12999)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwStatisticLinkAclNum.setStatus('current') hw_statistic_link_acl_rule = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 7, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwStatisticLinkAclRule.setStatus('current') hw_statistic_runtime = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 7, 1, 11), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: hwStatisticRuntime.setStatus('current') hw_statistic_packet_count = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 7, 1, 12), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: hwStatisticPacketCount.setStatus('current') hw_statistic_byte_count = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 7, 1, 13), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: hwStatisticByteCount.setStatus('current') hw_statistic_count_clear = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 7, 1, 14), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('cleared', 1), ('nouse', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwStatisticCountClear.setStatus('current') hw_statistic_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 7, 1, 15), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwStatisticRowStatus.setStatus('current') hw_statistic_packet_x_count = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 7, 1, 16), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: hwStatisticPacketXCount.setStatus('current') hw_statistic_byte_x_count = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 7, 1, 17), counter64()).setMaxAccess('readonly') if mibBuilder.loadTexts: hwStatisticByteXCount.setStatus('current') hw_mirror_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 8)) if mibBuilder.loadTexts: hwMirrorTable.setStatus('current') hw_mirror_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 8, 1)).setIndexNames((0, 'HUAWEI-LswQos-MIB', 'hwMirrorAclIndex'), (0, 'HUAWEI-LswQos-MIB', 'hwMirrorIfIndex'), (0, 'HUAWEI-LswQos-MIB', 'hwMirrorVlanID'), (0, 'HUAWEI-LswQos-MIB', 'hwMirrorDirection')) if mibBuilder.loadTexts: hwMirrorEntry.setStatus('current') hw_mirror_acl_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 8, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2999))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwMirrorAclIndex.setStatus('current') hw_mirror_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 8, 1, 2), integer32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwMirrorIfIndex.setStatus('current') hw_mirror_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 8, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 4094))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwMirrorVlanID.setStatus('current') hw_mirror_direction = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 8, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('invalid', 0), ('input', 1), ('output', 2)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwMirrorDirection.setStatus('current') hw_mirror_user_acl_num = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 8, 1, 5), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(5000, 5999), value_range_constraint(10000, 12999)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwMirrorUserAclNum.setStatus('current') hw_mirror_user_acl_rule = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 8, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwMirrorUserAclRule.setStatus('current') hw_mirror_ip_acl_num = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 8, 1, 7), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(2000, 3999), value_range_constraint(10000, 12999)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwMirrorIpAclNum.setStatus('current') hw_mirror_ip_acl_rule = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 8, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwMirrorIpAclRule.setStatus('current') hw_mirror_link_acl_num = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 8, 1, 9), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(4000, 4999), value_range_constraint(10000, 12999)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwMirrorLinkAclNum.setStatus('current') hw_mirror_link_acl_rule = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 8, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwMirrorLinkAclRule.setStatus('current') hw_mirror_to_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 8, 1, 11), integer32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwMirrorToIfIndex.setStatus('current') hw_mirror_to_cpu = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 8, 1, 12), truth_value()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwMirrorToCpu.setStatus('current') hw_mirror_runtime = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 8, 1, 13), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: hwMirrorRuntime.setStatus('current') hw_mirror_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 8, 1, 14), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwMirrorRowStatus.setStatus('current') hw_mirror_to_group = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 8, 1, 15), integer32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwMirrorToGroup.setStatus('current') hw_port_mirror_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 9)) if mibBuilder.loadTexts: hwPortMirrorTable.setStatus('current') hw_port_mirror_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 9, 1)).setIndexNames((0, 'HUAWEI-LswQos-MIB', 'hwPortMirrorIfIndex')) if mibBuilder.loadTexts: hwPortMirrorEntry.setStatus('current') hw_port_mirror_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 9, 1, 1), integer32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwPortMirrorIfIndex.setStatus('current') hw_port_mirror_direction = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 9, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('in', 1), ('out', 2), ('both', 3)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwPortMirrorDirection.setStatus('current') hw_port_mirror_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 9, 1, 3), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwPortMirrorRowStatus.setStatus('current') hw_line_rate_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 10)) if mibBuilder.loadTexts: hwLineRateTable.setStatus('current') hw_line_rate_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 10, 1)).setIndexNames((0, 'HUAWEI-LswQos-MIB', 'hwLineRateIfIndex'), (0, 'HUAWEI-LswQos-MIB', 'hwLineRateDirection')) if mibBuilder.loadTexts: hwLineRateEntry.setStatus('current') hw_line_rate_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 10, 1, 1), integer32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwLineRateIfIndex.setStatus('current') hw_line_rate_direction = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 10, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('in', 1), ('out', 2)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwLineRateDirection.setStatus('current') hw_line_rate_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 10, 1, 3), integer32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwLineRateValue.setStatus('current') hw_line_rate_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 10, 1, 4), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwLineRateRowStatus.setStatus('current') hw_bandwidth_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 11)) if mibBuilder.loadTexts: hwBandwidthTable.setStatus('current') hw_bandwidth_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 11, 1)).setIndexNames((0, 'HUAWEI-LswQos-MIB', 'hwBandwidthAclIndex'), (0, 'HUAWEI-LswQos-MIB', 'hwBandwidthIfIndex'), (0, 'HUAWEI-LswQos-MIB', 'hwBandwidthVlanID'), (0, 'HUAWEI-LswQos-MIB', 'hwBandwidthDirection')) if mibBuilder.loadTexts: hwBandwidthEntry.setStatus('current') hw_bandwidth_acl_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 11, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2999))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwBandwidthAclIndex.setStatus('current') hw_bandwidth_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 11, 1, 2), integer32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwBandwidthIfIndex.setStatus('current') hw_bandwidth_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 11, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 4094))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwBandwidthVlanID.setStatus('current') hw_bandwidth_direction = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 11, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 2))).clone(namedValues=named_values(('invalid', 0), ('output', 2)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwBandwidthDirection.setStatus('current') hw_bandwidth_ip_acl_num = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 11, 1, 5), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(2000, 3999), value_range_constraint(10000, 12999)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwBandwidthIpAclNum.setStatus('current') hw_bandwidth_ip_acl_rule = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 11, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwBandwidthIpAclRule.setStatus('current') hw_bandwidth_link_acl_num = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 11, 1, 7), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(4000, 4999), value_range_constraint(10000, 12999)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwBandwidthLinkAclNum.setStatus('current') hw_bandwidth_link_acl_rule = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 11, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwBandwidthLinkAclRule.setStatus('current') hw_bandwidth_min_guaranteed_width = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 11, 1, 9), integer32().subtype(subtypeSpec=value_range_constraint(1, 8388608))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwBandwidthMinGuaranteedWidth.setStatus('current') hw_bandwidth_max_guaranteed_width = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 11, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(1, 8388608))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwBandwidthMaxGuaranteedWidth.setStatus('current') hw_bandwidth_weight = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 11, 1, 11), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwBandwidthWeight.setStatus('current') hw_bandwidth_runtime = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 11, 1, 12), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: hwBandwidthRuntime.setStatus('current') hw_bandwidth_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 11, 1, 13), row_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwBandwidthRowStatus.setStatus('current') hw_red_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 12)) if mibBuilder.loadTexts: hwRedTable.setStatus('current') hw_red_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 12, 1)).setIndexNames((0, 'HUAWEI-LswQos-MIB', 'hwRedAclIndex'), (0, 'HUAWEI-LswQos-MIB', 'hwRedIfIndex'), (0, 'HUAWEI-LswQos-MIB', 'hwRedVlanID'), (0, 'HUAWEI-LswQos-MIB', 'hwRedDirection')) if mibBuilder.loadTexts: hwRedEntry.setStatus('current') hw_red_acl_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 12, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2999))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRedAclIndex.setStatus('current') hw_red_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 12, 1, 2), integer32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRedIfIndex.setStatus('current') hw_red_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 12, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 4094))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRedVlanID.setStatus('current') hw_red_direction = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 12, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 2))).clone(namedValues=named_values(('invalid', 0), ('output', 2)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRedDirection.setStatus('current') hw_red_ip_acl_num = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 12, 1, 5), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(2000, 3999), value_range_constraint(10000, 12999)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRedIpAclNum.setStatus('current') hw_red_ip_acl_rule = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 12, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRedIpAclRule.setStatus('current') hw_red_link_acl_num = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 12, 1, 7), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(4000, 4999), value_range_constraint(10000, 12999)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRedLinkAclNum.setStatus('current') hw_red_link_acl_rule = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 12, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRedLinkAclRule.setStatus('current') hw_red_start_queue_len = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 12, 1, 9), integer32().subtype(subtypeSpec=value_range_constraint(0, 262128))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwRedStartQueueLen.setStatus('current') hw_red_stop_queue_len = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 12, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 262128))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwRedStopQueueLen.setStatus('current') hw_red_probability = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 12, 1, 11), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwRedProbability.setStatus('current') hw_red_runtime = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 12, 1, 12), truth_value()).setMaxAccess('readonly') if mibBuilder.loadTexts: hwRedRuntime.setStatus('current') hw_red_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 12, 1, 13), row_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwRedRowStatus.setStatus('current') hw_mirror_group_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 13)) if mibBuilder.loadTexts: hwMirrorGroupTable.setStatus('current') hw_mirror_group_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 13, 1)).setIndexNames((0, 'HUAWEI-LswQos-MIB', 'hwMirrorGroupID')) if mibBuilder.loadTexts: hwMirrorGroupEntry.setStatus('current') hw_mirror_group_id = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 13, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 20))).setMaxAccess('readonly') if mibBuilder.loadTexts: hwMirrorGroupID.setStatus('current') hw_mirror_group_direction = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 13, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('input', 1), ('output', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwMirrorGroupDirection.setStatus('current') hw_mirror_group_mirror_if_index_list = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 13, 1, 3), octet_string().subtype(subtypeSpec=value_size_constraint(1, 257))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwMirrorGroupMirrorIfIndexList.setStatus('current') hw_mirror_group_monitor_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 13, 1, 4), integer32()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwMirrorGroupMonitorIfIndex.setStatus('current') hw_mirror_group_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 13, 1, 5), row_status()).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwMirrorGroupRowStatus.setStatus('current') hw_flowtemp_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14)) if mibBuilder.loadTexts: hwFlowtempTable.setStatus('current') hw_flowtemp_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1)).setIndexNames((0, 'HUAWEI-LswQos-MIB', 'hwFlowtempIndex')) if mibBuilder.loadTexts: hwFlowtempEntry.setStatus('current') hw_flowtemp_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 1), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('default', 1), ('user-defined', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hwFlowtempIndex.setStatus('current') hw_flowtemp_ip_protocol = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 2), truth_value()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwFlowtempIpProtocol.setStatus('current') hw_flowtemp_tcp_flag = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 3), truth_value()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwFlowtempTcpFlag.setStatus('current') hw_flowtemp_s_port = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 4), truth_value()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwFlowtempSPort.setStatus('current') hw_flowtemp_d_port = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 5), truth_value()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwFlowtempDPort.setStatus('current') hw_flowtemp_icmp_type = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 6), truth_value()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwFlowtempIcmpType.setStatus('current') hw_flowtemp_icmp_code = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 7), truth_value()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwFlowtempIcmpCode.setStatus('current') hw_flowtemp_fragment = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 8), truth_value()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwFlowtempFragment.setStatus('current') hw_flowtemp_dscp = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 9), truth_value()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwFlowtempDscp.setStatus('current') hw_flowtemp_ip_pre = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 10), truth_value()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwFlowtempIpPre.setStatus('current') hw_flowtemp_tos = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 11), truth_value()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwFlowtempTos.setStatus('current') hw_flowtemp_s_ip = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 12), truth_value()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwFlowtempSIp.setStatus('current') hw_flowtemp_s_ip_mask = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 13), ip_address()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwFlowtempSIpMask.setStatus('current') hw_flowtemp_d_ip = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 14), truth_value()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwFlowtempDIp.setStatus('current') hw_flowtemp_d_ip_mask = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 15), ip_address()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwFlowtempDIpMask.setStatus('current') hw_flowtemp_eth_protocol = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 16), truth_value()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwFlowtempEthProtocol.setStatus('current') hw_flowtemp_s_mac = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 17), truth_value()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwFlowtempSMac.setStatus('current') hw_flowtemp_s_mac_mask = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 18), mac_address()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwFlowtempSMacMask.setStatus('current') hw_flowtemp_d_mac = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 19), truth_value()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwFlowtempDMac.setStatus('current') hw_flowtemp_d_mac_mask = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 20), mac_address()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwFlowtempDMacMask.setStatus('current') hw_flowtemp_vpn = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 21), truth_value()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwFlowtempVpn.setStatus('current') hw_flowtemp_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 22), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwFlowtempRowStatus.setStatus('current') hw_flowtemp_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 23), truth_value()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwFlowtempVlanId.setStatus('current') hw_flowtemp_cos = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 14, 1, 24), truth_value()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwFlowtempCos.setStatus('current') hw_flowtemp_enable_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 15)) if mibBuilder.loadTexts: hwFlowtempEnableTable.setStatus('current') hw_flowtemp_enable_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 15, 1)).setIndexNames((0, 'HUAWEI-LswQos-MIB', 'hwFlowtempEnableIfIndex'), (0, 'HUAWEI-LswQos-MIB', 'hwFlowtempEnableVlanID')) if mibBuilder.loadTexts: hwFlowtempEnableEntry.setStatus('current') hw_flowtemp_enable_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 15, 1, 1), integer32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwFlowtempEnableIfIndex.setStatus('current') hw_flowtemp_enable_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 15, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 4094))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwFlowtempEnableVlanID.setStatus('current') hw_flowtemp_enable_flowtemp_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 15, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('default', 1), ('user-defined', 2)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwFlowtempEnableFlowtempIndex.setStatus('current') hw_traffic_shape_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 16)) if mibBuilder.loadTexts: hwTrafficShapeTable.setStatus('current') hw_traffic_shape_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 16, 1)).setIndexNames((0, 'HUAWEI-LswQos-MIB', 'hwTrafficShapeIfIndex'), (0, 'HUAWEI-LswQos-MIB', 'hwTrafficShapeQueueId')) if mibBuilder.loadTexts: hwTrafficShapeEntry.setStatus('current') hw_traffic_shape_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 16, 1, 1), integer32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwTrafficShapeIfIndex.setStatus('current') hw_traffic_shape_queue_id = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 16, 1, 2), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 7), value_range_constraint(255, 255)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwTrafficShapeQueueId.setStatus('current') hw_traffic_shape_max_rate = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 16, 1, 3), integer32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwTrafficShapeMaxRate.setStatus('current') hw_traffic_shape_burst_size = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 16, 1, 4), integer32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwTrafficShapeBurstSize.setStatus('current') hw_traffic_shape_buffer_limit = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 16, 1, 5), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(16, 8000)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwTrafficShapeBufferLimit.setStatus('current') hw_traffic_shape_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 16, 1, 6), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwTrafficShapeRowStatus.setStatus('current') hw_port_queue_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 17)) if mibBuilder.loadTexts: hwPortQueueTable.setStatus('current') hw_port_queue_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 17, 1)).setIndexNames((0, 'HUAWEI-LswQos-MIB', 'hwPortQueueIfIndex'), (0, 'HUAWEI-LswQos-MIB', 'hwPortQueueQueueID')) if mibBuilder.loadTexts: hwPortQueueEntry.setStatus('current') hw_port_queue_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 17, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hwPortQueueIfIndex.setStatus('current') hw_port_queue_queue_id = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 17, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readonly') if mibBuilder.loadTexts: hwPortQueueQueueID.setStatus('current') hw_port_queue_wrr_priority = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 17, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('sp', 1), ('wrr-high-priority', 2), ('wrr-low-priority', 3)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwPortQueueWrrPriority.setStatus('current') hw_port_queue_weight = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 17, 1, 4), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(1, 255)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwPortQueueWeight.setStatus('current') hw_drop_mode_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 18)) if mibBuilder.loadTexts: hwDropModeTable.setStatus('current') hw_drop_mode_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 18, 1)).setIndexNames((0, 'HUAWEI-LswQos-MIB', 'hwDropModeIfIndex')) if mibBuilder.loadTexts: hwDropModeEntry.setStatus('current') hw_drop_mode_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 18, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hwDropModeIfIndex.setStatus('current') hw_drop_mode_mode = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 18, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('random-detect', 1), ('tail-drop', 2))).clone(2)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwDropModeMode.setStatus('current') hw_drop_mode_wred_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 18, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 3))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwDropModeWredIndex.setStatus('current') hw_wred_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 19)) if mibBuilder.loadTexts: hwWredTable.setStatus('current') hw_wred_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 19, 1)).setIndexNames((0, 'HUAWEI-LswQos-MIB', 'hwWredIndex'), (0, 'HUAWEI-LswQos-MIB', 'hwWredQueueId')) if mibBuilder.loadTexts: hwWredEntry.setStatus('current') hw_wred_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 19, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 3))).setMaxAccess('readonly') if mibBuilder.loadTexts: hwWredIndex.setStatus('current') hw_wred_queue_id = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 19, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readonly') if mibBuilder.loadTexts: hwWredQueueId.setStatus('current') hw_wred_green_min_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 19, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwWredGreenMinThreshold.setStatus('current') hw_wred_green_max_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 19, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwWredGreenMaxThreshold.setStatus('current') hw_wred_green_max_prob = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 19, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(1, 15))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwWredGreenMaxProb.setStatus('current') hw_wred_yellow_min_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 19, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwWredYellowMinThreshold.setStatus('current') hw_wred_yellow_max_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 19, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwWredYellowMaxThreshold.setStatus('current') hw_wred_yellow_max_prob = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 19, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(1, 15))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwWredYellowMaxProb.setStatus('current') hw_wred_red_min_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 19, 1, 9), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwWredRedMinThreshold.setStatus('current') hw_wred_red_max_threshold = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 19, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwWredRedMaxThreshold.setStatus('current') hw_wred_red_max_prob = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 19, 1, 11), integer32().subtype(subtypeSpec=value_range_constraint(1, 15))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwWredRedMaxProb.setStatus('current') hw_wred_exponent = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 19, 1, 12), integer32().subtype(subtypeSpec=value_range_constraint(1, 15)).clone(9)).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwWredExponent.setStatus('current') hw_cos_to_local_precedence_map_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 20)) if mibBuilder.loadTexts: hwCosToLocalPrecedenceMapTable.setStatus('current') hw_cos_to_local_precedence_map_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 20, 1)).setIndexNames((0, 'HUAWEI-LswQos-MIB', 'hwCosToLocalPrecedenceMapCosIndex')) if mibBuilder.loadTexts: hwCosToLocalPrecedenceMapEntry.setStatus('current') hw_cos_to_local_precedence_map_cos_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 20, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readonly') if mibBuilder.loadTexts: hwCosToLocalPrecedenceMapCosIndex.setStatus('current') hw_cos_to_local_precedence_map_local_precedence_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 20, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwCosToLocalPrecedenceMapLocalPrecedenceValue.setStatus('current') hw_cos_to_drop_precedence_map_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 21)) if mibBuilder.loadTexts: hwCosToDropPrecedenceMapTable.setStatus('current') hw_cos_to_drop_precedence_map_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 21, 1)).setIndexNames((0, 'HUAWEI-LswQos-MIB', 'hwCosToDropPrecedenceMapCosIndex')) if mibBuilder.loadTexts: hwCosToDropPrecedenceMapEntry.setStatus('current') hw_cos_to_drop_precedence_map_cos_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 21, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readonly') if mibBuilder.loadTexts: hwCosToDropPrecedenceMapCosIndex.setStatus('current') hw_cos_to_drop_precedence_map_drop_precedence_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 21, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 2))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwCosToDropPrecedenceMapDropPrecedenceValue.setStatus('current') hw_dscp_map_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 22)) if mibBuilder.loadTexts: hwDscpMapTable.setStatus('current') hw_dscp_map_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 22, 1)).setIndexNames((0, 'HUAWEI-LswQos-MIB', 'hwDscpMapConformLevel'), (0, 'HUAWEI-LswQos-MIB', 'hwDscpMapDscpIndex')) if mibBuilder.loadTexts: hwDscpMapEntry.setStatus('current') hw_dscp_map_conform_level = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 22, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2))).setMaxAccess('readonly') if mibBuilder.loadTexts: hwDscpMapConformLevel.setStatus('current') hw_dscp_map_dscp_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 22, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 63))).setMaxAccess('readonly') if mibBuilder.loadTexts: hwDscpMapDscpIndex.setStatus('current') hw_dscp_map_dscp_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 22, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 63))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwDscpMapDscpValue.setStatus('current') hw_dscp_map_exp_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 22, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwDscpMapExpValue.setStatus('current') hw_dscp_map_cos_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 22, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwDscpMapCosValue.setStatus('current') hw_dscp_map_local_precedence = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 22, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwDscpMapLocalPrecedence.setStatus('current') hw_dscp_map_drop_precedence = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 22, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(0, 2))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwDscpMapDropPrecedence.setStatus('current') hw_exp_map_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 23)) if mibBuilder.loadTexts: hwExpMapTable.setStatus('current') hw_exp_map_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 23, 1)).setIndexNames((0, 'HUAWEI-LswQos-MIB', 'hwExpMapConformLevel'), (0, 'HUAWEI-LswQos-MIB', 'hwExpMapExpIndex')) if mibBuilder.loadTexts: hwExpMapEntry.setStatus('current') hw_exp_map_conform_level = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 23, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2))).setMaxAccess('readonly') if mibBuilder.loadTexts: hwExpMapConformLevel.setStatus('current') hw_exp_map_exp_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 23, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readonly') if mibBuilder.loadTexts: hwExpMapExpIndex.setStatus('current') hw_exp_map_dscp_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 23, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 63))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwExpMapDscpValue.setStatus('current') hw_exp_map_exp_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 23, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwExpMapExpValue.setStatus('current') hw_exp_map_cos_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 23, 1, 5), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwExpMapCosValue.setStatus('current') hw_exp_map_local_precedence = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 23, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwExpMapLocalPrecedence.setStatus('current') hw_exp_map_drop_precedence = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 23, 1, 7), integer32().subtype(subtypeSpec=value_range_constraint(0, 2))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwExpMapDropPrecedence.setStatus('current') hw_local_precedence_map_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 24)) if mibBuilder.loadTexts: hwLocalPrecedenceMapTable.setStatus('current') hw_local_precedence_map_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 24, 1)).setIndexNames((0, 'HUAWEI-LswQos-MIB', 'hwLocalPrecedenceMapConformLevel'), (0, 'HUAWEI-LswQos-MIB', 'hwLocalPrecedenceMapLocalPrecedenceIndex')) if mibBuilder.loadTexts: hwLocalPrecedenceMapEntry.setStatus('current') hw_local_precedence_map_conform_level = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 24, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2))).setMaxAccess('readonly') if mibBuilder.loadTexts: hwLocalPrecedenceMapConformLevel.setStatus('current') hw_local_precedence_map_local_precedence_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 24, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwLocalPrecedenceMapLocalPrecedenceIndex.setStatus('current') hw_local_precedence_map_cos_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 24, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwLocalPrecedenceMapCosValue.setStatus('current') hw_port_wred_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 25)) if mibBuilder.loadTexts: hwPortWredTable.setStatus('current') hw_port_wred_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 25, 1)).setIndexNames((0, 'HUAWEI-LswQos-MIB', 'hwPortWredIfIndex'), (0, 'HUAWEI-LswQos-MIB', 'hwPortWredQueueID')) if mibBuilder.loadTexts: hwPortWredEntry.setStatus('current') hw_port_wred_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 25, 1, 1), integer32()).setMaxAccess('readonly') if mibBuilder.loadTexts: hwPortWredIfIndex.setStatus('current') hw_port_wred_queue_id = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 25, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readonly') if mibBuilder.loadTexts: hwPortWredQueueID.setStatus('current') hw_port_wred_queue_start_length = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 25, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 2047))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwPortWredQueueStartLength.setStatus('current') hw_port_wred_queue_probability = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 25, 1, 4), integer32().subtype(subtypeSpec=value_range_constraint(0, 100))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwPortWredQueueProbability.setStatus('current') hw_mirroring_group_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 26)) if mibBuilder.loadTexts: hwMirroringGroupTable.setStatus('current') hw_mirroring_group_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 26, 1)).setIndexNames((0, 'HUAWEI-LswQos-MIB', 'hwMirroringGroupID')) if mibBuilder.loadTexts: hwMirroringGroupEntry.setStatus('current') hw_mirroring_group_id = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 26, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(1, 20))) if mibBuilder.loadTexts: hwMirroringGroupID.setStatus('current') hw_mirroring_group_type = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 26, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('local', 1), ('remote-source', 2), ('remote-destination', 3)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwMirroringGroupType.setStatus('current') hw_mirroring_group_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 26, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2))).clone(namedValues=named_values(('active', 1), ('inactive', 2)))).setMaxAccess('readonly') if mibBuilder.loadTexts: hwMirroringGroupStatus.setStatus('current') hw_mirroring_group_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 26, 1, 4), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwMirroringGroupRowStatus.setStatus('current') hw_mirroring_group_mirror_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 27)) if mibBuilder.loadTexts: hwMirroringGroupMirrorTable.setStatus('current') hw_mirroring_group_mirror_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 27, 1)).setIndexNames((0, 'HUAWEI-LswQos-MIB', 'hwMirroringGroupID')) if mibBuilder.loadTexts: hwMirroringGroupMirrorEntry.setStatus('current') hw_mirroring_group_mirror_inbound_if_index_list = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 27, 1, 1), octet_string()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwMirroringGroupMirrorInboundIfIndexList.setStatus('current') hw_mirroring_group_mirror_outbound_if_index_list = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 27, 1, 2), octet_string()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwMirroringGroupMirrorOutboundIfIndexList.setStatus('current') hw_mirroring_group_mirror_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 27, 1, 3), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwMirroringGroupMirrorRowStatus.setStatus('current') hw_mirroring_group_mirror_in_type_list = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 27, 1, 4), octet_string()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwMirroringGroupMirrorInTypeList.setStatus('current') hw_mirroring_group_mirror_out_type_list = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 27, 1, 5), octet_string()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwMirroringGroupMirrorOutTypeList.setStatus('current') hw_mirroring_group_monitor_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 28)) if mibBuilder.loadTexts: hwMirroringGroupMonitorTable.setStatus('current') hw_mirroring_group_monitor_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 28, 1)).setIndexNames((0, 'HUAWEI-LswQos-MIB', 'hwMirroringGroupID')) if mibBuilder.loadTexts: hwMirroringGroupMonitorEntry.setStatus('current') hw_mirroring_group_monitor_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 28, 1, 1), integer32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwMirroringGroupMonitorIfIndex.setStatus('current') hw_mirroring_group_monitor_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 28, 1, 2), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwMirroringGroupMonitorRowStatus.setStatus('current') hw_mirroring_group_monitor_type = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 28, 1, 3), hw_mirror_or_monitor_type()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwMirroringGroupMonitorType.setStatus('current') hw_mirroring_group_reflector_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 29)) if mibBuilder.loadTexts: hwMirroringGroupReflectorTable.setStatus('current') hw_mirroring_group_reflector_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 29, 1)).setIndexNames((0, 'HUAWEI-LswQos-MIB', 'hwMirroringGroupID')) if mibBuilder.loadTexts: hwMirroringGroupReflectorEntry.setStatus('current') hw_mirroring_group_reflector_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 29, 1, 1), integer32()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwMirroringGroupReflectorIfIndex.setStatus('current') hw_mirroring_group_reflector_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 29, 1, 2), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwMirroringGroupReflectorRowStatus.setStatus('current') hw_mirroring_group_rprobe_vlan_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 30)) if mibBuilder.loadTexts: hwMirroringGroupRprobeVlanTable.setStatus('current') hw_mirroring_group_rprobe_vlan_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 30, 1)).setIndexNames((0, 'HUAWEI-LswQos-MIB', 'hwMirroringGroupID')) if mibBuilder.loadTexts: hwMirroringGroupRprobeVlanEntry.setStatus('current') hw_mirroring_group_rprobe_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 30, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 4094))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwMirroringGroupRprobeVlanID.setStatus('current') hw_mirroring_group_rprobe_vlan_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 30, 1, 2), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwMirroringGroupRprobeVlanRowStatus.setStatus('current') hw_mirroring_group_mirror_mac_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 31)) if mibBuilder.loadTexts: hwMirroringGroupMirrorMacTable.setStatus('current') hw_mirroring_group_mirror_mac_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 31, 1)).setIndexNames((0, 'HUAWEI-LswQos-MIB', 'hwMirroringGroupID'), (0, 'HUAWEI-LswQos-MIB', 'hwMirroringGroupMirrorMacSeq')) if mibBuilder.loadTexts: hwMirroringGroupMirrorMacEntry.setStatus('current') hw_mirroring_group_mirror_mac_seq = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 31, 1, 1), integer32()) if mibBuilder.loadTexts: hwMirroringGroupMirrorMacSeq.setStatus('current') hw_mirroring_group_mirror_mac = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 31, 1, 2), mac_address()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwMirroringGroupMirrorMac.setStatus('current') hw_mirror_mac_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 31, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 4094))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwMirrorMacVlanID.setStatus('current') hw_mirroring_group_mirro_mac_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 31, 1, 4), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwMirroringGroupMirroMacStatus.setStatus('current') hw_mirroring_group_mirror_vlan_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 32)) if mibBuilder.loadTexts: hwMirroringGroupMirrorVlanTable.setStatus('current') hw_mirroring_group_mirror_vlan_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 32, 1)).setIndexNames((0, 'HUAWEI-LswQos-MIB', 'hwMirroringGroupID'), (0, 'HUAWEI-LswQos-MIB', 'hwMirroringGroupMirrorVlanSeq')) if mibBuilder.loadTexts: hwMirroringGroupMirrorVlanEntry.setStatus('current') hw_mirroring_group_mirror_vlan_seq = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 32, 1, 1), integer32()) if mibBuilder.loadTexts: hwMirroringGroupMirrorVlanSeq.setStatus('current') hw_mirroring_group_mirror_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 32, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 4094))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwMirroringGroupMirrorVlanID.setStatus('current') hw_mirroring_group_mirror_vlan_direction = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 32, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('inbound', 1), ('outbound', 2), ('both', 3)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwMirroringGroupMirrorVlanDirection.setStatus('current') hw_mirroring_group_mirro_vlan_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 32, 1, 4), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwMirroringGroupMirroVlanStatus.setStatus('current') hw_port_trust_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 33)) if mibBuilder.loadTexts: hwPortTrustTable.setStatus('current') hw_port_trust_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 33, 1)).setIndexNames((0, 'HUAWEI-LswQos-MIB', 'hwPortTrustIfIndex')) if mibBuilder.loadTexts: hwPortTrustEntry.setStatus('current') hw_port_trust_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 33, 1, 1), integer32()) if mibBuilder.loadTexts: hwPortTrustIfIndex.setStatus('current') hw_port_trust_trust_type = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 33, 1, 2), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('port', 1), ('cos', 2), ('dscp', 3))).clone('port')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwPortTrustTrustType.setStatus('current') hw_port_trust_overcast_type = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 33, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('noOvercast', 1), ('overcastDSCP', 2), ('overcastCOS', 3))).clone('noOvercast')).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwPortTrustOvercastType.setStatus('current') hw_port_trust_reset = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 33, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1))).clone(namedValues=named_values(('reset', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwPortTrustReset.setStatus('current') hw_remark_vlan_id_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 34)) if mibBuilder.loadTexts: hwRemarkVlanIDTable.setStatus('current') hw_remark_vlan_id_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 34, 1)).setIndexNames((0, 'HUAWEI-LswQos-MIB', 'hwRemarkVlanIDAclIndex'), (0, 'HUAWEI-LswQos-MIB', 'hwRemarkVlanIDIfIndex'), (0, 'HUAWEI-LswQos-MIB', 'hwRemarkVlanIDVlanID'), (0, 'HUAWEI-LswQos-MIB', 'hwRemarkVlanIDDirection')) if mibBuilder.loadTexts: hwRemarkVlanIDEntry.setStatus('current') hw_remark_vlan_id_acl_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 34, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 2999))) if mibBuilder.loadTexts: hwRemarkVlanIDAclIndex.setStatus('current') hw_remark_vlan_id_if_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 34, 1, 2), integer32()) if mibBuilder.loadTexts: hwRemarkVlanIDIfIndex.setStatus('current') hw_remark_vlan_id_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 34, 1, 3), integer32().subtype(subtypeSpec=value_range_constraint(0, 4094))) if mibBuilder.loadTexts: hwRemarkVlanIDVlanID.setStatus('current') hw_remark_vlan_id_direction = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 34, 1, 4), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(0, 1, 2))).clone(namedValues=named_values(('invalid', 0), ('input', 1), ('output', 2)))) if mibBuilder.loadTexts: hwRemarkVlanIDDirection.setStatus('current') hw_remark_vlan_id_user_acl_num = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 34, 1, 5), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(5000, 5999), value_range_constraint(10000, 12999)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRemarkVlanIDUserAclNum.setStatus('current') hw_remark_vlan_id_user_acl_rule = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 34, 1, 6), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRemarkVlanIDUserAclRule.setStatus('current') hw_remark_vlan_id_ip_acl_num = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 34, 1, 7), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(2000, 3999), value_range_constraint(10000, 12999)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRemarkVlanIDIpAclNum.setStatus('current') hw_remark_vlan_id_ip_acl_rule = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 34, 1, 8), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRemarkVlanIDIpAclRule.setStatus('current') hw_remark_vlan_id_link_acl_num = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 34, 1, 9), integer32().subtype(subtypeSpec=constraints_union(value_range_constraint(0, 0), value_range_constraint(4000, 4999), value_range_constraint(10000, 12999)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRemarkVlanIDLinkAclNum.setStatus('current') hw_remark_vlan_id_link_acl_rule = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 34, 1, 10), integer32().subtype(subtypeSpec=value_range_constraint(0, 65535))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRemarkVlanIDLinkAclRule.setStatus('current') hw_remark_vlan_id_remark_vlan_id = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 34, 1, 11), integer32().subtype(subtypeSpec=value_range_constraint(0, 4094))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRemarkVlanIDRemarkVlanID.setStatus('current') hw_remark_vlan_id_packet_type = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 34, 1, 12), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1, 2, 3))).clone(namedValues=named_values(('all', 1), ('tagged', 2), ('untagged', 3)))).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRemarkVlanIDPacketType.setStatus('current') hw_remark_vlan_id_row_status = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 34, 1, 13), row_status()).setMaxAccess('readcreate') if mibBuilder.loadTexts: hwRemarkVlanIDRowStatus.setStatus('current') hw_cos_to_dscp_map_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 35)) if mibBuilder.loadTexts: hwCosToDscpMapTable.setStatus('current') hw_cos_to_dscp_map_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 35, 1)).setIndexNames((0, 'HUAWEI-LswQos-MIB', 'hwCosToDscpMapCosIndex')) if mibBuilder.loadTexts: hwCosToDscpMapEntry.setStatus('current') hw_cos_to_dscp_map_cos_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 35, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))) if mibBuilder.loadTexts: hwCosToDscpMapCosIndex.setStatus('current') hw_cos_to_dscp_map_dscp_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 35, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 63))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwCosToDscpMapDscpValue.setStatus('current') hw_cos_to_dscp_map_re_set = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 35, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1))).clone(namedValues=named_values(('reset', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwCosToDscpMapReSet.setStatus('current') hw_dscp_to_local_pre_map_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 36)) if mibBuilder.loadTexts: hwDscpToLocalPreMapTable.setStatus('current') hw_dscp_to_local_pre_map_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 36, 1)).setIndexNames((0, 'HUAWEI-LswQos-MIB', 'hwDscpToLocalPreMapDscpIndex')) if mibBuilder.loadTexts: hwDscpToLocalPreMapEntry.setStatus('current') hw_dscp_to_local_pre_map_dscp_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 36, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 63))) if mibBuilder.loadTexts: hwDscpToLocalPreMapDscpIndex.setStatus('current') hw_dscp_to_local_pre_map_local_pre_val = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 36, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwDscpToLocalPreMapLocalPreVal.setStatus('current') hw_dscp_to_local_pre_map_reset = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 36, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1))).clone(namedValues=named_values(('reset', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwDscpToLocalPreMapReset.setStatus('current') hw_dscp_to_drop_pre_map_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 37)) if mibBuilder.loadTexts: hwDscpToDropPreMapTable.setStatus('current') hw_dscp_to_drop_pre_map_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 37, 1)).setIndexNames((0, 'HUAWEI-LswQos-MIB', 'hwDscpToDropPreMapDscpIndex')) if mibBuilder.loadTexts: hwDscpToDropPreMapEntry.setStatus('current') hw_dscp_to_drop_pre_map_dscp_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 37, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 63))) if mibBuilder.loadTexts: hwDscpToDropPreMapDscpIndex.setStatus('current') hw_dscp_to_drop_pre_map_drop_pre_val = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 37, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 2))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwDscpToDropPreMapDropPreVal.setStatus('current') hw_dscp_to_drop_pre_map_reset = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 37, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1))).clone(namedValues=named_values(('reset', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwDscpToDropPreMapReset.setStatus('current') hw_dscp_to_cos_map_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 38)) if mibBuilder.loadTexts: hwDscpToCosMapTable.setStatus('current') hw_dscp_to_cos_map_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 38, 1)).setIndexNames((0, 'HUAWEI-LswQos-MIB', 'hwDscpToCosMapDscpIndex')) if mibBuilder.loadTexts: hwDscpToCosMapEntry.setStatus('current') hw_dscp_to_cos_map_dscp_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 38, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 63))) if mibBuilder.loadTexts: hwDscpToCosMapDscpIndex.setStatus('current') hw_dscp_to_cos_map_cos_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 38, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 7))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwDscpToCosMapCosValue.setStatus('current') hw_dscp_to_cos_map_reset = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 38, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1))).clone(namedValues=named_values(('reset', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwDscpToCosMapReset.setStatus('current') hw_dscp_to_dscp_map_table = mib_table((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 39)) if mibBuilder.loadTexts: hwDscpToDscpMapTable.setStatus('current') hw_dscp_to_dscp_map_entry = mib_table_row((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 39, 1)).setIndexNames((0, 'HUAWEI-LswQos-MIB', 'hwDscpToDscpMapDscpIndex')) if mibBuilder.loadTexts: hwDscpToDscpMapEntry.setStatus('current') hw_dscp_to_dscp_map_dscp_index = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 39, 1, 1), integer32().subtype(subtypeSpec=value_range_constraint(0, 63))) if mibBuilder.loadTexts: hwDscpToDscpMapDscpIndex.setStatus('current') hw_dscp_to_dscp_map_dscp_value = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 39, 1, 2), integer32().subtype(subtypeSpec=value_range_constraint(0, 63))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwDscpToDscpMapDscpValue.setStatus('current') hw_dscp_to_dscp_map_reset = mib_table_column((1, 3, 6, 1, 4, 1, 2011, 2, 23, 1, 16, 2, 39, 1, 3), integer32().subtype(subtypeSpec=constraints_union(single_value_constraint(1))).clone(namedValues=named_values(('reset', 1)))).setMaxAccess('readwrite') if mibBuilder.loadTexts: hwDscpToDscpMapReset.setStatus('current') mibBuilder.exportSymbols('HUAWEI-LswQos-MIB', hwWredExponent=hwWredExponent, hwPortTrustReset=hwPortTrustReset, hwRedVlanID=hwRedVlanID, hwRedirectRuntime=hwRedirectRuntime, hwLineRateTable=hwLineRateTable, hwPriorityTable=hwPriorityTable, hwRateLimitIfIndex=hwRateLimitIfIndex, hwBandwidthDirection=hwBandwidthDirection, hwRateLimitMeterStatByteCount=hwRateLimitMeterStatByteCount, hwFlowtempEnableFlowtempIndex=hwFlowtempEnableFlowtempIndex, hwFlowtempDMac=hwFlowtempDMac, hwRedirectTable=hwRedirectTable, hwMirroringGroupMirrorMacSeq=hwMirroringGroupMirrorMacSeq, hwLineRateRowStatus=hwLineRateRowStatus, hwWredGreenMaxThreshold=hwWredGreenMaxThreshold, hwDscpToDropPreMapDropPreVal=hwDscpToDropPreMapDropPreVal, hwMirroringGroupReflectorEntry=hwMirroringGroupReflectorEntry, hwRedirectIfIndex=hwRedirectIfIndex, hwPriorityPolicedServiceType=hwPriorityPolicedServiceType, hwRedirectToCpu=hwRedirectToCpu, hwWredRedMinThreshold=hwWredRedMinThreshold, hwStatisticVlanID=hwStatisticVlanID, hwRedirectRemarkedDSCP=hwRedirectRemarkedDSCP, hwQueueTable=hwQueueTable, hwRemarkVlanIDUserAclNum=hwRemarkVlanIDUserAclNum, hwRedirectLinkAclNum=hwRedirectLinkAclNum, hwDscpToLocalPreMapEntry=hwDscpToLocalPreMapEntry, hwRateLimitPIR=hwRateLimitPIR, hwPortWredQueueID=hwPortWredQueueID, hwWredQueueId=hwWredQueueId, hwRedIfIndex=hwRedIfIndex, hwRedirectRowStatus=hwRedirectRowStatus, hwQueueWeight4=hwQueueWeight4, hwFlowtempDPort=hwFlowtempDPort, hwPriorityPolicedServiceDropPriority=hwPriorityPolicedServiceDropPriority, hwPriorityRuntime=hwPriorityRuntime, hwRedirectEntry=hwRedirectEntry, hwPortMirrorTable=hwPortMirrorTable, hwStatisticUserAclRule=hwStatisticUserAclRule, hwRedStartQueueLen=hwRedStartQueueLen, hwDscpToDropPreMapTable=hwDscpToDropPreMapTable, hwWredYellowMaxThreshold=hwWredYellowMaxThreshold, hwBandwidthVlanID=hwBandwidthVlanID, hwMirrorEntry=hwMirrorEntry, hwRedirectVlanID=hwRedirectVlanID, hwRedLinkAclRule=hwRedLinkAclRule, hwMirroringGroupRprobeVlanID=hwMirroringGroupRprobeVlanID, hwMirroringGroupMirrorVlanDirection=hwMirroringGroupMirrorVlanDirection, hwStatisticPacketXCount=hwStatisticPacketXCount, hwMirrorGroupMonitorIfIndex=hwMirrorGroupMonitorIfIndex, hwMirroringGroupMirrorEntry=hwMirroringGroupMirrorEntry, hwPriorityIpAclRule=hwPriorityIpAclRule, hwLineRateEntry=hwLineRateEntry, hwMirrorIfIndex=hwMirrorIfIndex, hwCosToDropPrecedenceMapDropPrecedenceValue=hwCosToDropPrecedenceMapDropPrecedenceValue, hwWredRedMaxThreshold=hwWredRedMaxThreshold, hwStatisticPacketCount=hwStatisticPacketCount, hwMirrorToGroup=hwMirrorToGroup, hwPortMirrorDirection=hwPortMirrorDirection, hwStatisticAclIndex=hwStatisticAclIndex, hwFlowtempDscp=hwFlowtempDscp, hwFlowtempEnableIfIndex=hwFlowtempEnableIfIndex, hwDscpMapDropPrecedence=hwDscpMapDropPrecedence, hwRemarkVlanIDIfIndex=hwRemarkVlanIDIfIndex, hwPortTrustIfIndex=hwPortTrustIfIndex, hwCosToDscpMapDscpValue=hwCosToDscpMapDscpValue, hwMirroringGroupRowStatus=hwMirroringGroupRowStatus, hwMirrorMacVlanID=hwMirrorMacVlanID, hwRemarkVlanIDRowStatus=hwRemarkVlanIDRowStatus, hwMirroringGroupMirrorVlanID=hwMirroringGroupMirrorVlanID, hwMirroringGroupMonitorEntry=hwMirroringGroupMonitorEntry, hwFlowtempTos=hwFlowtempTos, hwFlowtempVpn=hwFlowtempVpn, hwRedirectToNextHop3=hwRedirectToNextHop3, hwCosToLocalPrecedenceMapCosIndex=hwCosToLocalPrecedenceMapCosIndex, hwTrafficShapeTable=hwTrafficShapeTable, hwCosToDscpMapEntry=hwCosToDscpMapEntry, hwQueueScheduleMode=hwQueueScheduleMode, hwCosToLocalPrecedenceMapLocalPrecedenceValue=hwCosToLocalPrecedenceMapLocalPrecedenceValue, hwMirrorGroupTable=hwMirrorGroupTable, hwRateLimitUserAclNum=hwRateLimitUserAclNum, hwRateLimitRuntime=hwRateLimitRuntime, hwDscpMapConformLevel=hwDscpMapConformLevel, hwDscpToLocalPreMapDscpIndex=hwDscpToLocalPreMapDscpIndex, hwBandwidthLinkAclNum=hwBandwidthLinkAclNum, hwFlowtempTable=hwFlowtempTable, hwCosToDropPrecedenceMapCosIndex=hwCosToDropPrecedenceMapCosIndex, hwLswQosMibObject=hwLswQosMibObject, hwCosToLocalPrecedenceMapTable=hwCosToLocalPrecedenceMapTable, hwMirroringGroupMirroMacStatus=hwMirroringGroupMirroMacStatus, hwPriorityIpPreFromCos=hwPriorityIpPreFromCos, hwPriorityTrustMode=hwPriorityTrustMode, hwMirroringGroupMirrorRowStatus=hwMirroringGroupMirrorRowStatus, hwRateLimitUserAclRule=hwRateLimitUserAclRule, hwFlowtempSIpMask=hwFlowtempSIpMask, hwMirroringGroupMonitorRowStatus=hwMirroringGroupMonitorRowStatus, hwLineRateIfIndex=hwLineRateIfIndex, hwQueueEntry=hwQueueEntry, hwRedirectMode=hwRedirectMode, hwLocalPrecedenceMapTable=hwLocalPrecedenceMapTable, hwDscpToDscpMapDscpValue=hwDscpToDscpMapDscpValue, hwBandwidthAclIndex=hwBandwidthAclIndex, hwQueueWeight2=hwQueueWeight2, hwMirroringGroupReflectorTable=hwMirroringGroupReflectorTable, hwFlowtempFragment=hwFlowtempFragment, hwDscpToCosMapDscpIndex=hwDscpToCosMapDscpIndex, hwWredEntry=hwWredEntry, hwMirrorVlanID=hwMirrorVlanID, hwCosToLocalPrecedenceMapEntry=hwCosToLocalPrecedenceMapEntry, hwQueueWeight5=hwQueueWeight5, hwMirroringGroupRprobeVlanEntry=hwMirroringGroupRprobeVlanEntry, hwPortQueueIfIndex=hwPortQueueIfIndex, hwRateLimitIpAclNum=hwRateLimitIpAclNum, hwBandwidthLinkAclRule=hwBandwidthLinkAclRule, hwDscpMapEntry=hwDscpMapEntry, hwFlowtempSMac=hwFlowtempSMac, hwFlowtempDIp=hwFlowtempDIp, hwRedirectToIfIndex=hwRedirectToIfIndex, hwDscpToCosMapCosValue=hwDscpToCosMapCosValue, hwMirroringGroupMirrorVlanSeq=hwMirroringGroupMirrorVlanSeq, hwRedirectAclIndex=hwRedirectAclIndex, hwPortQueueQueueID=hwPortQueueQueueID, hwPriorityDirection=hwPriorityDirection, hwRedirectLinkAclRule=hwRedirectLinkAclRule, hwLocalPrecedenceMapLocalPrecedenceIndex=hwLocalPrecedenceMapLocalPrecedenceIndex, hwRemarkVlanIDEntry=hwRemarkVlanIDEntry, hwCosToDscpMapTable=hwCosToDscpMapTable, hwPriorityCosFromIpPre=hwPriorityCosFromIpPre, hwRateLimitConformDscp=hwRateLimitConformDscp, hwPriorityPolicedServiceExp=hwPriorityPolicedServiceExp, hwRedirectRemarkedPri=hwRedirectRemarkedPri, hwStatisticRuntime=hwStatisticRuntime, hwRedirectToModifiedVlanID=hwRedirectToModifiedVlanID, hwRateLimitDirection=hwRateLimitDirection, hwPriorityPolicedServiceDscp=hwPriorityPolicedServiceDscp, hwFlowtempEnableTable=hwFlowtempEnableTable, hwRateLimitTable=hwRateLimitTable, hwDscpMapDscpIndex=hwDscpMapDscpIndex, hwMirroringGroupMonitorIfIndex=hwMirroringGroupMonitorIfIndex, hwLineRateDirection=hwLineRateDirection, hwMirroringGroupMirrorMacEntry=hwMirroringGroupMirrorMacEntry, hwRedDirection=hwRedDirection, hwLswQosAclMib=hwLswQosAclMib, hwExpMapLocalPrecedence=hwExpMapLocalPrecedence, hwPriorityDscp=hwPriorityDscp, hwRedIpAclRule=hwRedIpAclRule, hwPortQueueWrrPriority=hwPortQueueWrrPriority, hwDscpToLocalPreMapLocalPreVal=hwDscpToLocalPreMapLocalPreVal, hwPriorityRowStatus=hwPriorityRowStatus, hwRateLimitConformActionType=hwRateLimitConformActionType, hwRemarkVlanIDAclIndex=hwRemarkVlanIDAclIndex, hwRemarkVlanIDVlanID=hwRemarkVlanIDVlanID, hwWredIndex=hwWredIndex, hwPriorityPolicedServiceCos=hwPriorityPolicedServiceCos, hwRateLimitIpAclRule=hwRateLimitIpAclRule, hwRemarkVlanIDUserAclRule=hwRemarkVlanIDUserAclRule, hwFlowtempDIpMask=hwFlowtempDIpMask, hwRemarkVlanIDIpAclNum=hwRemarkVlanIDIpAclNum, hwMirrorGroupMirrorIfIndexList=hwMirrorGroupMirrorIfIndexList, hwMirroringGroupStatus=hwMirroringGroupStatus, hwCosToDropPrecedenceMapEntry=hwCosToDropPrecedenceMapEntry, hwMirroringGroupEntry=hwMirroringGroupEntry, hwTrafficShapeIfIndex=hwTrafficShapeIfIndex, hwMirroringGroupMirrorMacTable=hwMirroringGroupMirrorMacTable, hwRateLimitEntry=hwRateLimitEntry, hwRedirectToNextHop2=hwRedirectToNextHop2, hwMirroringGroupMirrorMac=hwMirroringGroupMirrorMac, hwTrafficShapeEntry=hwTrafficShapeEntry, hwFlowtempIpPre=hwFlowtempIpPre, hwPriorityUserAclNum=hwPriorityUserAclNum, hwRateLimitTargetRateKbps=hwRateLimitTargetRateKbps, hwDscpMapCosValue=hwDscpMapCosValue, hwBandwidthWeight=hwBandwidthWeight, hwRateLimitVlanID=hwRateLimitVlanID, hwPortMirrorIfIndex=hwPortMirrorIfIndex, hwFlowtempTcpFlag=hwFlowtempTcpFlag, hwWredYellowMinThreshold=hwWredYellowMinThreshold, hwWredYellowMaxProb=hwWredYellowMaxProb, hwFlowtempIndex=hwFlowtempIndex, hwRateLimitLinkAclRule=hwRateLimitLinkAclRule, hwMirrorToIfIndex=hwMirrorToIfIndex, hwFlowtempSMacMask=hwFlowtempSMacMask, hwMirrorGroupEntry=hwMirrorGroupEntry, hwMirrorLinkAclRule=hwMirrorLinkAclRule, hwStatisticTable=hwStatisticTable, hwMirroringGroupMirrorOutTypeList=hwMirroringGroupMirrorOutTypeList, hwFlowtempEnableVlanID=hwFlowtempEnableVlanID, hwPriorityPolicedServiceLoaclPre=hwPriorityPolicedServiceLoaclPre, hwRedRowStatus=hwRedRowStatus, hwRateLimitRowStatus=hwRateLimitRowStatus, hwMirroringGroupID=hwMirroringGroupID, hwQueueIfIndex=hwQueueIfIndex, hwPortMirrorEntry=hwPortMirrorEntry, hwMirroringGroupMirroVlanStatus=hwMirroringGroupMirroVlanStatus, hwRateLimitAclIndex=hwRateLimitAclIndex, hwRedAclIndex=hwRedAclIndex, hwRemarkVlanIDDirection=hwRemarkVlanIDDirection, hwTrafficShapeQueueId=hwTrafficShapeQueueId, hwFlowtempCos=hwFlowtempCos, hwDscpMapLocalPrecedence=hwDscpMapLocalPrecedence, hwQueueWeight1=hwQueueWeight1, hwRateLimitLinkAclNum=hwRateLimitLinkAclNum, hwRedirectUserAclRule=hwRedirectUserAclRule, PYSNMP_MODULE_ID=hwLswQosAclMib, hwRedEntry=hwRedEntry, hwPriorityLinkAclNum=hwPriorityLinkAclNum, hwDscpToDscpMapTable=hwDscpToDscpMapTable, hwRemarkVlanIDRemarkVlanID=hwRemarkVlanIDRemarkVlanID, hwExpMapTable=hwExpMapTable, hwPortTrustEntry=hwPortTrustEntry, hwMirrorUserAclRule=hwMirrorUserAclRule, hwMirrorTable=hwMirrorTable, hwRedIpAclNum=hwRedIpAclNum, hwDscpMapTable=hwDscpMapTable, hwMirrorUserAclNum=hwMirrorUserAclNum, hwBandwidthMinGuaranteedWidth=hwBandwidthMinGuaranteedWidth, hwFlowtempEntry=hwFlowtempEntry, hwPriorityEntry=hwPriorityEntry, hwDscpToDropPreMapReset=hwDscpToDropPreMapReset, hwDropModeEntry=hwDropModeEntry, hwRemarkVlanIDLinkAclNum=hwRemarkVlanIDLinkAclNum, hwBandwidthTable=hwBandwidthTable, hwTrafficShapeBurstSize=hwTrafficShapeBurstSize, hwRemarkVlanIDPacketType=hwRemarkVlanIDPacketType, hwPriorityIfIndex=hwPriorityIfIndex, hwRedProbability=hwRedProbability, hwStatisticByteCount=hwStatisticByteCount, hwCosToDscpMapReSet=hwCosToDscpMapReSet, hwBandwidthRowStatus=hwBandwidthRowStatus, hwPriorityUserAclRule=hwPriorityUserAclRule, hwRedStopQueueLen=hwRedStopQueueLen, hwPortTrustOvercastType=hwPortTrustOvercastType, hwRemarkVlanIDLinkAclRule=hwRemarkVlanIDLinkAclRule, hwRateLimitEBS=hwRateLimitEBS, hwRedirectToNestedVlanID=hwRedirectToNestedVlanID, hwRateLimitExceedCos=hwRateLimitExceedCos, hwMirroringGroupType=hwMirroringGroupType, hwPortQueueTable=hwPortQueueTable, hwFlowtempIpProtocol=hwFlowtempIpProtocol, hwRedRuntime=hwRedRuntime, hwMirrorRowStatus=hwMirrorRowStatus, hwBandwidthEntry=hwBandwidthEntry, hwDscpMapExpValue=hwDscpMapExpValue, hwDropModeMode=hwDropModeMode, hwRateLimitTargetRateMbps=hwRateLimitTargetRateMbps, hwMirrorToCpu=hwMirrorToCpu, hwRateLimitCBS=hwRateLimitCBS, hwRedirectIpAclNum=hwRedirectIpAclNum, hwDscpToCosMapEntry=hwDscpToCosMapEntry, hwTrafficShapeRowStatus=hwTrafficShapeRowStatus, hwMirrorIpAclRule=hwMirrorIpAclRule, hwCosToDscpMapCosIndex=hwCosToDscpMapCosIndex, hwMirroringGroupMirrorInTypeList=hwMirroringGroupMirrorInTypeList, hwDropModeIfIndex=hwDropModeIfIndex) mibBuilder.exportSymbols('HUAWEI-LswQos-MIB', hwStatisticEntry=hwStatisticEntry, hwBandwidthRuntime=hwBandwidthRuntime, hwExpMapCosValue=hwExpMapCosValue, hwExpMapEntry=hwExpMapEntry, hwRateLimitCIR=hwRateLimitCIR, hwRateLimitConformLocalPre=hwRateLimitConformLocalPre, hwMirrorAclIndex=hwMirrorAclIndex, hwQueueMaxDelay=hwQueueMaxDelay, hwWredGreenMaxProb=hwWredGreenMaxProb, hwDscpToLocalPreMapTable=hwDscpToLocalPreMapTable, hwFlowtempRowStatus=hwFlowtempRowStatus, hwPortMonitorBothIfIndex=hwPortMonitorBothIfIndex, hwPriorityVlanID=hwPriorityVlanID, hwDropModeWredIndex=hwDropModeWredIndex, hwBandwidthIpAclNum=hwBandwidthIpAclNum, hwFlowtempIcmpType=hwFlowtempIcmpType, hwMirroringGroupMirrorOutboundIfIndexList=hwMirroringGroupMirrorOutboundIfIndexList, hwFlowtempEnableEntry=hwFlowtempEnableEntry, hwDscpToCosMapReset=hwDscpToCosMapReset, hwPortMirrorRowStatus=hwPortMirrorRowStatus, hwDscpToDropPreMapDscpIndex=hwDscpToDropPreMapDscpIndex, hwPortWredQueueStartLength=hwPortWredQueueStartLength, hwRateLimitExceedActionType=hwRateLimitExceedActionType, hwMirroringGroupMonitorType=hwMirroringGroupMonitorType, hwPriorityLinkAclRule=hwPriorityLinkAclRule, hwStatisticCountClear=hwStatisticCountClear, hwFlowtempDMacMask=hwFlowtempDMacMask, hwRateLimitMeterStatByteXCount=hwRateLimitMeterStatByteXCount, hwExpMapDscpValue=hwExpMapDscpValue, hwPortWredTable=hwPortWredTable, hwDscpMapDscpValue=hwDscpMapDscpValue, hwPriorityCos=hwPriorityCos, hwQueueWeight6=hwQueueWeight6, hwRedirectToNextHop1=hwRedirectToNextHop1, hwStatisticUserAclNum=hwStatisticUserAclNum, hwMirrorGroupDirection=hwMirrorGroupDirection, hwExpMapDropPrecedence=hwExpMapDropPrecedence, hwFlowtempVlanId=hwFlowtempVlanId, hwRedirectDirection=hwRedirectDirection, hwDropModeTable=hwDropModeTable, hwDscpToDscpMapReset=hwDscpToDscpMapReset, hwPriorityAclIndex=hwPriorityAclIndex, hwPortTrustTable=hwPortTrustTable, hwFlowtempSIp=hwFlowtempSIp, hwCosToDropPrecedenceMapTable=hwCosToDropPrecedenceMapTable, hwRedirectUserAclNum=hwRedirectUserAclNum, hwStatisticLinkAclNum=hwStatisticLinkAclNum, hwRateLimitExceedDscp=hwRateLimitExceedDscp, hwPriorityIpPre=hwPriorityIpPre, hwPortWredEntry=hwPortWredEntry, hwQueueWeight8=hwQueueWeight8, hwMirroringGroupReflectorIfIndex=hwMirroringGroupReflectorIfIndex, hwFlowtempSPort=hwFlowtempSPort, hwMirroringGroupRprobeVlanRowStatus=hwMirroringGroupRprobeVlanRowStatus, hwMirroringGroupReflectorRowStatus=hwMirroringGroupReflectorRowStatus, hwPortWredQueueProbability=hwPortWredQueueProbability, hwPortQueueWeight=hwPortQueueWeight, hwWredRedMaxProb=hwWredRedMaxProb, hwFlowtempEthProtocol=hwFlowtempEthProtocol, hwMirroringGroupMirrorInboundIfIndexList=hwMirroringGroupMirrorInboundIfIndexList, hwPriorityLocalPre=hwPriorityLocalPre, hwPortTrustTrustType=hwPortTrustTrustType, hwFlowtempIcmpCode=hwFlowtempIcmpCode, hwRateLimitMeterStatState=hwRateLimitMeterStatState, hwPortWredIfIndex=hwPortWredIfIndex, hwStatisticLinkAclRule=hwStatisticLinkAclRule, hwRedTable=hwRedTable, hwRateLimitPeakRate=hwRateLimitPeakRate, hwStatisticByteXCount=hwStatisticByteXCount, hwDscpToDropPreMapEntry=hwDscpToDropPreMapEntry, hwDscpToCosMapTable=hwDscpToCosMapTable, hwTrafficShapeMaxRate=hwTrafficShapeMaxRate, hwMirroringGroupTable=hwMirroringGroupTable, hwMirroringGroupRprobeVlanTable=hwMirroringGroupRprobeVlanTable, hwMirroringGroupMirrorVlanEntry=hwMirroringGroupMirrorVlanEntry, hwMirrorGroupID=hwMirrorGroupID, hwExpMapExpValue=hwExpMapExpValue, hwLocalPrecedenceMapEntry=hwLocalPrecedenceMapEntry, hwWredTable=hwWredTable, hwDscpToLocalPreMapReset=hwDscpToLocalPreMapReset, hwLocalPrecedenceMapConformLevel=hwLocalPrecedenceMapConformLevel, hwMirroringGroupMirrorVlanTable=hwMirroringGroupMirrorVlanTable, hwBandwidthMaxGuaranteedWidth=hwBandwidthMaxGuaranteedWidth, hwMirroringGroupMirrorTable=hwMirroringGroupMirrorTable, hwRemarkVlanIDIpAclRule=hwRemarkVlanIDIpAclRule, hwStatisticIfIndex=hwStatisticIfIndex, hwRedirectIpAclRule=hwRedirectIpAclRule, hwBandwidthIpAclRule=hwBandwidthIpAclRule, hwMirrorIpAclNum=hwMirrorIpAclNum, hwMirrorGroupRowStatus=hwMirrorGroupRowStatus, HwMirrorOrMonitorType=HwMirrorOrMonitorType, hwExpMapExpIndex=hwExpMapExpIndex, hwTrafficShapeBufferLimit=hwTrafficShapeBufferLimit, hwMirroringGroupMonitorTable=hwMirroringGroupMonitorTable, hwMirrorDirection=hwMirrorDirection, hwQueueWeight3=hwQueueWeight3, hwRedLinkAclNum=hwRedLinkAclNum, hwMirrorRuntime=hwMirrorRuntime, hwQueueWeight7=hwQueueWeight7, hwWredGreenMinThreshold=hwWredGreenMinThreshold, hwPriorityIpAclNum=hwPriorityIpAclNum, hwStatisticIpAclRule=hwStatisticIpAclRule, hwLineRateValue=hwLineRateValue, hwDscpToDscpMapEntry=hwDscpToDscpMapEntry, hwRedirectToSlotNo=hwRedirectToSlotNo, hwStatisticRowStatus=hwStatisticRowStatus, hwExpMapConformLevel=hwExpMapConformLevel, hwRemarkVlanIDTable=hwRemarkVlanIDTable, hwStatisticIpAclNum=hwStatisticIpAclNum, hwRedirectTargetVlanID=hwRedirectTargetVlanID, hwRedirectRemarkedTos=hwRedirectRemarkedTos, hwPortQueueEntry=hwPortQueueEntry, hwBandwidthIfIndex=hwBandwidthIfIndex, hwStatisticDirection=hwStatisticDirection, hwRateLimitConformCos=hwRateLimitConformCos, hwDscpToDscpMapDscpIndex=hwDscpToDscpMapDscpIndex, hwMirrorLinkAclNum=hwMirrorLinkAclNum, hwLocalPrecedenceMapCosValue=hwLocalPrecedenceMapCosValue)