acex-devkit 1.3.3__tar.gz → 1.3.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. {acex_devkit-1.3.3 → acex_devkit-1.3.4}/PKG-INFO +1 -1
  2. {acex_devkit-1.3.3 → acex_devkit-1.3.4}/pyproject.toml +1 -1
  3. {acex_devkit-1.3.3 → acex_devkit-1.3.4}/src/acex_devkit/models/composed_configuration.py +20 -0
  4. {acex_devkit-1.3.3 → acex_devkit-1.3.4}/README.md +0 -0
  5. {acex_devkit-1.3.3 → acex_devkit-1.3.4}/src/acex_devkit/__init__.py +0 -0
  6. {acex_devkit-1.3.3 → acex_devkit-1.3.4}/src/acex_devkit/configdiffer/__init__.py +0 -0
  7. {acex_devkit-1.3.3 → acex_devkit-1.3.4}/src/acex_devkit/configdiffer/command.py +0 -0
  8. {acex_devkit-1.3.3 → acex_devkit-1.3.4}/src/acex_devkit/configdiffer/configdiffer.py +0 -0
  9. {acex_devkit-1.3.3 → acex_devkit-1.3.4}/src/acex_devkit/configdiffer/diff.py +0 -0
  10. {acex_devkit-1.3.3 → acex_devkit-1.3.4}/src/acex_devkit/configdiffer/old_configdiffer.py +0 -0
  11. {acex_devkit-1.3.3 → acex_devkit-1.3.4}/src/acex_devkit/configdiffer/old_diff.py +0 -0
  12. {acex_devkit-1.3.3 → acex_devkit-1.3.4}/src/acex_devkit/drivers/__init__.py +0 -0
  13. {acex_devkit-1.3.3 → acex_devkit-1.3.4}/src/acex_devkit/drivers/base.py +0 -0
  14. {acex_devkit-1.3.3 → acex_devkit-1.3.4}/src/acex_devkit/drivers/base_driver.py +0 -0
  15. {acex_devkit-1.3.3 → acex_devkit-1.3.4}/src/acex_devkit/exceptions/__init__.py +0 -0
  16. {acex_devkit-1.3.3 → acex_devkit-1.3.4}/src/acex_devkit/models/__init__.py +0 -0
  17. {acex_devkit-1.3.3 → acex_devkit-1.3.4}/src/acex_devkit/models/acl_model.py +0 -0
  18. {acex_devkit-1.3.3 → acex_devkit-1.3.4}/src/acex_devkit/models/attribute_value.py +0 -0
  19. {acex_devkit-1.3.3 → acex_devkit-1.3.4}/src/acex_devkit/models/container_entry.py +0 -0
  20. {acex_devkit-1.3.3 → acex_devkit-1.3.4}/src/acex_devkit/models/external_value.py +0 -0
  21. {acex_devkit-1.3.3 → acex_devkit-1.3.4}/src/acex_devkit/models/logging.py +0 -0
  22. {acex_devkit-1.3.3 → acex_devkit-1.3.4}/src/acex_devkit/models/ned.py +0 -0
  23. {acex_devkit-1.3.3 → acex_devkit-1.3.4}/src/acex_devkit/models/node_response.py +0 -0
  24. {acex_devkit-1.3.3 → acex_devkit-1.3.4}/src/acex_devkit/models/spanning_tree.py +0 -0
  25. {acex_devkit-1.3.3 → acex_devkit-1.3.4}/src/acex_devkit/types/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: acex-devkit
3
- Version: 1.3.3
3
+ Version: 1.3.4
4
4
  Summary: ACE-X DevKit - Development kit for building ACE-X drivers and plugins
5
5
  License: AGPL-3.0
6
6
  Keywords: automation,devkit,sdk,drivers,plugins
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "acex-devkit"
3
- version = "1.3.3"
3
+ version = "1.3.4"
4
4
  description = "ACE-X DevKit - Development kit for building ACE-X drivers and plugins"
5
5
  authors = ["Johan Lahti <johan.lahti@acebit.se>"]
6
6
  readme = "README.md"
@@ -667,6 +667,25 @@ class VTPAttributes(BaseModel):
667
667
  class VTP(BaseModel):
668
668
  config: VTPAttributes = VTPAttributes()
669
669
 
670
+ class DHCPSnoopingAttributes(BaseModel):
671
+ enabled: Optional[AttributeValue[bool]] = None
672
+ vlans: Optional[Dict[str, Reference]] = {} # VLANs where DHCP snooping is enabled, key is VLAN ID, value is reference to VLAN
673
+ trust_interfaces: Optional[Dict[str, Reference]] = {} # Interfaces that are trusted for DHCP snooping, key is interface name, value is reference to interface
674
+ option82: Optional[AttributeValue[bool]] = None # Whether DHCP snooping option 82 is enabled
675
+
676
+ class DhcpRelayServerAttributes(ContainerEntry, BaseModel):
677
+ identity_fields: ClassVar[tuple[str, ...]] = ("address",)
678
+ address: Optional[AttributeValue[str]] = None
679
+ network_instance: Optional[AttributeValue[str]] = None
680
+ interfaces: Optional[Dict[str, Reference]] = {}
681
+
682
+ class DhcpRelay(BaseModel):
683
+ relay_servers: Optional[Dict[str, DhcpRelayServerAttributes]] = {}
684
+
685
+ class Dhcp(BaseModel):
686
+ snooping: Optional[DHCPSnoopingAttributes] = DHCPSnoopingAttributes()
687
+ relay: Optional[DhcpRelay] = DhcpRelay()
688
+
670
689
  class System(BaseModel):
671
690
  config: SystemConfig = SystemConfig()
672
691
  aaa: Optional[TripleA] = TripleA()
@@ -675,6 +694,7 @@ class System(BaseModel):
675
694
  ssh: Optional[Ssh] = Ssh()
676
695
  snmp: Optional[Snmp] = Snmp()
677
696
  vtp: Optional[VTP] = VTP()
697
+ dhcp: Optional[Dhcp] = Dhcp()
678
698
 
679
699
  # For different types of interfaces that are fine for response model:
680
700
  InterfaceType = Union[
File without changes