+
+def channel_to_hrn(auth, login_base, channel):
+ return NitosXrn(auth=auth + '.' + login_base, channel=channel).get_hrn()
+
+
+def channel_to_urn(auth, login_base, channel):
+ return NitosXrn(auth=auth + '.' + login_base, channel=channel).get_urn()
+
+
+def xrn_to_channel(hrn):
+ return Xrn.unescape(NitosXrn(xrn=hrn, type='channel').get_leaf())
+
+