Lines Matching refs:reply

401                 $reply = $rest_api->get_result() ;
402 if ($reply['data']) {
403 $renderer->doc .= $this->showSub((array)$reply['data'], $opts['fmt']) ;
405 $renderer->doc .= $this->showErr($reply, $opts) ;
410 $reply = $rest_api->get_result() ;
411 if ($reply['data']) {
412 foreach ($reply['data'] as $subnet) {
416 $renderer->doc .= $this->showErr($reply, $opts) ;
421 $reply = $rest_api->get_result() ;
422 if ($reply['data']) {
423 foreach ($reply['data'] as $subnet) {
427 $renderer->doc .= $this->showErr($reply, $opts) ;
432 $reply = $rest_api->get_result() ;
433 if ($reply['data']) {
434 foreach ($reply['data'] as $subnet) {
438 $renderer->doc .= $this->showErr($reply, $opts) ;
443 $reply = $rest_api->get_result() ;
444 if ($reply['data']) {
445 foreach ($reply['data'] as $subnet) {
449 $renderer->doc .= $this->showErr($reply, $opts) ;
454 $reply = $rest_api->get_result() ;
455 if ($reply['data']) {
456 foreach ($reply['data'] as $subnet) {
460 $renderer->doc .= $this->showErr($reply, $opts) ;
465 $reply = $rest_api->get_result() ;
466 if ($reply['data']) {
467 foreach ($reply['data'] as $subnet) {
471 $renderer->doc .= $this->showErr($reply, $opts) ;
476 $reply = $rest_api->get_result() ;
477 if ($reply['data']) {
478 foreach ($reply['data'] as $subnet) {
482 $renderer->doc .= $this->showErr($reply, $opts) ;
488 $reply = $rest_api->get_result() ;
489 if ($reply['data']) {
490 $renderer->doc .= $this->showNet((array)$reply['data'], $opts['fmt']) ;
492 $renderer->doc .= $this->showErr($reply, $opts) ;
497 $reply = $rest_api->get_result() ;
498 if ($reply['data']) {
499 foreach ((array)$reply['data'] as $vlan) {
503 $renderer->doc .= $this->showErr($reply, $opts) ;
509 $reply = $rest_api->get_result() ;
510 if ($reply['data']) {
511 foreach ($reply['data'] as $vlan) {
515 $renderer->doc .= $this->showErr($reply, $opts) ;
520 $reply = $rest_api->get_result() ;
521 if ($reply['data']) {
522 foreach ($reply['data'] as $vlan) {
526 $renderer->doc .= $this->showErr($reply, $opts) ;
532 $reply = $rest_api->get_result() ;
533 if ($reply['data']) {
534 $renderer->doc .= $this->showDom((array)$reply['data'], $opts['fmt']) ;
536 $renderer->doc .= $this->showErr($reply, $opts) ;
541 $reply = $rest_api->get_result() ;
542 if ($reply['data']) {
543 foreach ($reply['data'] as $l2dom) {
547 $renderer->doc .= $this->showErr($reply, $opts) ;
554 $reply = $rest_api->get_result() ;
555 if ($reply['data']) {
556 $renderer->doc .= $this->showFwd((array)$reply['data'], $opts['fmt'], 1) ;
558 $renderer->doc .= $this->showErr($reply, $opts) ;
563 $reply = $rest_api->get_result() ;
564 if ($reply['data']) {
565 foreach ($reply['data'] as $vrf) {
569 $renderer->doc .= $this->showErr($reply, $opts) ;
576 $reply = $rest_api->get_result() ;
577 if ($reply['data']) {
578 $renderer->doc .= $this->showFwd((array)$reply['data'], $opts['fmt'], 0) ;
580 $renderer->doc .= $this->showErr($reply, $opts) ;
585 $reply = $rest_api->get_result() ;
586 if ($reply['data']) {
587 foreach ($reply['data'] as $vrf) {
591 $renderer->doc .= $this->showErr($reply, $opts) ;
598 $reply = $rest_api->get_result() ;
599 if ($reply['data']) {
600 $renderer->doc .= $this->showCab((array)$reply['data'], $opts['fmt']) ;
602 $renderer->doc .= $this->showErr($reply, $opts) ;
607 $reply = $rest_api->get_result() ;
608 if ($reply['data']) {
609 foreach ($reply['data'] as $rack) {
613 $renderer->doc .= $this->showErr($reply, $opts) ;
620 $reply = $rest_api->get_result() ;
621 if ($reply['data']) {
622 $device = (array)$reply['data'] ;
625 $renderer->doc .= $this->showErr($reply, $opts) ;
630 $reply = $rest_api->get_result() ;
631 if ($reply['data']) {
632 $device = (array)$reply['data'] ;
635 $renderer->doc .= $this->showErr($reply, $opts) ;
641 $reply = $rest_api->get_result() ;
642 if ($reply['data']) {
643 foreach ($reply['data'] as $rack) {
647 $renderer->doc .= $this->showErr($reply, $opts) ;
653 $reply = $rest_api->get_result() ;
654 if ($reply['data']) {
655 $renderer->doc .= $this->showLoc((array)$reply['data'], $opts['fmt'], 0) ;
657 $renderer->doc .= $this->showErr($reply, $opts) ;
662 $reply = $rest_api->get_result() ;
663 if ($reply['data']) {
664 foreach ($reply['data'] as $location) {
668 $renderer->doc .= $this->showErr($reply, $opts) ;
675 $reply = $rest_api->get_result() ;
676 if ($reply['data']) {
677 $renderer->doc .= $this->showLoc((array)$reply['data'], $opts['fmt'], 1) ;
679 $renderer->doc .= $this->showErr($reply, $opts) ;
684 $reply = $rest_api->get_result() ;
685 if ($reply['data']) {
686 foreach ($reply['data'] as $location) {
690 $renderer->doc .= $this->showErr($reply, $opts) ;
697 $reply = $rest_api->get_result() ;
698 if ($reply['data']) {
699 $renderer->doc .= $this->showDev((array)$reply['data'], $opts['fmt']) ;
701 $renderer->doc .= $this->showErr($reply, $opts) ;
706 $reply = $rest_api->get_result() ;
707 if ($reply['data']) {
708 foreach ($reply['data'] as $device) {
712 $renderer->doc .= $this->showErr($reply, $opts) ;
718 $reply = $rest_api->get_result() ;
719 if (!empty($reply['data'])) {
720 foreach ($reply['data'] as $device) {
724 $renderer->doc .= $this->showErr($reply, $opts) ;
729 $reply = $rest_api->get_result() ;
730 if ($reply['data']) {
731 foreach ($reply['data'] as $device) {
735 $renderer->doc .= $this->showErr($reply, $opts) ;
741 $reply = $rest_api->get_result() ;
742 if ($reply['data']) {
743 $renderer->doc .= $this->showTag((array)$reply['data'], $opts['fmt']) ;
745 $renderer->doc .= $this->showErr($reply, $opts) ;
750 $reply = $rest_api->get_result() ;
751 if ($reply['data']) {
752 foreach ($reply['data'] as $tag) {
756 $renderer->doc .= $this->showErr($reply, $opts) ;
762 $reply = $rest_api->get_result() ;
763 if (!$reply['data']) {
766 $reply = $rest_api->get_result() ;
768 if ($reply['data']) {
769 foreach ($reply['data'] as $device) {
943 $reply = $rest_api->get_result() ;
944 if (isset($reply['data'])) {
945 foreach ((array)$reply['data'] as $_val) {
1302 $reply = $rest_api->get_result() ;
1303 if ($reply['data']) {
1304 $reply = (array)$reply['data'] ;
1305 $_more['vlanId'][1] = "<span title='" . $reply['name'] . "'>" ;
1306 $_more['vlanId'][1] .= $reply['number'] . '</span>' ;
1317 $reply = $rest_api->get_result() ;
1318 if ($reply['data']) {
1319 $reply = (array)$reply['data'] ;
1320 $_more['vrfId'][1] = "<span title='rd: " . $reply['rd'] . "'>" ;
1321 $_more['vrfId'][1] .= $reply['name'] . '</span>' ;
1337 $reply = $rest_api->get_result() ;
1338 if ($reply['data']) {
1339 $reply = (array)$reply['data'] ;
1340 $_more['nameserverId'][1] = "<span title='" . $reply['name'] . "'>" ;
1342 $reply['namesrvl']) . '</span>' ;
1347 unset($_path, $reply) ;
1367 $reply = $rest_api->get_result() ;
1368 if (isset($reply['data'])) {
1369 $web_out .= $this->listAddrs((array)$reply['data']) ;
1371 $web_out .= '<p class="level4">' . $reply['message'] . '</p>' ;
1420 $reply = $rest_api->get_result() ;
1421 if (!$reply['data']) {
1424 $reply = $rest_api->get_result() ;
1426 if ($reply['data']) {
1427 $_info = (array)$reply['data'] ;
1471 $reply = $rest_api->get_result() ;
1472 if (isset($reply['data'])) {
1473 $web_out .= $this->listAddrs((array)$reply['data']) ;
1475 $web_out .= '<p class="level4">' . $reply['message'] . '</p>' ;
1916 $reply = $rest_api->get_result() ;
1917 if (isset($reply['data'])) {
1922 foreach ((array)$reply['data'] as $subnet) {
1941 $web_out .= '<p class="level4">' . $reply['message'] . '</p>' ;
2002 $reply = $rest_api->get_result() ;
2003 if (isset($reply['data'])) {
2008 foreach ((array)$reply['data'] as $vlan) {
2025 $web_out .= '<p class="level4">' . $reply['message'] . '</p>' ;
2096 $reply = $rest_api->get_result() ;
2097 if (isset($reply['data'])) {
2098 $web_out .= $this->listAddrs((array)$reply['data']) ;
2100 $web_out .= '<p class="level4">' . $reply['message'] . '</p>' ;
2106 $reply = $rest_api->get_result() ;
2107 if (isset($reply['data'])) {
2112 foreach ((array)$reply['data'] as $subnet) {
2131 $web_out .= '<p class="level4">' . $reply['message'] . '</p>' ;
2204 $reply = $rest_api->get_result() ;
2206 foreach ((array)$reply['data'] as $device) {
2260 unset ($reply) ;