~cbehrens/openstack-guest-agents/lp764221

« back to all changes in this revision

Viewing changes to src/unix/nova-agent.py

  • Committer: Chris Behrens
  • Date: 2011-04-13 20:03:06 UTC
  • mfrom: (2.1.61 unix-agent-dev)
  • Revision ID: cbehrens@codestud.com-20110413200306-tbd1fdrjdy0yjy2c
MergedĀ lp:~rackspace-ozone/openstack-guest-agents/unix-agent-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
import sys
 
3
import agentlib
 
4
import plugins
 
5
import commands.command_list
 
6
 
 
7
 
 
8
test_mode = False
 
9
 
 
10
args = {"test": "test123"}
 
11
c = commands.init(**args)
 
12
 
 
13
parser = plugins.JsonParser(c)
 
14
xs = plugins.XSComm()
 
15
 
 
16
agentlib.register(xs, parser)