@@ -93,8 +93,8 @@ export class ApiManageComponent implements OnInit {
9393 const floorplans_re = / h t t p s : \/ \/ ( m a n a g e | i n t e g r a t i o n | m a n a g e - s t a g i n g ) \. (?< host > [ a - z 0 - 9 . ] * ( m i s t | m i s t s y s | m i s t - f e d e r a l ) \. c o m ) \/ a d m i n \/ \? o r g _ i d = (?< org_id > [ 0 - 9 a - f - ] { 36 } ) # ! c l i L o c a t i o n \/ (?< detail > v i e w | c o n f i g | v a l i d a t i o n P a t h | w a y f i n d i n g ) ? \/ ? (?< uuid > [ 0 - 9 a - f - ] { 36 } ) \/ ? ( f l o o r p l a n | b e a c o n s A n d Z o n e s ) ? \/ ? (?< site_id > [ 0 - 9 a - f - ] { 36 } ) ? / iys;
9494 const site_evpn_re = / h t t p s : \/ \/ ( m a n a g e | i n t e g r a t i o n | m a n a g e - s t a g i n g ) \. (?< host > [ a - z 0 - 9 . ] * ( m i s t | m i s t s y s | m i s t - f e d e r a l ) \. c o m ) \/ a d m i n \/ \? o r g _ i d = (?< org_id > [ 0 - 9 a - f - ] { 36 } ) # ! e v p n \/ s i t e \/ ? ( [ 0 - 9 ] \/ ) ? (?< site_id > [ 0 - 9 a - z _ - ] * ) ? ( \/ (?< topology_id > [ 0 - 9 a - f - ] { 36 } ) ) ? / yis;
9595 const site_wlan_template_re = / h t t p s : \/ \/ ( m a n a g e | i n t e g r a t i o n | m a n a g e - s t a g i n g ) \. (?< host > [ a - z 0 - 9 . ] * ( m i s t | m i s t s y s | m i s t - f e d e r a l ) \. c o m ) \/ a d m i n \/ \? o r g _ i d = (?< org_id > [ 0 - 9 a - f - ] { 36 } ) # ! w l a n \/ o r g W l a n D e t a i l \/ (?< template_id > [ 0 - 9 a - z _ - ] * ) \/ (?< wlan_id > [ 0 - 9 a - f - ] { 36 } ) \/ (?< site_id > [ 0 - 9 a - f - ] { 36 } ) / is;
96- const site_common_re = / h t t p s : \/ \/ ( m a n a g e | i n t e g r a t i o n | m a n a g e - s t a g i n g ) \. (?< host > [ a - z 0 - 9 . ] * ( m i s t | m i s t s y s | m i s t - f e d e r a l ) \. c o m ) \/ a d m i n \/ \? o r g _ i d = (?< org_id > [ 0 - 9 a - f - ] { 36 } ) # ! (?< obj > [ a - z ] + ) \/ ? ( (?< detail > d e t a i l | s i t e | a d m i n | e d g e d e t a i l | c l u s t e r d e t a i l | n e w | v i e w ) \/ ) ? ( [ 0 - 9 ] \/ ) ? ( (?< obj_id > [ 0 - 9 a - z _ - ] * ) \/ ) ? (?< site_id > [ 0 - 9 a - f - ] { 36 } ) ? / yis;
97- const site_common_objs = [ "ap" , "gateway" , "switch" , "assets" , "wlan" , "tags" , "psk" , "tunnels" , "clients" , "guestclients" , "sdkclients" , "wiredclients" , "wxlan" , "security" , "switchconfig" , "pcap" , "siteedge" , "cellularedges" ]
96+ const site_common_re = / h t t p s : \/ \/ ( m a n a g e | i n t e g r a t i o n | m a n a g e - s t a g i n g ) \. (?< host > [ a - z 0 - 9 . ] * ( m i s t | m i s t s y s | m i s t - f e d e r a l ) \. c o m ) \/ a d m i n \/ \? o r g _ i d = (?< org_id > [ 0 - 9 a - f - ] { 36 } ) # ! (?< obj > [ a - z ] + ) \/ ? ( (?< detail > d e t a i l | s i t e | a d m i n | e d g e d e t a i l | c l u s t e r d e t a i l | n e w | v i e w | b a n d ) \/ ) ? (?< inter > [ 0 - 9 ] * \/ ) ? ( (?< obj_id > [ 0 - 9 a - z _ - ] * ) \/ ) ? (?< site_id > [ 0 - 9 a - f - ] { 36 } ) ? / yis;
97+ const site_common_objs = [ "ap" , "gateway" , "switch" , "assets" , "wlan" , "tags" , "psk" , "tunnels" , "clients" , "guestclients" , "sdkclients" , "wiredclients" , "wxlan" , "security" , "switchconfig" , "pcap" , "siteedge" , "cellularedges" , "rrm" ]
9898 const org_evpn_re = / h t t p s : \/ \/ ( m a n a g e | i n t e g r a t i o n | m a n a g e - s t a g i n g ) \. (?< host > [ a - z 0 - 9 . ] * ( m i s t | m i s t s y s | m i s t - f e d e r a l ) \. c o m ) \/ a d m i n \/ \? o r g _ i d = (?< org_id > [ 0 - 9 a - f - ] { 36 } ) # ! e v p n \/ o r g ( \/ (?< topology_id > [ 0 - 9 a - f - ] { 36 } ) ) ? / yis;
9999 const org_common_re = / h t t p s : \/ \/ ( m a n a g e | i n t e g r a t i o n | m a n a g e - s t a g i n g ) \. (?< host > [ a - z 0 - 9 . ] * ( m i s t | m i s t s y s | m i s t - f e d e r a l ) \. c o m ) \/ a d m i n \/ \? o r g _ i d = (?< org_id > [ 0 - 9 a - f - ] { 36 } ) # ! (?< obj > [ a - z A - Z ] + ) \/ ? ( (?< detail > d e t a i l | s i t e | a d m i n | e d g e d e t a i l | c l u s t e r d e t a i l | n e w | v i e w | t e m p l a t e | r f T e m p l a t e | p r o v i d e r | n a c p o r t a l s | p s k p o r t a l s ) \/ ) ? ( [ 0 - 9 ] \/ ) ? (?< obj_id > [ 0 - 9 a - z _ - ] * ) \? ? (?< query_params > [ 0 - 9 a - z _ = & - ] * ) ? / yis;
100100 const org_common_objs = [ "orgtags" , "misttunnels" , "templates" , "switchtemplate" , "gatewaytemplates" , "hubs" , "deviceprofiles" , "org" , "orgpsk" , "configuration" , "auditlogs" , "apinventory" , "adminconfig" , "subscription" , "edge" , "vpns" , "template" , "rftemplates" , "services" , "networks" , "applicationpolicy" , "authpolicylabels" , "naccertificates" , "nacpolicy" , "nacidentityproviders" , "onboardingworkflow" , "sdk" , "premiumanalytics" , "private5g" , "securityevents" , "nacclients" , "nacendpoints" , "sitetemplates" ] ;
@@ -872,7 +872,22 @@ export class ApiManageComponent implements OnInit {
872872 this . setName ( "other device" , res ?. groups ?. detail ) ;
873873 this . forgeSiteOtherDevices ( res ?. groups ?. host , res ?. groups ?. detail ) ;
874874 break ;
875-
875+ case "rrm" :
876+ console . log ( res ?. groups )
877+ var band = ( res . groups . inter || "5" ) . replace ( "/" , "" ) ;
878+ var band_text = band ;
879+ if ( band_text == "24" ) band_text = "2.4" ;
880+ this . quick_links . push (
881+ {
882+ url : "https://api." + res ?. groups ?. host + "/api/v1/sites/" + this . site_id + "/rrm/current" ,
883+ name : "Site RRM Info"
884+ } , {
885+ url : "https://api." + res ?. groups ?. host + "/api/v1/sites/" + this . site_id + "/rrm/neighbors/band/" + band ,
886+ name : "Site RRM Neighbors (" + band + "GHz)"
887+ } , {
888+ url : "https://api." + res ?. groups ?. host + "/api/v1/sites/" + this . site_id + "/rrm/events?band=" + band ,
889+ name : "Site RRM Events (" + band + "GHz)"
890+ } ) ;
876891 }
877892 }
878893 }
@@ -1067,9 +1082,9 @@ export class ApiManageComponent implements OnInit {
10671082 this . setName ( "Psk Portals" , res ?. groups ?. detail ) ;
10681083 this . quick_links . push ( { url : "https://api." + res ?. groups ?. host + "/api/v1/orgs/" + this . org_id + "/pskportals" , name : this . obj_name } ) ;
10691084 break ;
1070- case "nacportals" :
1071- this . setName ( "NAC Portals" , res ?. groups ?. detail ) ;
1072- this . quick_links . push ( { url : "https://api." + res ?. groups ?. host + "/api/v1/orgs/" + this . org_id + "/nacportals" , name : this . obj_name } ) ;
1085+ case "nacportals" :
1086+ this . setName ( "NAC Portals" , res ?. groups ?. detail ) ;
1087+ this . quick_links . push ( { url : "https://api." + res ?. groups ?. host + "/api/v1/orgs/" + this . org_id + "/nacportals" , name : this . obj_name } ) ;
10731088 break ;
10741089 }
10751090 break ;
0 commit comments