Skip to content

extending HW class #28

@dougsyer

Description

@dougsyer

This may be out of scope for this generator for now but if im adding a new hwcomponent i'll typically add it into init

DeviceHW._relations += (("DSPCards", ToManyCont(ToOne,"ZenPacks.NWN.CiscoUCSNMP.CiscoDSPCard", "hw")), )

then i'll typically"
for d in self.dmd.Devices.getSubDevices():
d.hw.buildRelations()

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions