diff --git a/src/app/components/preferences/dynamips/ios-template-details/ios-template-details.component.ts b/src/app/components/preferences/dynamips/ios-template-details/ios-template-details.component.ts index 0c89d5b6..4e32cdf7 100644 --- a/src/app/components/preferences/dynamips/ios-template-details/ios-template-details.component.ts +++ b/src/app/components/preferences/dynamips/ios-template-details/ios-template-details.component.ts @@ -22,6 +22,7 @@ export class IosTemplateDetailsComponent implements OnInit { networkAdaptersForTemplate: string[] = []; platforms: string[] = []; consoleTypes: string[] = []; + categories = []; platformsWithEtherSwitchRouterOption = {}; platformsWithChassis = {}; chassis = {}; @@ -93,6 +94,7 @@ export class IosTemplateDetailsComponent implements OnInit { this.chassis = this.iosConfigurationService.getChassis(); this.defaultRam = this.iosConfigurationService.getDefaultRamSettings(); this.consoleTypes = this.iosConfigurationService.getConsoleTypes(); + this.categories = this.iosConfigurationService.getCategories(); } fillAdaptersData() { diff --git a/src/app/services/ios-configuration.service.ts b/src/app/services/ios-configuration.service.ts index 8b048980..145cf924 100644 --- a/src/app/services/ios-configuration.service.ts +++ b/src/app/services/ios-configuration.service.ts @@ -16,6 +16,18 @@ export class IosConfigurationService { return ['telnet', 'none']; } + getCategories() { + let categories = [ + ['Default', 'guest'], + ['Routers', 'router'], + ['Switches', 'switch'], + ['End devices', 'guest'], + ['Security devices', 'firewall'], + ]; + + return categories; + } + getDefaultRamSettings() { return { c1700: 160,