-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdiscovery.go
64 lines (52 loc) · 2.25 KB
/
discovery.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
package resources
type NodeManagementDetailedDiscovery struct {
SpecificationVersionList []*NodeManagementSpecificationVersionListType `xml:"specificationVersionList"`
DeviceInformation *NodeManagementDetailedDiscoveryDeviceInformationType `xml:"deviceInformation"`
EntityInformation []*NodeManagementDetailedDiscoveryEntityInformationType `xml:"entityInformation"`
FeatureInformation []*NodeManagementDetailedDiscoveryFeatureInformationType `xml:"featureInformation"`
}
type NodeManagementSpecificationVersionListType struct {
SpecificationVersion string `xml:"specificationVersion"`
}
type NodeManagementDetailedDiscoveryDeviceInformationType struct {
Description *NetworkManagementDeviceDescriptionDataType `xml:"description"`
}
type NodeManagementDetailedDiscoveryEntityInformationType struct {
Description *NetworkManagementEntityDescritpionDataType `xml:"description"`
}
type NodeManagementDetailedDiscoveryFeatureInformationType struct {
Description *NetworkManagementFeatureInformationType `xml:"description"`
}
type NetworkManagementDeviceDescriptionDataType struct {
DeviceAddress *DeviceAddressType `xml:"deviceAddress"`
DeviceType string `xml:"deviceType"`
Description string `xml:"description"`
}
type NetworkManagementEntityDescritpionDataType struct {
EntityAddress *EntityAddressType `xml:"entityAddress"`
EntityType string `xml:"entityType"`
Description string `xml:"description"`
}
type NetworkManagementFeatureInformationType struct {
FeatureAddress *FeatureAddressType `xml:"featureAddress"`
FeatureType string `xml:"featureType"`
Role string `xml:"role"`
SupportedFunction *FunctionPropertyType `xml:"supportedFunction"`
Description string `xml:"description"`
}
type FeatureAddressType struct {
Device string `xml:"device"`
Entity int `xml:"entity"`
Feature int `xml:"feature"`
}
type EntityAddressType struct {
Device string `xml:"device"`
Entity int `xml:"entity"`
}
type DeviceAddressType struct {
Device string `xml:"device"`
}
type FunctionPropertyType struct {
Function string `xml:"function"`
PossibleOperations string `xml:"possibleOperations"`
}