Project

General

Profile

Bug #58185

Add middleware support for setting/unsetting bridge member's flags

Added by William Grzybowski 5 months ago. Updated 17 days ago.

Status:
Done
Priority:
No priority
Assignee:
Waqar Ahmed
Category:
Middleware
Target version:
Seen in:
Severity:
Low Medium
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

Currently (to my knowledge, I may be wrong) py-netif does not support setting/unsetting flags to bridge members, e.g.

bridge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 02:98:e1:04:1a:00
        nd6 options=9<PERFORMNUD,IFDISABLED>
        groups: bridge 
        id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15
        maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200
        root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0
        member: em0 flags=1c3<LEARNING,DISCOVER,AUTOEDGE,PTP,AUTOPTP>
                ifmaxaddr 0 port 1 priority 128 path cost 20000

We cant disable DISCOVER for em0, neither enable STP.

We need to support it in py-netif for future use from middlewared.


Related issues

Copied to FreeNAS - Bug #72707: Add middleware support for setting/unsetting bridge member's flagsClosed

Associated revisions

Revision 88ad3421 (diff)
Added by Waqar Ahmed 5 months ago

Bridge Member flags made editable

This commit adds support for setting/unsetting bridge member's flags.
Ticket: #58185

Revision ecbb4ae1 (diff)
Added by Waqar Ahmed 5 months ago

Bridge Member flags made editable (#3)

Bridge Member flags made editable

This commit adds support for setting/unsetting bridge member's flags.
Ticket: #58185

Revision b0a34eac (diff)
Added by Waqar Ahmed 5 months ago

Update py-netif port

This commit updates py-netif port to reflect the latest commint in the py-netif repository.
Ticket: #58185

History

#1 Updated by Waqar Ahmed 5 months ago

  • Status changed from Unscreened to Not Started

#2 Updated by Waqar Ahmed 5 months ago

  • Status changed from Not Started to In Progress
  • Target version changed from Backlog to 11.3

#3 Updated by Waqar Ahmed 5 months ago

  • Status changed from In Progress to Ready for Testing

#5 Updated by Dru Lavigne 3 months ago

  • Target version changed from 11.3 to 11.3-BETA1

#6 Updated by Dru Lavigne 3 months ago

  • Subject changed from Add bridge flags to py-netif to Add middleware support for setting/unsetting bridge member's flags
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#7 Updated by Erin Clark 3 months ago

  • Copied to Bug #72707: Add middleware support for setting/unsetting bridge member's flags added

#8 Updated by Dru Lavigne 2 months ago

  • Status changed from Ready for Testing to Done
  • Needs QA changed from Yes to No

#10 Updated by Dru Lavigne 17 days ago

  • Target version changed from 11.3-BETA1 to 11.3-ALPHA1

Also available in: Atom PDF