Module Expr Str Import alias Import alias Import alias ImportFrom alias ImportFrom alias Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Num Assign NameStore Call NameLoad Call NameLoad Num Num Assign NameStore Call NameLoad Call NameLoad Num Num Assign NameStore Call NameLoad Call NameLoad Num Num Assign NameStore Call NameLoad Call NameLoad Num Num Assign NameStore Call NameLoad Call NameLoad Num Num Assign NameStore Call NameLoad Call NameLoad Num Num Assign NameStore Call NameLoad Call NameLoad Num Num Assign NameStore Call NameLoad Call NameLoad Num Num FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad Num body Expr Str Assign NameStore Call NameLoad BinOpMod Str Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str For NameStore Call NameLoad BinOpSub Num NameLoad body Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore BoolOpOr NameLoad Str Assign NameStore BoolOpOr NameLoad Str Assign NameStore NameLoad If CompareGt Call NameLoad NameLoad Num body Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad NameLoad orelse Assign NameStore BinOpMod Str TupleLoad NameLoad NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad Num body Expr Str If CompareLtE NameLoad Num body Return Call AttributeLoad Str attr BoolOpOr NameLoad Str BoolOpOr NameLoad Str Assign NameStore Call NameLoad BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Str While CompareGt NameLoad Num body Assign NameStore Call NameLoad Call NameLoad BinOpDiv Call NameLoad NameLoad Num NameLoad Assign NameStore BinOpSub NameLoad NameLoad AugAssignAdd NameStore Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad Str attr BoolOpOr NameLoad Str NameLoad BoolOpOr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Str Assign NameStore Num For NameStore NameLoad body If CompareEq NameLoad Str body AugAssignAdd NameStore Num Assign NameStore ListComp Call AttributeLoad NameLoad attr Num Num comprehension NameStore Call NameLoad Num NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad Num Num body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Return Call AttributeLoad Str attr ListLoad NameLoad Str Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults Str body Return Call AttributeLoad Str attr keyword NameLoad keyword Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BinOpDiv Call NameLoad NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad BinOpMult NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Return BinOpDiv Call NameLoad NameLoad Num decorator_list
N/A N/A 
Copyright 2013 Rackspace

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.
 N/A random N/A string N/A time math pow cloudcafe.common.tools randomstring N/A SOURCE_RANDOM /dev/urandom N/A SOURCE_ZEROS /dev/zero N/A TEMP_LOCATION /tmp N/A EXACT_BYTE 8 N/A EXACT_KIBIBYTE N/A int N/A pow 2 10 N/A EXACT_MEBIBYTE N/A int N/A pow 2 20 N/A EXACT_GIBIBYTE N/A int N/A pow 2 30 N/A EXACT_TEBIBYTE N/A int N/A pow 2 40 N/A EXACT_KILOBYTE N/A int N/A pow 10 3 N/A EXACT_MEGABYTE N/A int N/A pow 10 6 N/A EXACT_GIGABYTE N/A int N/A pow 10 9 N/A EXACT_TERABYTE N/A int N/A pow 10 12 timestamp_string N/A N/A prefix suffix decimal_precision N/A None None 6 N/A N/A 
    Return a unix timestamp surrounded by any defined prefixes and suffixes
    Decimal precision is full (6) by default.
     N/A t N/A str N/A %f N/A N/A time time N/A N/A int_seconds dec_seconds N/A N/A t split . N/A x N/A range N/A 6 decimal_precision N/A N/A dec_seconds N/A dec_seconds N/A -1 N/A int_seconds N/A str int_seconds N/A dec_seconds N/A str dec_seconds N/A prefix N/A prefix N/A suffix N/A suffix N/A final None N/A N/A N/A len dec_seconds 0 N/A N/A final N/A %s%s%s N/A prefix int_seconds suffix N/A N/A final N/A %s%s.%s%s N/A prefix int_seconds dec_seconds suffix N/A final N/A random_string N/A N/A prefix suffix size N/A None None 8 N/A N/A 
    Return a random string of alphanumeric characaters of 'size' length.
     N/A N/A size 0 N/A N/A N/A N/A {0}{1} format N/A prefix N/A suffix N/A charpool N/A tuple N/A N/A string ascii_letters N/A string digits N/A final_string N/A N/A size 0 N/A N/A segment_size N/A min N/A int N/A N/A len charpool 2 size N/A size N/A size segment_size N/A final_string N/A N/A join N/A N/A random sample charpool segment_size N/A N/A N/A {0}{1}{2} format N/A prefix final_string N/A suffix N/A random_ip N/A N/A pattern N/A None N/A N/A 
    Takes a pattern as a string in the format of #.#.#.# where a # is an
    integer, and a can be substituded with an * to produce a random octet.
    pattern = 127.0.0.* would return a random string between 127.0.0.1 and
    127.0.0.254
     N/A N/A pattern None N/A N/A pattern *.*.*.* N/A num_asterisks 0 N/A c pattern N/A N/A N/A c * N/A N/A num_asterisks 1 N/A rand_list N/A N/A N/A random randint 1 255 N/A i N/A range 0 num_asterisks N/A item rand_list N/A N/A pattern N/A N/A pattern replace * N/A str item 1 N/A pattern N/A random_cidr N/A N/A ip_pattern mask min_mask max_mask N/A None None 0 30 N/A N/A 
    Gets a random cidr using the random_ip function in this module. If mask
    is None then a random mask between 0 and 30 inclusive will be assigned.
     N/A N/A mask None N/A N/A mask N/A N/A random randint min_mask max_mask N/A ip N/A random_ip ip_pattern N/A N/A N/A join N/A ip / N/A str mask N/A random_int N/A N/A min_int max_int N/A N/A N/A N/A N/A random randint min_int max_int N/A rand_name N/A N/A name N/A test N/A N/A N/A N/A {name}{suffix} format name name suffix N/A N/A randomstring get_random_string N/A random_item_in_list N/A N/A selection_list N/A N/A N/A N/A N/A random choice selection_list N/A bytes_to_gb N/A N/A val N/A N/A N/A N/A N/A float val 1073741824 N/A gb_to_bytes N/A N/A val N/A N/A N/A N/A int N/A val 1073741824 N/A bytes_to_mb N/A N/A val N/A N/A N/A N/A N/A float val 1024 N/A