Code Review
/
sdnc
/
oam.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Fix for txconn create
[sdnc/oam.git]
/
admportal
/
shell
/
getAdmPortalProp.py
1
#!/usr/bin/python
2
3
import json
4
import sys
5
import os
6
7
propfile = os.getenv('SDNC_CONFIG_DIR') + '/admportal.json'
8
9
from pprint import pprint
10
11
with open(propfile) as data_file:
12
data = json.load(data_file)
13
pprint( str(data[sys.argv[1]]))