MCPcopy Create free account
hub / github.com/apache/cloudstack / get_tablename

Method get_tablename

systemvm/debian/opt/cloud/bin/cs/CsRoute.py:29–30  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

27 self.table_prefix = "Table_"
28
29 def get_tablename(self, name):
30 return self.table_prefix + name
31
32 def add_table(self, devicename):
33 tablenumber = 100 + int(devicename[3:])

Callers 6

mainFunction · 0.95
add_tableMethod · 0.95
add_routeMethod · 0.95
add_network_routeMethod · 0.95
__updateMethod · 0.95
test_get_tablenameMethod · 0.95

Calls

no outgoing calls

Tested by 1

test_get_tablenameMethod · 0.76