netbox icon indicating copy to clipboard operation
netbox copied to clipboard

Add PON ports to interface type

Open BrunoBlanes opened this issue 4 years ago • 30 comments

NetBox version

v3.1.7

Feature type

Data model extension

Proposed functionality

Add EPON, GPON, X-GPON and other type of PON ports to interface type.

Use case

These ports are used for OLTs in FTTH scenarios.

Database changes

No response

External dependencies

No response

BrunoBlanes avatar Feb 09 '22 18:02 BrunoBlanes

If #4302 can be reopened then maybe I can work on it.

BrunoBlanes avatar Feb 09 '22 18:02 BrunoBlanes

We would love to have this feature, as we are going to deploy an FttH infrastructure in the near future. AFAIK, and that's with my relatively limited knowledge of the technology, the list given by @janchrillesen on #4302 seems to be accurate (with the need for adding the '+' for 10G connection), with maybe the exception that DWDM should be TWDM (NG PON 2), but maybe there's a standard I don't know with that name.

DorianBourgeoisat avatar Feb 09 '22 19:02 DorianBourgeoisat

A nice to have would also be the ONT equivalents

DorianBourgeoisat avatar Feb 10 '22 20:02 DorianBourgeoisat

We too have a Tellabs GPON system in our infrastructure and would love to have this included with NetBox.

subdriven avatar Feb 14 '22 23:02 subdriven

I can try to work on this if no one's opposed

DorianBourgeoisat avatar Feb 15 '22 08:02 DorianBourgeoisat

Duplicate of #4302

DanSheps avatar Feb 15 '22 16:02 DanSheps

Can you provide a list of actual physical interface types you wish to model?

DanSheps avatar Feb 15 '22 16:02 DanSheps

Sure, I'll compile those and add them to the original text of this issue.

BrunoBlanes avatar Feb 15 '22 16:02 BrunoBlanes

The list would resemble that : GPON: SFP GPON OLT (2.5G) SFP+ XG-PON OLT (10G) SFP+ XGS-PON OLT (10G) SFP+ CPON OLT (10G/2.5G) * SFP+ TWDM-PON OLT (10G) XFP XG-PON OLT (10G) XFP XGS-PON OLT (10G) XFP TWDM-PON OLT (10G)

EPON: SFP EPON OLT (1G) SFP+ 10G-EPON OLT (10G)

I also think generic ONT PON types could be useful : GPON ONT (2.5G) XG-PON ONT (10G) XGS-PON ONT (10G) EPON ONT (1G) 10G-EPON ONT (10G)

  • I suggest the removal of this type because it could be modeled by 2 interfaces of the desired combo, if I understood correctly what was intended in the first issue.

DorianBourgeoisat avatar Feb 16 '22 07:02 DorianBourgeoisat

I also wander how to model some "weird" PON modules, such as nokia's double GPON XFP module.

Would it be better to scind the PON technology from the module's connectivity ? And therefore be able to model the weird things manufacturers come up with ?

DorianBourgeoisat avatar Feb 18 '22 15:02 DorianBourgeoisat

@BrunoBlanes @DorianXGH So I have a question about this.

How are you expecting to connect these up? Currently, there is a 1:1 relationship between interface and fiber (1 interface can only connect to either a single interface, front port or rear port with 1 position)

DanSheps avatar Mar 02 '22 14:03 DanSheps

@DanSheps I don't quite follow what you mean. GPON would be an interface type and it would have its SFP modules as inventory items.

BrunoBlanes avatar Mar 02 '22 15:03 BrunoBlanes

Yes, but supposedly you would want to connect fiber to this interface at one point. I am saying that the interface-to-port (front or rear) is a 1:1 relationship.

You can't go out and have 1 interface connect to a rear port which spiders out into multiple "front ports" for each end user. I just want to make sure you are clear on the limitation of if we did this you would either be limited to a single "strand" end-to-end. You couldn't model the splitter and CPE devices for example.

DanSheps avatar Mar 02 '22 15:03 DanSheps

Oh, I'm aware of that. Our need is to document the network as long as active devices go, mainly because if we were going to map the fiber with all the splitters, we'd be mapping the entire outdoor fiber network. We work with OLTs and they have PON ports, that's as far as I'd like to go with this for now. But hey, that could be a future major release of Netbox, documenting passive optical networks with splitters and all, not a bad idea.

BrunoBlanes avatar Mar 02 '22 16:03 BrunoBlanes

@BrunoBlanes Oh, I thought about modeling splitters like switches, it's not the nicest way of doing it, but doing it cleanly would require a proper decoupling of the L2 and L1 layer. Otherwise I agree with putting the module connection with the OLT in the inventory. Still, I think having the different PON technologies would be better, to model the bandwidth capabilties. That would make it :

  • GPON
  • XGPON
  • XGSPON
  • TWDM-PON (NG-PON2)
  • EPON
  • 10G EPON

DorianBourgeoisat avatar Mar 02 '22 18:03 DorianBourgeoisat

I thought about modeling splitters like switches, it's not the nicest way of doing it, but doing it cleanly would require a proper decoupling of the L2 and L1 layer.

Yeah, it would be messy and might not work as intended for everyone, so I think we'd be better off not doing that. As for the PON technologies, I think that is a great list we might just need to detail it a bit more, for example GPON (2.5GE).

Also I should ask, these would be under any existing interface type category, like Ethernet (modular)? Seems like it might be better to define a new one.

BrunoBlanes avatar Mar 02 '22 18:03 BrunoBlanes

Yeah, a new PON category seems like a good idea. This would make the list:

  • GPON (2.5G/1.25G)
  • XGPON (10G/2.5G)
  • XGSPON (10G)
  • TWDM-PON (NG-PON2) (4x10G)
  • EPON (1G)
  • 10G EPON (10G)

DorianBourgeoisat avatar Mar 02 '22 18:03 DorianBourgeoisat

Just to throw some more complexity into this...

Several vendors are offering "combo" OLT cards that can run multiple PON technologies simultaneously out the same OLT port using multi-wavelength optics. Adtran, Calix, and DZS are all doing this.

These cards can fire both GPON and XGS-PON wavelengths onto a single distribution network (ODN) out to a common splitter. The technology that is used is entirely dependent upon the ONT installed at the customer premise. If you install a GPON ONT, it locks onto 1490/1310. If you install an XGS ONT, it locks onto 1577/1270. So, you'll have a single ODN and splitter running ONTs on different technologies. Within the software of the shelf itself, it creates 2 virtual/logical ports for each physical OLT/PON port on the card. Example: An Adtran 8 port combo OLT card consists of 8 physical ports. If you install 8 of the multi-wave optics into the card, the TA-5000 shelf creates 16 PON ports internally. 1-8 are GPON, and 9-16 are XGS-PON. The internal GPON port 1 and XGS port 9 are logically connected to the physical port 1 on the OLT card.

So, how does one model this in NetBox? You can't necessarily have a single port running two "speeds", and you can't really create a module with 16 ports, because there's no way to connect two ports to a single fiber and splitter. Maybe something clever could be done with the bridging feature?

shatt79 avatar Apr 11 '22 01:04 shatt79

From what I understood here and by having taken a look at some of Adtran products, you are talking about a modular 10 Gigabit PON port interface which accepts both a GPON or an XGS-PON transceiver. In that case, I think it is safe to assume that the board itself would contain 8 generic 10G PON slots where you can then plug your specific GPON (2.5G/1.25G) or XGS-PON (10G) transceivers into.

BrunoBlanes avatar Apr 11 '22 01:04 BrunoBlanes

From our previous discussion, I think was discussed that only the logical PON port would be modeled as interfaces, with the underlying modules as inventory items. I don't think netbox can currently model PONs that effectively, so as long as Netbox keeps its L1/L2 representation as is, PONs, especially the ODN part, will be kind of hard to model, but perfect is the enemy of good. The proposed list aims to model the logical PONs for now, and maybe, as we are a few small ISPs wanting to use netbox to model their network, we might later want to work towards more modelling ability.

DorianBourgeoisat avatar Apr 11 '22 06:04 DorianBourgeoisat