예제 #1
0
class SupernetAV(EAVBase):
    class Meta(EAVBase.Meta):
        app_label = 'cyder'
        db_table = 'supernet_av'

    entity = models.ForeignKey(Supernet)
    attribute = EAVAttributeField(Attribute)
예제 #2
0
파일: models.py 프로젝트: jwasinger/cyder
class NetworkAV(EAVBase):
    class Meta(EAVBase.Meta):
        app_label = 'cyder'
        db_table = 'network_av'

    entity = models.ForeignKey(Network)
    attribute = EAVAttributeField(Attribute)
예제 #3
0
class SOAAV(EAVBase):
    class Meta(EAVBase.Meta):
        app_label = 'cyder'
        db_table = 'soa_av'

    entity = models.ForeignKey(SOA)
    attribute = EAVAttributeField(Attribute,
                                  type_choices=(ATTRIBUTE_INVENTORY, ))
예제 #4
0
파일: models.py 프로젝트: jwasinger/cyder
class WorkgroupAV(EAVBase):
    class Meta(EAVBase.Meta):
        app_label = 'cyder'
        db_table = 'workgroup_av'


    entity = models.ForeignKey(Workgroup)
    attribute = EAVAttributeField(Attribute)
예제 #5
0
파일: models.py 프로젝트: jwasinger/cyder
class DynamicInterfaceAV(EAVBase):
    class Meta(EAVBase.Meta):
        app_label = 'cyder'
        db_table = "dynamic_interface_av"

    entity = models.ForeignKey(DynamicInterface)
    attribute = EAVAttributeField(Attribute,
                                  type_choices=(ATTRIBUTE_INVENTORY, ))
예제 #6
0
파일: models.py 프로젝트: ksfraser/cyder
class WorkgroupAV(EAVBase):
    class Meta(EAVBase.Meta):
        app_label = 'cyder'
        db_table = 'workgroup_av'

    entity = models.ForeignKey(Workgroup)
    attribute = EAVAttributeField(Attribute,
                                  type_choices=(ATTRIBUTE_OPTION,
                                                ATTRIBUTE_STATEMENT))