yamaoka-kitaguchi-lab / tn4-edges-deploy-old

The Unlicense
0 stars 0 forks source link

Create LAG interface on NetBox #8

Closed mi2428 closed 3 years ago

mi2428 commented 3 years ago
{'_occupied': False,
 'cable': None,
 'cable_peer': None,
 'cable_peer_type': None,
 'connected_endpoint': None,
 'connected_endpoint_reachable': None,
 'connected_endpoint_type': None,
 'count_ipaddresses': 0,
 'created': '2021-07-30',
 'custom_fields': {},
 'description': '',
 'device': {'display': 'minami2',
            'display_name': 'minami2',
            'id': 1,
            'name': 'minami2',
            'url': 'http://54.150.167.158:8000/api/dcim/devices/1/'},
 'display': 'ae1',
 'enabled': True,
 'id': 490,
 'label': '',
 'lag': None,
 'last_updated': '2021-07-30T15:23:35.864270Z',
 'mac_address': None,
 'mark_connected': False,
 'mgmt_only': False,
 'mode': None,
 'mtu': None,
 'name': 'ae1',
 'parent': None,
 'tagged_vlans': [],
 'tags': [],
 'type': {'label': 'Link Aggregation Group (LAG)', 'value': 'lag'},
 'untagged_vlan': None,
 'url': 'http://54.150.167.158:8000/api/dcim/interfaces/490/'}
{'_occupied': False,
 'cable': None,
 'cable_peer': None,
 'cable_peer_type': None,
 'connected_endpoint': None,
 'connected_endpoint_reachable': None,
 'connected_endpoint_type': None,
 'count_ipaddresses': 0,
 'created': '2021-07-23',
 'custom_fields': {},
 'description': '',
 'device': {'display': 'minami2',
            'display_name': 'minami2',
            'id': 1,
            'name': 'minami2',
            'url': 'http://54.150.167.158:8000/api/dcim/devices/1/'},
 'display': 'mge-0/0/35',
 'enabled': False,
 'id': 36,
 'label': '',
 'lag': {'_occupied': False,
         'cable': None,
         'device': {'display': 'minami2',
                    'display_name': 'minami2',
                    'id': 1,
                    'name': 'minami2',
                    'url': 'http://54.150.167.158:8000/api/dcim/devices/1/'},
         'display': 'ae1',
         'id': 490,
         'name': 'ae1',
         'url': 'http://54.150.167.158:8000/api/dcim/interfaces/490/'},
 'last_updated': '2021-07-30T15:28:59.310299Z',
 'mac_address': None,
 'mark_connected': False,
 'mgmt_only': False,
 'mode': None,
 'mtu': None,
 'name': 'mge-0/0/35',
 'parent': None,
 'tagged_vlans': [],
 'tags': [],
 'type': {'label': '10GBASE-T (10GE)', 'value': '10gbase-t'},
 'untagged_vlan': None,
 'url': 'http://54.150.167.158:8000/api/dcim/interfaces/36/'}
{'_occupied': False,
 'cable': None,
 'cable_peer': None,
 'cable_peer_type': None,
 'connected_endpoint': None,
 'connected_endpoint_reachable': None,
 'connected_endpoint_type': None,
 'count_ipaddresses': 0,
 'created': '2021-07-23',
 'custom_fields': {},
 'description': '',
 'device': {'display': 'minami2',
            'display_name': 'minami2',
            'id': 1,
            'name': 'minami2',
            'url': 'http://54.150.167.158:8000/api/dcim/devices/1/'},
 'display': 'mge-0/0/36',
 'enabled': False,
 'id': 37,
 'label': '',
 'lag': {'_occupied': False,
         'cable': None,
         'device': {'display': 'minami2',
                    'display_name': 'minami2',
                    'id': 1,
                    'name': 'minami2',
                    'url': 'http://54.150.167.158:8000/api/dcim/devices/1/'},
         'display': 'ae1',
         'id': 490,
         'name': 'ae1',
         'url': 'http://54.150.167.158:8000/api/dcim/interfaces/490/'},
 'last_updated': '2021-07-30T15:28:59.357466Z',
 'mac_address': None,
 'mark_connected': False,
 'mgmt_only': False,
 'mode': None,
 'mtu': None,
 'name': 'mge-0/0/36',
 'parent': None,
 'tagged_vlans': [],
 'tags': [],
 'type': {'label': '10GBASE-T (10GE)', 'value': '10gbase-t'},
 'untagged_vlan': None,
 'url': 'http://54.150.167.158:8000/api/dcim/interfaces/37/'}