Groups
Sign in
Groups
pyroute2-dev
Conversations
About
Send feedback
Help
pyroute2-dev
Contact owners and managers
1–30 of 66
Pyroute2 is a pure Python netlink library.
Links
home:
https://github.com/svinota/
pyroute2
bugs:
https://github.com/svinota/
pyroute2/issues
pypi:
https://pypi.python.org/pypi/
pyroute2
docs:
http://peet.spb.ru/pyroute2/
Mark all as read
Report group
0 selected
Adriano Marto Reis
7/16/20
Creating nftables rules
Hi, Does anyone know how to use NFTables class to create rules? Is there any documentation available?
unread,
Creating nftables rules
Hi, Does anyone know how to use NFTables class to create rules? Is there any documentation available?
7/16/20
Czarek Kowalski
,
Peter Saveliev
2
3/18/20
Type of communication
Hello, Czarek! It depends on the operating system and the functionality — it differs. On Linux
unread,
Type of communication
Hello, Czarek! It depends on the operating system and the functionality — it differs. On Linux
3/18/20
brian.s...@wwt.com
, …
Eugene Crosser
5
7/11/19
Find VRF Associated with Interface
Is it possible to do the opposite: obtain the list of interface indices that are enslaved with a
unread,
Find VRF Associated with Interface
Is it possible to do the opposite: obtain the list of interface indices that are enslaved with a
7/11/19
rishi narian
1/16/19
How to Fetch the IP route rules reside in Namespaces using IPDB functionality
Hi, I have a requirement to fetch all ip rule list (policy tables) configured under namespace. I am
unread,
How to Fetch the IP route rules reside in Namespaces using IPDB functionality
Hi, I have a requirement to fetch all ip rule list (policy tables) configured under namespace. I am
1/16/19
Tobias Eckl
,
Peter Saveliev
3
7/27/18
Move WiFi interface in namespace
Yep, I've got the problem. To move a wifi interface now one should use the IW class, but one has
unread,
Move WiFi interface in namespace
Yep, I've got the problem. To move a wifi interface now one should use the IW class, but one has
7/27/18
TheDiveO
,
Peter Saveliev
3
5/27/18
How to get iptables NAT rules?
Ah, thank you Peter for clarifying my confusion. As the system I need to work with uses iptables, I
unread,
How to get iptables NAT rules?
Ah, thank you Peter for clarifying my confusion. As the system I need to work with uses iptables, I
5/27/18
rishi narian
, …
Peter Saveliev
5
5/9/18
How to count the packets flowing through network namespace using pyroute2?
Hi Peter/all, Thanks a lot for your ideas. I will use this logic and implement my functionality.
unread,
How to count the packets flowing through network namespace using pyroute2?
Hi Peter/all, Thanks a lot for your ideas. I will use this logic and implement my functionality.
5/9/18
TheDiveO
,
Peter Saveliev
5
5/8/18
How to do a RTM_GETNSID?
Didn't realize that I did directly hit, without taking aim, some bleeding edge spot. :) At least
unread,
How to do a RTM_GETNSID?
Didn't realize that I did directly hit, without taking aim, some bleeding edge spot. :) At least
5/8/18
AZ
,
Peter Saveliev
3
3/25/18
Creating nftables
I played a bit, and there is some prototype: https://github.com/svinota/pyroute2/commit/
unread,
Creating nftables
I played a bit, and there is some prototype: https://github.com/svinota/pyroute2/commit/
3/25/18
andreas....@de.ibm.com
,
Peter Saveliev
4
3/22/18
New release of pyroute2
* tagged 0.5.0 * switching from the 0.4.x branch ACHTUNG: please check the regression tests! In the
unread,
New release of pyroute2
* tagged 0.5.0 * switching from the 0.4.x branch ACHTUNG: please check the regression tests! In the
3/22/18
Sławek Kapłoński
,
Peter Saveliev
3
3/20/18
How to get burst value from TBF disc
Good to know! Thanks, I'll take a look! 2018-03-19 11:44 GMT+01:00 Sławek Kapłoński <slawek@
unread,
How to get burst value from TBF disc
Good to know! Thanks, I'll take a look! 2018-03-19 11:44 GMT+01:00 Sławek Kapłoński <slawek@
3/20/18
daren...@gmail.com
,
Peter Saveliev
2
3/17/18
How to get the Namespace Identifier (ID) using pyroute2 functionality.
This functionality is not implemented yet, but I try to do it asap. 2018-03-15 20:45 GMT+01:00 <
unread,
How to get the Namespace Identifier (ID) using pyroute2 functionality.
This functionality is not implemented yet, but I try to do it asap. 2018-03-15 20:45 GMT+01:00 <
3/17/18
rishi narian
,
Peter Saveliev
3
3/14/18
Runtime Error during commit operation.
Sorry for delays in answers, was a bit overloaded. So far I couldn't reproduce the issues — it
unread,
Runtime Error during commit operation.
Sorry for delays in answers, was a bit overloaded. So far I couldn't reproduce the issues — it
3/14/18
Sławek Kapłoński
, …
Peter Saveliev
4
3/13/18
Is it possible to create veth pair and move one end to namespace in one call?
Sure. Thanks a lot for Your response. I will wait for any update. I don't know very deeply
unread,
Is it possible to create veth pair and move one end to namespace in one call?
Sure. Thanks a lot for Your response. I will wait for any update. I don't know very deeply
3/13/18
daren...@gmail.com
,
Peter Saveliev
6
3/11/18
How to Monitor Link state change, Routing table change, IP address changes events using pyroute2
Sure. 'Cause not all the messages contain the «index» field. That's not an error, that's
unread,
How to Monitor Link state change, Routing table change, IP address changes events using pyroute2
Sure. 'Cause not all the messages contain the «index» field. That's not an error, that's
3/11/18
rishi narian
,
Peter Saveliev
4
2/15/18
How to get the list of bridge interfaces configured in kernel using IPDB functionality.
You're welcome :) On Feb 15, 2018 2:15 PM, "rishi narian" <rishi....@gmail.com
unread,
How to get the list of bridge interfaces configured in kernel using IPDB functionality.
You're welcome :) On Feb 15, 2018 2:15 PM, "rishi narian" <rishi....@gmail.com
2/15/18
rishi narian
,
Peter Saveliev
2
2/13/18
How to get interface names from kernel using pyroute2 IPDB function?
from pyroute2 import IPDB with IPDB() as ipdb: print(" ".join(ipdb.by_name.keys())) 2018-02
unread,
How to get interface names from kernel using pyroute2 IPDB function?
from pyroute2 import IPDB with IPDB() as ipdb: print(" ".join(ipdb.by_name.keys())) 2018-02
2/13/18
Aryeh Weinreb
,
Peter Saveliev
2
1/29/18
Adding a Cgroup tc filter
Nope, it isn't supported (yet). But let's try to implement it :) I'll write a bit later,
unread,
Adding a Cgroup tc filter
Nope, it isn't supported (yet). But let's try to implement it :) I'll write a bit later,
1/29/18
brian.s...@wwt.com
,
Peter Saveliev
2
12/20/17
Keep Interface Conifguration After Reload
Hello, Brian! The pyroute2 project right now is just a library to provide an API towards the kernel.
unread,
Keep Interface Conifguration After Reload
Hello, Brian! The pyroute2 project right now is just a library to provide an API towards the kernel.
12/20/17
Ravi Bhagavatula
11/19/17
vxlan remote ip
Hi, I recently started playing around with pyroute2. I'm trying to create a vxlan interface using
unread,
vxlan remote ip
Hi, I recently started playing around with pyroute2. I'm trying to create a vxlan interface using
11/19/17
Pier Luigi Ventre
,
Peter Saveliev
10
9/23/17
Seg6 tunnel support
Open a PR, please, we'll discuss the code on GitHub. You know how to work with SRH, I know the
unread,
Seg6 tunnel support
Open a PR, please, we'll discuss the code on GitHub. You know how to work with SRH, I know the
9/23/17
TheDiveO
,
Peter Saveliev
8
9/17/17
How to get the preferred and valid lifetimes via pyroute2.IPDB?
> What is the difference between the cstamp and the tstamp? cstamp — is the address creation
unread,
How to get the preferred and valid lifetimes via pyroute2.IPDB?
> What is the difference between the cstamp and the tstamp? cstamp — is the address creation
9/17/17
Ragan Gidde
,
Peter Saveliev
10
8/22/17
IPDB is not in sych with system routes
… On Fedora it should be relatively simple (assume you have everything in place to create rpms —
unread,
IPDB is not in sych with system routes
… On Fedora it should be relatively simple (assume you have everything in place to create rpms —
8/22/17
Ragan Gidde
,
Peter Saveliev
2
7/25/17
IPv6 rules retrieval using IPDB
The rules support in IPDB is very limited, and IPv6 rules aren't supported yet. There are some
unread,
IPv6 rules retrieval using IPDB
The rules support in IPDB is very limited, and IPv6 rules aren't supported yet. There are some
7/25/17
Eugene Crosser
,
Ragan Gidde
3
7/25/17
Monitoring netlink events with IPDB
Thanks, it looks like exactly the right thing! It is still not quite clear, (1) if it is guaranteed
unread,
Monitoring netlink events with IPDB
Thanks, it looks like exactly the right thing! It is still not quite clear, (1) if it is guaranteed
7/25/17
Ragan Gidde
,
Peter Saveliev
3
7/25/17
Adding route with priority
Thanks so much. That's what i was looking for. On Monday, July 24, 2017 at 6:38:12 PM UTC+5:30,
unread,
Adding route with priority
Thanks so much. That's what i was looking for. On Monday, July 24, 2017 at 6:38:12 PM UTC+5:30,
7/25/17
Ragan Gidde
,
Peter Saveliev
2
7/13/17
Delete a rule
Shortly: ipdb.rules[<key>].remove().commit() Please let me know, if there are any issues with
unread,
Delete a rule
Shortly: ipdb.rules[<key>].remove().commit() Please let me know, if there are any issues with
7/13/17
Debashis Prusty
,
Peter Saveliev
2
7/11/17
Is VLAN setting through IPDB.interface supported?
«Operation not supported» is returned not by the IPDB, but by the kernel. To set VLAN filters on an
unread,
Is VLAN setting through IPDB.interface supported?
«Operation not supported» is returned not by the IPDB, but by the kernel. To set VLAN filters on an
7/11/17
Debashis Prusty
,
Peter Saveliev
2
7/10/17
Can we dump changes done?
Right now there are several ways to do that: 1. Iterate IPDB objects and run dump(): In [1]: from
unread,
Can we dump changes done?
Right now there are several ways to do that: 1. Iterate IPDB objects and run dump(): In [1]: from
7/10/17
Anoop Joseph Babu
,
Peter Saveliev
4
7/5/17
More info on rollback during transaction error
> This is consistently happening in my system. That's good, easier to debug. Ok, give me some
unread,
More info on rollback during transaction error
> This is consistently happening in my system. That's good, easier to debug. Ok, give me some
7/5/17