|
359 | 359 | "oneOf": [ |
360 | 360 | {"$ref": "#/definitions/encryption_none"}, |
361 | 361 | {"$ref": "#/definitions/encryption_wpa3_personal"}, |
| 362 | + {"$ref": "#/definitions/encryption_wpa3_enterprise_ap"}, |
362 | 363 | {"$ref": "#/definitions/encryption_wpa_personal"}, |
363 | 364 | {"$ref": "#/definitions/encryption_wpa_enterprise_ap"}, |
364 | 365 | {"$ref": "#/definitions/encryption_wps"}, |
|
377 | 378 | "oneOf": [ |
378 | 379 | {"$ref": "#/definitions/encryption_none"}, |
379 | 380 | {"$ref": "#/definitions/encryption_wpa3_personal"}, |
| 381 | + {"$ref": "#/definitions/encryption_wpa3_enterprise_sta"}, |
380 | 382 | {"$ref": "#/definitions/encryption_wpa_personal"}, |
381 | 383 | {"$ref": "#/definitions/encryption_wpa_enterprise_sta"}, |
382 | 384 | {"$ref": "#/definitions/encryption_wep"}, |
|
512 | 514 | }, |
513 | 515 | ], |
514 | 516 | }, |
| 517 | + "encryption_wpa_enterprise_ap_base_settings": { |
| 518 | + "required": ["server"], |
| 519 | + "properties": { |
| 520 | + "server": { |
| 521 | + "type": "string", |
| 522 | + "minLength": 3, |
| 523 | + "title": "radius server", |
| 524 | + "propertyOrder": 4, |
| 525 | + }, |
| 526 | + "key": {"title": "shared secret", "minLength": 4, "propertyOrder": 5}, |
| 527 | + "port": { |
| 528 | + "type": "integer", |
| 529 | + "title": "radius port", |
| 530 | + "default": 1812, |
| 531 | + "propertyOrder": 6, |
| 532 | + }, |
| 533 | + "acct_server": { |
| 534 | + "type": "string", |
| 535 | + "title": "accounting server", |
| 536 | + "propertyOrder": 7, |
| 537 | + }, |
| 538 | + "acct_server_port": { |
| 539 | + "type": "integer", |
| 540 | + "title": "accounting port", |
| 541 | + "default": 1813, |
| 542 | + "propertyOrder": 8, |
| 543 | + }, |
| 544 | + }, |
| 545 | + }, |
| 546 | + "encryption_wpa_enterprise_sta_base_settings": { |
| 547 | + "properties": { |
| 548 | + "eap_type": { |
| 549 | + "title": "EAP protocol", |
| 550 | + "type": "string", |
| 551 | + "enum": ["tls", "ttls"], |
| 552 | + "options": {"enum_titles": ["EAP-TLS", "EAP-TTLS"]}, |
| 553 | + "propertyOrder": 4, |
| 554 | + }, |
| 555 | + "identity": {"type": "string", "propertyOrder": 5}, |
| 556 | + "password": {"type": "string", "propertyOrder": 6}, |
| 557 | + "ca_cert": { |
| 558 | + "type": "string", |
| 559 | + "title": "CA certificate (path)", |
| 560 | + "propertyOrder": 7, |
| 561 | + }, |
| 562 | + "client_cert": { |
| 563 | + "type": "string", |
| 564 | + "title": "client certificate (path)", |
| 565 | + "propertyOrder": 8, |
| 566 | + }, |
| 567 | + "priv_key": { |
| 568 | + "type": "string", |
| 569 | + "title": "private key (path)", |
| 570 | + "propertyOrder": 9, |
| 571 | + }, |
| 572 | + "priv_key_pwd": { |
| 573 | + "type": "string", |
| 574 | + "title": "private key password", |
| 575 | + "propertyOrder": 10, |
| 576 | + }, |
| 577 | + }, |
| 578 | + }, |
| 579 | + "encryption_wpa3_enterprise_base_settings": { |
| 580 | + "properties": { |
| 581 | + "protocol": { |
| 582 | + "type": "string", |
| 583 | + "title": "encryption protocol", |
| 584 | + "enum": ["wpa3_enterprise"], |
| 585 | + "options": {"enum_titles": ["WPA3 Enterprise"]}, |
| 586 | + "propertyOrder": 1, |
| 587 | + } |
| 588 | + } |
| 589 | + }, |
| 590 | + "encryption_wpa3_enterprise_ap": { |
| 591 | + "title": "WPA3 only Enterprise (access point)", |
| 592 | + "allOf": [ |
| 593 | + {"$ref": "#/definitions/encryption_base_settings"}, |
| 594 | + {"$ref": "#/definitions/encryption_cipher_property"}, |
| 595 | + {"$ref": "#/definitions/encryption_mfp_property_required"}, |
| 596 | + {"$ref": "#/definitions/encryption_wpa3_enterprise_base_settings"}, |
| 597 | + {"$ref": "#/definitions/encryption_wpa_enterprise_ap_base_settings"}, |
| 598 | + ], |
| 599 | + }, |
| 600 | + "encryption_wpa3_enterprise_sta": { |
| 601 | + "title": "WPA3 only Enterprise (client)", |
| 602 | + "additionalProperties": True, |
| 603 | + "allOf": [ |
| 604 | + {"$ref": "#/definitions/encryption_cipher_property"}, |
| 605 | + {"$ref": "#/definitions/encryption_mfp_property_required"}, |
| 606 | + {"$ref": "#/definitions/encryption_wpa3_enterprise_base_settings"}, |
| 607 | + {"$ref": "#/definitions/encryption_wpa_enterprise_sta_base_settings"}, |
| 608 | + ], |
| 609 | + }, |
515 | 610 | "encryption_wpa_enterprise_base_settings": { |
516 | 611 | "properties": { |
517 | 612 | "protocol": { |
|
540 | 635 | {"$ref": "#/definitions/encryption_cipher_property"}, |
541 | 636 | {"$ref": "#/definitions/encryption_mfp_property"}, |
542 | 637 | {"$ref": "#/definitions/encryption_wpa_enterprise_base_settings"}, |
543 | | - { |
544 | | - "required": ["server"], |
545 | | - "properties": { |
546 | | - "server": { |
547 | | - "type": "string", |
548 | | - "minLength": 3, |
549 | | - "title": "radius server", |
550 | | - "propertyOrder": 4, |
551 | | - }, |
552 | | - "key": { |
553 | | - "title": "shared secret", |
554 | | - "minLength": 4, |
555 | | - "propertyOrder": 5, |
556 | | - }, |
557 | | - "port": { |
558 | | - "type": "integer", |
559 | | - "title": "radius port", |
560 | | - "default": 1812, |
561 | | - "propertyOrder": 6, |
562 | | - }, |
563 | | - "acct_server": { |
564 | | - "type": "string", |
565 | | - "title": "accounting server", |
566 | | - "propertyOrder": 7, |
567 | | - }, |
568 | | - "acct_server_port": { |
569 | | - "type": "integer", |
570 | | - "title": "accounting port", |
571 | | - "default": 1813, |
572 | | - "propertyOrder": 8, |
573 | | - }, |
574 | | - }, |
575 | | - }, |
| 638 | + {"$ref": "#/definitions/encryption_wpa_enterprise_ap_base_settings"}, |
576 | 639 | ], |
577 | 640 | }, |
578 | 641 | "encryption_wpa_enterprise_sta": { |
|
582 | 645 | {"$ref": "#/definitions/encryption_cipher_property"}, |
583 | 646 | {"$ref": "#/definitions/encryption_mfp_property"}, |
584 | 647 | {"$ref": "#/definitions/encryption_wpa_enterprise_base_settings"}, |
585 | | - { |
586 | | - "properties": { |
587 | | - "eap_type": { |
588 | | - "title": "EAP protocol", |
589 | | - "type": "string", |
590 | | - "enum": ["tls", "ttls"], |
591 | | - "options": {"enum_titles": ["EAP-TLS", "EAP-TTLS"]}, |
592 | | - "propertyOrder": 4, |
593 | | - }, |
594 | | - "identity": {"type": "string", "propertyOrder": 5}, |
595 | | - "password": {"type": "string", "propertyOrder": 6}, |
596 | | - "ca_cert": { |
597 | | - "type": "string", |
598 | | - "title": "CA certificate (path)", |
599 | | - "propertyOrder": 7, |
600 | | - }, |
601 | | - "client_cert": { |
602 | | - "type": "string", |
603 | | - "title": "client certificate (path)", |
604 | | - "propertyOrder": 8, |
605 | | - }, |
606 | | - "priv_key": { |
607 | | - "type": "string", |
608 | | - "title": "private key (path)", |
609 | | - "propertyOrder": 9, |
610 | | - }, |
611 | | - "priv_key_pwd": { |
612 | | - "type": "string", |
613 | | - "title": "private key password", |
614 | | - "propertyOrder": 10, |
615 | | - }, |
616 | | - } |
617 | | - }, |
| 648 | + {"$ref": "#/definitions/encryption_wpa_enterprise_sta_base_settings"}, |
618 | 649 | ], |
619 | 650 | }, |
620 | 651 | "encryption_wep": { |
|
0 commit comments