Code Review
/
netvirt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Refactor Model class
[netvirt.git]
/
resources
/
tools
/
odltools
/
odltools
/
mdsal
/
tests
/
__init__.py
1
import os
2
3
4
class Args:
5
def __init__(self, https="http", ip="localhost", port=8181, user="admin", pw="admin", path="/tmp",
6
pretty_print=False):
7
self.https = https
8
self.ip = ip
9
self.port = port
10
self.user = user
11
self.pw = pw
12
self.path = path
13
self.pretty_print = pretty_print
14
15
16
def get_resources_path():
17
return os.path.join(os.path.dirname(__file__), '../../tests/resources')