Projects
osmocom:master
libosmo-sigtran
Log In
Username
Password
File not found: commit_c4a17d35ecea72c0b50bc1ac030a6693f8be8262.txt
×
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 39
View file
commit_1a109b9477092349aaf1b620d7500f66aa92947a.txt
Added
View file
commit_31ac5b5b1c8c8505b4abd4a8cd6ee966833ed4f5.txt
Deleted
View file
libosmo-sigtran_2.1.0.46.31ac.dsc -> libosmo-sigtran_2.1.0.47.1a10.dsc
Changed
@@ -2,7 +2,7 @@ Source: libosmo-sigtran Binary: libosmo-sigtran11, libosmo-sigtran-dbg, libosmo-sigtran-doc, libosmo-sigtran-dev, osmo-stp, osmo-stp-dbg, osmo-stp-doc Architecture: any all -Version: 2.1.0.46.31ac +Version: 2.1.0.47.1a10 Maintainer: Osmocom team <openbsc@lists.osmocom.org> Homepage: https://projects.osmocom.org/projects/libosmo-sccp Standards-Version: 3.9.7 @@ -18,8 +18,8 @@ osmo-stp-dbg deb debug optional arch=any osmo-stp-doc deb doc optional arch=all Checksums-Sha1: - 1080b37afcde8e2b14be5660d0dea8c00a58a652 240144 libosmo-sigtran_2.1.0.46.31ac.tar.xz + 0b64032ccf776f5a1cb638f608dcf49e8cdb7d4f 240560 libosmo-sigtran_2.1.0.47.1a10.tar.xz Checksums-Sha256: - df90a8b72d1077b89ec1842b19225a877a8a48d97b2e1bc65025432df2ea21ba 240144 libosmo-sigtran_2.1.0.46.31ac.tar.xz + 4258771c1a39e46e3e293fdd31a2c250358e5987395a3b5350d2dff908d0487e 240560 libosmo-sigtran_2.1.0.47.1a10.tar.xz Files: - 5d310b49f4e7d22581a73f6333bf346b 240144 libosmo-sigtran_2.1.0.46.31ac.tar.xz + 596b6d423a08eae346226eae25483d7a 240560 libosmo-sigtran_2.1.0.47.1a10.tar.xz
View file
libosmo-sigtran_2.1.0.46.31ac.tar.xz/.tarball-version -> libosmo-sigtran_2.1.0.47.1a10.tar.xz/.tarball-version
Changed
@@ -1 +1 @@ -2.1.0.46-31ac +2.1.0.47-1a10
View file
libosmo-sigtran_2.1.0.46.31ac.tar.xz/debian/changelog -> libosmo-sigtran_2.1.0.47.1a10.tar.xz/debian/changelog
Changed
@@ -1,8 +1,8 @@ -libosmo-sigtran (2.1.0.46.31ac) unstable; urgency=medium +libosmo-sigtran (2.1.0.47.1a10) unstable; urgency=medium * Automatically generated changelog entry for building the Osmocom master feed - -- Osmocom OBS scripts <info@osmocom.org> Mon, 10 Mar 2025 12:29:22 +0000 + -- Osmocom OBS scripts <info@osmocom.org> Mon, 10 Mar 2025 15:17:49 +0000 libosmo-sigtran (2.1.0) unstable; urgency=medium
View file
libosmo-sigtran_2.1.0.46.31ac.tar.xz/src/osmo_ss7_vty.c -> libosmo-sigtran_2.1.0.47.1a10.tar.xz/src/osmo_ss7_vty.c
Changed
@@ -49,6 +49,7 @@ #include "ss7_as.h" #include "ss7_asp.h" #include "ss7_combined_linkset.h" +#include <ss7_linkset.h> #include "ss7_route.h" #include "ss7_route_table.h" #include "ss7_internal.h" @@ -607,6 +608,86 @@ return CMD_SUCCESS; } +DEFUN(show_cs7_route_bindingtable, show_cs7_route_bindingtable_cmd, + "show cs7 instance <0-15> route binding-table POINT_CODE all-matches", + SHOW_STR CS7_STR INST_STR INST_STR + "Routing Table\n" + "Display binding table\n" + "Destination Point Code\n" + "Display all matching Combination Links\n") +{ + int id = atoi(argv0); + bool all = argc > 2; + struct osmo_ss7_instance *inst; + uint32_t filter_pc = OSMO_SS7_PC_INVALID; + struct osmo_ss7_combined_linkset *clset; + + inst = osmo_ss7_instance_find(id); + if (!inst) { + vty_out(vty, "No SS7 instance %d found%s", id, VTY_NEWLINE); + return CMD_WARNING; + } + + if (argc > 1) { + int pc = osmo_ss7_pointcode_parse(inst, argv1); + if (pc < 0 || !osmo_ss7_pc_is_valid((uint32_t)pc)) { + vty_out(vty, "Invalid point code (%s)%s", argv1, VTY_NEWLINE); + return CMD_WARNING; + } + filter_pc = (uint32_t)pc; + } + + llist_for_each_entry(clset, &inst->rtable_system->combined_linksets, list) { + if ((filter_pc != OSMO_SS7_PC_INVALID) && ((filter_pc & clset->cfg.mask) != clset->cfg.pc)) + continue; /* Skip combined linksets not matching destination */ + + vty_out(vty, "%sCombined Linkset: dpc=%u=%s, mask=0x%x=%s, prio=%u%s", VTY_NEWLINE, + (clset)->cfg.pc, osmo_ss7_pointcode_print(clset->rtable->inst, clset->cfg.pc), + (clset)->cfg.mask, osmo_ss7_pointcode_print2(clset->rtable->inst, clset->cfg.mask), + (clset)->cfg.priority, VTY_NEWLINE); + vty_out(vty, "Loadshare Seed Normal Route Available Alternative Route Available%s", VTY_NEWLINE); + vty_out(vty, "-------------- --------------------- --------- --------------------- ---------%s", VTY_NEWLINE); + + for (unsigned int i = 0; i < ARRAY_SIZE(clset->esls_table); i++) { + struct osmo_ss7_esls_entry *e = &clset->esls_tablei; + char normal_buf128; + char alt_buf128; + + #define RT_DEST_SPRINTF(buf, rt) \ + do { \ + if (rt) { \ + if ((rt)->dest.as) { \ + snprintf(buf, sizeof(buf), "%s", (rt)->dest.as->cfg.name); \ + } else if ((rt)->dest.linkset) { \ + snprintf(buf, sizeof(buf), "%s", (rt)->dest.linkset->cfg.name); \ + } else { \ + snprintf(buf, sizeof(buf), "<error>"); \ + } \ + } else { \ + snprintf(buf, sizeof(buf), "-"); \ + } \ + } while (0) + + RT_DEST_SPRINTF(normal_buf, e->normal_rt); + RT_DEST_SPRINTF(alt_buf, e->alt_rt); + + #undef RT_DEST_SPRINTF + + vty_out(vty, "%-15u %-22s %-10s %-22s %-10s%s", + i, + normal_buf, + e->normal_rt ? (ss7_route_is_available(e->normal_rt) ? "Yes" : "No") : "-", + alt_buf, + e->alt_rt ? (ss7_route_is_available(e->alt_rt) ? "Yes" : "No") : "-", + VTY_NEWLINE); + } + + if (!all) + break; + } + return CMD_SUCCESS; +} + DEFUN(show_cs7_route_lookup, show_cs7_route_lookup_cmd, "show cs7 instance <0-15> route-lookup POINT_CODE from POINT_CODE sls <0-15> list-asps", SHOW_STR CS7_STR INST_STR INST_STR @@ -3369,6 +3450,7 @@ install_lib_element(L_CS7_AS_NODE, &as_pc_patch_sccp_cmd); install_lib_element_ve(&show_cs7_route_cmd); + install_lib_element_ve(&show_cs7_route_bindingtable_cmd); install_lib_element_ve(&show_cs7_route_lookup_cmd); vty_init_addr();
View file
libosmo-sigtran_2.1.0.46.31ac.tar.xz/tests/vty/osmo_stp_route_prio.vty -> libosmo-sigtran_2.1.0.47.1a10.tar.xz/tests/vty/osmo_stp_route_prio.vty
Changed
@@ -87,6 +87,140 @@ 3.2.1/14 INACC 0 5 as2 UNAVAIL ? UNAVAIL 3.2.1/14 INACC 7 6 as1 UNAVAIL ? UNAVAIL +OsmoSTP(config-cs7-rt)# do show cs7 instance 0 route binding-table 3.2.1 + +Combined Linkset: dpc=6161=3.2.1, mask=0x3fff=7.255.7, prio=2 +Loadshare Seed Normal Route Available Alternative Route Available +-------------- --------------------- --------- --------------------- --------- +0 - - - - +1 - - - - +2 - - - - +3 - - - - +4 - - - - +5 - - - - +6 - - - - +7 - - - - +8 - - - - +9 - - - - +10 - - - - +11 - - - - +12 - - - - +13 - - - - +14 - - - - +15 - - - - +16 - - - - +17 - - - - +18 - - - - +19 - - - - +20 - - - - +21 - - - - +22 - - - - +23 - - - - +24 - - - - +25 - - - - +26 - - - - +27 - - - - +28 - - - - +29 - - - - +30 - - - - +31 - - - - +32 - - - - +33 - - - - +34 - - - - +35 - - - - +36 - - - - +37 - - - - +38 - - - - +39 - - - - +40 - - - - +41 - - - - +42 - - - - +43 - - - - +44 - - - - +45 - - - - +46 - - - - +47 - - - - +48 - - - - +49 - - - - +50 - - - - +51 - - - - +52 - - - - +53 - - - - +54 - - - - +55 - - - - +56 - - - - +57 - - - - +58 - - - - +59 - - - - +60 - - - - +61 - - - - +62 - - - - +63 - - - - +64 - - - - +65 - - - - +66 - - - - +67 - - - - +68 - - - - +69 - - - - +70 - - - - +71 - - - - +72 - - - - +73 - - - - +74 - - - - +75 - - - - +76 - - - - +77 - - - - +78 - - - - +79 - - - - +80 - - - - +81 - - - - +82 - - - - +83 - - - - +84 - - - - +85 - - - - +86 - - - - +87 - - - - +88 - - - - +89 - - - - +90 - - - - +91 - - - - +92 - - - - +93 - - - - +94 - - - - +95 - - - - +96 - - - - +97 - - - - +98 - - - - +99 - - - - +100 - - - - +101 - - - - +102 - - - - +103 - - - - +104 - - - - +105 - - - - +106 - - - - +107 - - - - +108 - - - - +109 - - - - +110 - - - - +111 - - - - +112 - - - - +113 - - - - +114 - - - - +115 - - - - +116 - - - - +117 - - - - +118 - - - - +119 - - - - +120 - - - - +121 - - - - +122 - - - - +123 - - - - +124 - - - - +125 - - - - +126 - - - - +127 - - - - + OsmoSTP(config-cs7-rt)# ! NOW TEST LOOKUP FAILS AS EXPECTED (all route links are down): OsmoSTP(config-cs7-rt)# do show cs7 instance 0 route-lookup 3.2.1 from 0.0.1 sls 0 No route found for label 'OPC=1=0.0.1,DPC=6161=3.2.1,SLS=0'
View file
libosmo-sigtran_2.1.0.46.31ac.tar.xz/tests/vty/osmo_stp_test.vty -> libosmo-sigtran_2.1.0.47.1a10.tar.xz/tests/vty/osmo_stp_test.vty
Changed
@@ -14,6 +14,7 @@ show cs7 instance <0-15> as name AS_NAME show cs7 instance <0-15> as binding-table name AS_NAME show cs7 instance <0-15> route POINT_CODE + show cs7 instance <0-15> route binding-table POINT_CODE all-matches show cs7 instance <0-15> route-lookup POINT_CODE from POINT_CODE sls <0-15> list-asps show cs7 instance <0-15> sccp addressbook show cs7 instance <0-15> sccp users @@ -40,6 +41,7 @@ show cs7 instance <0-15> as name AS_NAME show cs7 instance <0-15> as binding-table name AS_NAME show cs7 instance <0-15> route POINT_CODE + show cs7 instance <0-15> route binding-table POINT_CODE all-matches show cs7 instance <0-15> route-lookup POINT_CODE from POINT_CODE sls <0-15> list-asps show cs7 instance <0-15> sccp addressbook show cs7 instance <0-15> sccp users
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.