@@ -570,16 +570,16 @@ function Get-AbrFgtRoute {
570570 Paragraph " The following section provides a summary of OSPF settings."
571571 BlankLine
572572 $OutObj = [pscustomobject ]@ {
573- " OSPF Area" = @ ($OSPF.area ).count
574- " OSPF Interface" = @ ($OSPF .' ospf-interface' ).count
575- " OSPF Network" = @ ($OSPF.network ).count
576- " OSPF Summary Address" = @ ($OSPF .' summary-address' ).count
573+ " OSPF Area" = @ ($OSPF.area ).count
574+ " OSPF Interface" = @ ($OSPF .' ospf-interface' ).count
575+ " OSPF Network" = @ ($OSPF.network ).count
576+ " OSPF Summary Address" = @ ($OSPF .' summary-address' ).count
577577 " OSPF Neighbors Status" = @ ($OSPFNeighbors ).count
578578 }
579579
580580 $TableParams = @ {
581- Name = " Summary"
582- List = $true
581+ Name = " Summary"
582+ List = $true
583583 ColumnWidths = 50 , 50
584584 }
585585
@@ -604,20 +604,20 @@ function Get-AbrFgtRoute {
604604 if ($OSPFSchema.PSObject.Properties.Name -contains $name ) {
605605 # found the default value
606606 $default = $OSPFSchema .$name.default
607- if ($null -eq $default ) {
608- $default = " "
609- }
607+ if ($null -eq $default ) {
608+ $default = " "
609+ }
610610 }
611611 $OutObj += [pscustomobject ]@ {
612- " Name" = $name
613- " Value" = $value
612+ " Name" = $name
613+ " Value" = $value
614614 " Default" = $default
615615 }
616616 }
617617
618618 $TableParams = @ {
619- Name = " OSPF Configuration"
620- List = $false
619+ Name = " OSPF Configuration"
620+ List = $false
621621 ColumnWidths = 34 , 33 , 33
622622 }
623623
@@ -640,15 +640,15 @@ function Get-AbrFgtRoute {
640640 foreach ($a in $area ) {
641641
642642 $OutObj += [pscustomobject ]@ {
643- " ID" = $a.id
644- " Type" = $a.type
643+ " ID" = $a.id
644+ " Type" = $a.type
645645 " Authentication" = $a.authentication
646646 }
647647 }
648648
649649 $TableParams = @ {
650- Name = " OSPF Area"
651- List = $false
650+ Name = " OSPF Area"
651+ List = $false
652652 ColumnWidths = 34 , 33 , 33
653653 }
654654
@@ -689,15 +689,15 @@ function Get-AbrFgtRoute {
689689 }
690690 }
691691 $OutObj += [pscustomobject ]@ {
692- " Name" = $name
693- " Value" = $value
692+ " Name" = $name
693+ " Value" = $value
694694 " Default" = $default
695695 }
696696 }
697697
698698 $TableParams = @ {
699- Name = " OSPF Area Configuration $ ( $a.id ) "
700- List = $false
699+ Name = " OSPF Area Configuration $ ( $a.id ) "
700+ List = $false
701701 ColumnWidths = 34 , 33 , 33
702702 }
703703
@@ -724,17 +724,17 @@ function Get-AbrFgtRoute {
724724 foreach ($i in $interface ) {
725725
726726 $OutObj += [pscustomobject ]@ {
727- " Name" = $i.name
728- " Interface" = $i.interface
729- " Cost" = $i.cost
727+ " Name" = $i.name
728+ " Interface" = $i.interface
729+ " Cost" = $i.cost
730730 " Authentification" = $i.authentication
731- " Status" = $i.status
731+ " Status" = $i.status
732732 }
733733 }
734734
735735 $TableParams = @ {
736- Name = " OSPF Interface"
737- List = $false
736+ Name = " OSPF Interface"
737+ List = $false
738738 ColumnWidths = 20 , 20 , 20 , 20 , 20
739739 }
740740
@@ -775,15 +775,15 @@ function Get-AbrFgtRoute {
775775 }
776776 }
777777 $OutObj += [pscustomobject ]@ {
778- " Name" = $name
779- " Value" = $value
778+ " Name" = $name
779+ " Value" = $value
780780 " Default" = $default
781781 }
782782 }
783783
784784 $TableParams = @ {
785- Name = " OSPF Interface Configuration $ ( $i.Name ) "
786- List = $false
785+ Name = " OSPF Interface Configuration $ ( $i.Name ) "
786+ List = $false
787787 ColumnWidths = 34 , 33 , 33
788788 }
789789
@@ -810,16 +810,16 @@ function Get-AbrFgtRoute {
810810 foreach ($n in $network ) {
811811
812812 $OutObj += [pscustomobject ]@ {
813- " ID" = $n.id
814- " Area" = $n.area
815- " Prefix" = $n.prefix
813+ " ID" = $n.id
814+ " Area" = $n.area
815+ " Prefix" = $n.prefix
816816 " Comments" = $n.coments
817817 }
818818 }
819819
820820 $TableParams = @ {
821- Name = " OSPF Network"
822- List = $false
821+ Name = " OSPF Network"
822+ List = $false
823823 ColumnWidths = 10 , 25 , 25 , 40
824824 }
825825
@@ -844,16 +844,16 @@ function Get-AbrFgtRoute {
844844 foreach ($sa in $summary_address ) {
845845
846846 $OutObj += [pscustomobject ]@ {
847- " ID" = $sa.id
848- " Prefix" = $sa.prefix
849- " Tag" = $sa.tag
847+ " ID" = $sa.id
848+ " Prefix" = $sa.prefix
849+ " Tag" = $sa.tag
850850 " Advertise" = $sa.advertise
851851 }
852852 }
853853
854854 $TableParams = @ {
855- Name = " OSPF Summary Address"
856- List = $false
855+ Name = " OSPF Summary Address"
856+ List = $false
857857 ColumnWidths = 10 , 30 , 30 , 30
858858 }
859859
@@ -877,18 +877,18 @@ function Get-AbrFgtRoute {
877877 foreach ($r in $redistribute ) {
878878
879879 $OutObj += [pscustomobject ]@ {
880- " Name" = $r.name
881- " Status" = $r.status
882- " Metric" = $r.metric
880+ " Name" = $r.name
881+ " Status" = $r.status
882+ " Metric" = $r.metric
883883 " Metric Type" = $r .' metric-type'
884- " Route-map" = $r .' route-map'
885- " Tag" = $r.tag
884+ " Route-map" = $r .' route-map'
885+ " Tag" = $r.tag
886886 }
887887 }
888888
889889 $TableParams = @ {
890- Name = " OSPF Redistribute"
891- List = $false
890+ Name = " OSPF Redistribute"
891+ List = $false
892892 ColumnWidths = 15 , 15 , 15 , 15 , 25 , 15
893893 }
894894
@@ -911,15 +911,15 @@ function Get-AbrFgtRoute {
911911
912912 $OutObj += [pscustomobject ]@ {
913913 " Neighbor IP" = $n.neighbor_ip
914- " Router ID" = $n.router_id
915- " State" = $n.state
916- " Priority" = $n.priority
914+ " Router ID" = $n.router_id
915+ " State" = $n.state
916+ " Priority" = $n.priority
917917 }
918918 }
919919
920920 $TableParams = @ {
921- Name = " OSPF Neighbor Status"
922- List = $false
921+ Name = " OSPF Neighbor Status"
922+ List = $false
923923 ColumnWidths = 25 , 25 , 25 , 25
924924 }
925925
0 commit comments