Skip to content

Commit 57ed5b9

Browse files
authored
Updated ODL version check for carbon and nitrogen
1 parent b6b6589 commit 57ed5b9

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

netconf.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,13 @@
4848
# ============================================================
4949

5050
odl_version_list = [
51-
{'boron': {'name': "openconfig-interfaces", 'revision': "2016-04-12"}},
52-
{'beryllium': {'name': "odl-rsvp-parser-spi-cfg", 'revision': "2015-08-26"}},
53-
{'lithium': {'name': "aaa-authn-model", 'revision': "2014-10-29"}},
54-
{'helium': {'name': "opendaylight-topology", 'revision': "2013-10-30"}},
55-
]
51+
{'nitrogen': {'name': 'odl-bmp-monitor-config', 'revision': '2017-05-17'}},
52+
{'carbon': {'name': "aaa-encrypt-service-config", 'revision': "2016-09-15"}},
53+
{'boron': {'name': "openconfig-interfaces", 'revision': "2016-04-12"}},
54+
{'beryllium': {'name': "odl-rsvp-parser-spi-cfg", 'revision':"2015-08-26"}},
55+
{'lithium': {'name': "aaa-authn-model", 'revision': "2014-10-29"}},
56+
{'helium': {'name': "opendaylight-topology", 'revision': "2013-10-30"}},
57+
]
5658

5759
uri_version = '/restconf/modules'
5860
uri_topo = '/restconf/operational/network-topology:network-topology/topology/example-linkstate-topology'
@@ -151,7 +153,7 @@ def netconf_list(dummy=None):
151153
head = set_head(access_head, controller)
152154
odl_version = version_check()
153155

154-
if odl_version in ['beryllium', 'boron']:
156+
if odl_version in ['beryllium', 'boron', 'carbon', 'nitrogen']:
155157
url = head + uri_node_topo
156158
else:
157159
url = head + uri_nodelist

0 commit comments

Comments
 (0)