Giter Club home page Giter Club logo

Comments (2)

thombashi avatar thombashi commented on May 30, 2024

@dastergon
Thank you for your feedback.
I've fixed to suppress the message at tcconfig 0.14.0.
(the message also appears when I use --change)

+ tcset --direction outgoing --dst-network 192.168.122.205 --rate 500Mbps --device ens33 --overwrite
+ tcset --direction incoming --dst-network 192.168.122.205 --device ens33 --rate 500Mbps --add
+ tcshow -d ens33
{
    "ens33": {
        "outgoing": {
            "dst-network=192.168.122.205/32, protocol=ip": {
                "rate": "500M",
                "filter_id": "800::800"
            }
        },
        "incoming": {
            "dst-network=192.168.122.205/32, protocol=ip": {
                "rate": "500M",
                "filter_id": "800::800"
            }
        }
    }
}
+ tcset --direction outgoing --dst-network 192.168.122.201 --rate 500Mbps --device ens33 --add
+ tcset --direction incoming --dst-network 192.168.122.201 --device ens33 --rate 500Mbps --add
+ tcshow -d ens33
{
    "ens33": {
        "outgoing": {
            "dst-network=192.168.122.201/32, protocol=ip": {
                "rate": "500M",
                "filter_id": "800::801"
            },
            "dst-network=192.168.122.205/32, protocol=ip": {
                "rate": "500M",
                "filter_id": "800::800"
            }
        },
        "incoming": {
            "dst-network=192.168.122.201/32, protocol=ip": {
                "rate": "500M",
                "filter_id": "800::801"
            },
            "dst-network=192.168.122.205/32, protocol=ip": {
                "rate": "500M",
                "filter_id": "800::800"
            }
        }
    }
}
+ tcset --direction outgoing --dst-network 192.168.122.201 --rate 300Mbps --device ens33 --change
+ tcset --direction incoming --dst-network 192.168.122.201 --device ens33 --rate 300Mbps --change
+ tcshow -d ens33
{
    "ens33": {
        "outgoing": {
            "dst-network=192.168.122.201/32, protocol=ip": {
                "rate": "300M",
                "filter_id": "800::801"
            },
            "dst-network=192.168.122.205/32, protocol=ip": {
                "rate": "500M",
                "filter_id": "800::800"
            }
        },
        "incoming": {
            "dst-network=192.168.122.201/32, protocol=ip": {
                "rate": "300M",
                "filter_id": "800::801"
            },
            "dst-network=192.168.122.205/32, protocol=ip": {
                "rate": "500M",
                "filter_id": "800::800"
            }
        }
    }
}

Note: "filter_id" entry added to tcshow output to support #80.

from tcconfig.

dastergon avatar dastergon commented on May 30, 2024

@thombashi thank you very much for the quick fix!

from tcconfig.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.