Hi Murphy i am trying to run my program and it gives me this prompt. Is there any help? thanks
i get this error typeerror-init-takes-exactly-3-arguments-2-given # class class VideoCache (object): # Constructor of the class def __init__(self, connection, transparent): # track the connection to the switch to send messages self.connection = connection self.transparent = transparent # Add listener events to handle connection events from OpenFlow switch connection.addListeners(self) log.debug("Initializing VideoCache, transparent=%s", str(self.transparent)) # Turn on Nicira packet_ins. # Nicira extensions to support openFlow 1.0 msg = nx.nx_packet_in_format() event.connection.send(msg) # Turn on ability to specify table in flow_mods msg = nx.nx_flow_mod_table_id() event.connection.send(msg) the launch function below def launch (): # create new class object MyCache = VideoCache('IDEALCACHE') # add this class into the core. core.register("cache", MyCache) log.info("Video cache is running.")