projects
/
osm
/
SO.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'v2.0'
[osm/SO.git]
/
rwlaunchpad
/
plugins
/
rwvns
/
test
/
test_sdn_sim.py
diff --git
a/rwlaunchpad/plugins/rwvns/test/test_sdn_sim.py
b/rwlaunchpad/plugins/rwvns/test/test_sdn_sim.py
index
d216f0d
..
e9cd0b3
100644
(file)
--- a/
rwlaunchpad/plugins/rwvns/test/test_sdn_sim.py
+++ b/
rwlaunchpad/plugins/rwvns/test/test_sdn_sim.py
@@
-15,7
+15,6
@@
# limitations under the License.
#
# limitations under the License.
#
-import datetime
import logging
import unittest
import logging
import unittest
@@
-24,20
+23,17
@@
import rwlogger
import gi
gi.require_version('RwTypes', '1.0')
import gi
gi.require_version('RwTypes', '1.0')
-gi.require_version('RwSdn', '1.0')
-from gi.repository import RwsdnYang
-from gi.repository import IetfNetworkYang
+from gi.repository import RwsdnalYang
from gi.repository.RwTypes import RwStatus
from gi.repository.RwTypes import RwStatus
-from gi.repository import RwSdn
logger = logging.getLogger('sdnsim')
def get_sdn_account():
"""
logger = logging.getLogger('sdnsim')
def get_sdn_account():
"""
- Creates an object for class RwsdnYang.SdnAccount()
+ Creates an object for class Rwsdn
al
Yang.SdnAccount()
"""
"""
- account = RwsdnYang.SDNAccount()
+ account = Rwsdn
al
Yang.SDNAccount()
account.account_type = "sdnsim"
account.sdnsim.username = "rift"
account.sdnsim.plugin_name = "rwsdn_sim"
account.account_type = "sdnsim"
account.sdnsim.username = "rift"
account.sdnsim.plugin_name = "rwsdn_sim"