Reviewed-by: Crístian Viana <vianac(a)linux.vnet.ibm.com>
Am 21-01-2014 12:03, schrieb shaohef(a)linux.vnet.ibm.com:
From: ShaoHe Feng <shaohef(a)linux.vnet.ibm.com>
we can difine a /host as follow:
@urlSubNode("host", True)
class Host(Resource):
def __init__(self, model, id=None):
super(Host, self).__init__(model, id)
@urlSubNode("host", True) means:
the URL "/host" is root.Host, and it need authentication
Signed-off-by: ShaoHe Feng <shaohef(a)linux.vnet.ibm.com>