~vishvananda/nova/network-refactor

1
2
3
4
5
6
7
8
9
10
11
12
from twisted.web import xmlrpc
import os

def getQuote():
    return "What are you talking about, William?"

class Quoter(xmlrpc.XMLRPC):
    
    def xmlrpc_quote(self):
        return getQuote()
    
resource = Quoter()