Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement all attributes and methods for OrionInterface class #4

Open
decoupca opened this issue Mar 20, 2023 · 0 comments
Open

Implement all attributes and methods for OrionInterface class #4

decoupca opened this issue Mar 20, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@decoupca
Copy link
Owner

Now that OrionInterface inherits from NewEndpoint, we need to implement all available attributes and methods. Sample data dump:

{
    'AdminStatus': 1,
    'AdminStatusLED': 'Up.gif              ',
    'Alias': '',
    'AncestorDetailsUrls': [
        '/Orion/View.aspx?NetObject=I:5509',
        '/Orion/NetPerfMon/NodeDetails.aspx?NetObject=N:1750'
    ],
    'AncestorDisplayNames': ['Tunnel1001 - Tu1001', 'RALH00MA01'],
    'Bps': 194808.813,
    'CRCAlignErrorsThisHour': 0.0,
    'CRCAlignErrorsToday': 0.0,
    'Caption': 'Tunnel1001 - Tu1001',
    'Counter64': 'Y',
    'CustomBandwidth': False,
    'CustomPollerLastStatisticsPoll': '1899-12-30T04:00:00',
    'Description': '',
    'DetailsUrl': '/Orion/View.aspx?NetObject=I:5509',
    'DisplayName': 'Tunnel1001 - Tu1001',
    'DuplexMode': 0,
    'FullName': 'RALH00MA01 - Tunnel1001 - Tu1001',
    'HasObsoleteData': 0,
    'Icon': '131.gif             ',
    'IfName': 'Tu1001',
    'Image': None,
    'InBandwidth': 100000.0,
    'InDiscardsThisHour': 0.0,
    'InDiscardsToday': 0.0,
    'InErrorsThisHour': 0.0,
    'InErrorsToday': 0.0,
    'InMcastPps': 0.0,
    'InPercentUtil': 96.0,
    'InPktSize': 261,
    'InPps': 651.525269,
    'InUcastPps': 651.525269,
    'Inbps': 96411.5,
    'Index': 40,
    'InstanceSiteId': 0,
    'InstanceType': 'Orion.NPM.Interfaces',
    'InterfaceAlias': '',
    'InterfaceCaption': 'Tunnel1001 - Tu1001',
    'InterfaceID': 5509,
    'InterfaceIcon': '131.gif             ',
    'InterfaceIndex': 40,
    'InterfaceLastChange': '2023-03-17T10:06:00',
    'InterfaceMTU': 9922,
    'InterfaceName': 'Tunnel1001',
    'InterfaceResponding': 1,
    'InterfaceSpeed': 100000.0,
    'InterfaceSubType': 0,
    'InterfaceType': 131,
    'InterfaceTypeDescription': '',
    'InterfaceTypeName': '',
    'LastChange': '2023-03-17T14:06:00',
    'LastSync': '2023-03-20T18:15:57.127',
    'LateCollisionsThisHour': 0.0,
    'LateCollisionsToday': 0.0,
    'MAC': '',
    'MTU': 9922,
    'MaxInBpsTime': '2022-09-18T23:17:12.463',
    'MaxInBpsToday': 0.0,
    'MaxOutBpsTime': '2023-03-16T04:40:34.62',
    'MaxOutBpsToday': 0.0,
    'MinutesSinceLastSync': 1,
    'Name': 'Tunnel1001',
    'NextPoll': '2023-03-20T18:16:52.427',
    'NextRediscovery': '2023-03-20T18:45:52.613',
    'NodeID': 1750,
    'ObjectSubType': 'SNMP',
    'ObsoleteDataCurrentSettingValue': 3,
    'ObsoleteDataFeatureStatus': 1,
    'OperStatus': 1,
    'OperStatusLED': 'Up.gif              ',
    'OrionIdColumn': 'InterfaceID',
    'OrionIdPrefix': 'I:',
    'OutBandwidth': 100000.0,
    'OutDiscardsThisHour': 0.0,
    'OutDiscardsToday': 0.0,
    'OutErrorsThisHour': 0.0,
    'OutErrorsToday': 0.0,
    'OutMcastPps': 0.0,
    'OutPercentUtil': 98.0,
    'OutPktSize': 99,
    'OutPps': 140.760849,
    'OutUcastPps': 140.760849,
    'Outbps': 98397.31,
    'PercentUtil': 97.0,
    'PhysicalAddress': '',
    'PollInterval': 120,
    'RediscoveryInterval': 30,
    'Severity': 0,
    'SkippedPollingCycles': 0,
    'Speed': 100000.0,
    'StatCollection': 9,
    'Status': 1,
    'StatusDescription': 'Up',
    'StatusIcon': 'Up.gif              ',
    'StatusIconHint': None,
    'StatusLED': 'Up.gif              ',
    'Type': 131,
    'TypeDescription': '',
    'TypeName': '',
    'UnManageFrom': None,
    'UnManageUntil': None,
    'UnManaged': False,
    'UnPluggable': False,
    'Uri': 'swis://PTC-WBSOLARW702.ad.moodys.net/Orion/Orion.Nodes/NodeID=1750/Interfaces/InterfaceID=5509'
}
@decoupca decoupca added the enhancement New feature or request label Mar 20, 2023
@decoupca decoupca self-assigned this Mar 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant