Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve flowspec support #53

Merged
merged 2 commits into from
Oct 20, 2017
Merged

improve flowspec support #53

merged 2 commits into from
Oct 20, 2017

Conversation

xiaopeng163
Copy link
Member

@xiaopeng163 xiaopeng163 commented Oct 20, 2017

issue #52

now flowspec support message like:

{
    "attr":{
        "1": 0, 
        "2": [], 
        "5": 100, 
        "14": {
            "afi_safi": [1, 133], 
            "nexthop": "", 
            "nlri": [
            	{"1": "192.88.2.3/24", "2": "192.89.1.3/24", "3":"=17|=80|>=8000"},
            	{"1": "192.77.2.3/24", "2": "192.77.1.3/24", "5": "=80|=8080"}]
        },
        "16":[[32774, "100:6250000"]]
    }
}

filter value support =, <,>,>=,<=, and |

Signed-off-by: Peng Xiao <xiaoquwl@gmail.com>
Signed-off-by: Peng Xiao <xiaoquwl@gmail.com>
@coveralls
Copy link

coveralls commented Oct 20, 2017

Coverage Status

Coverage increased (+0.002%) to 60.655% when pulling c22e859 on xiaopeng163:master into 433c034 on smartbgp:master.

@xiaopeng163 xiaopeng163 self-assigned this Oct 20, 2017
@xiaopeng163 xiaopeng163 merged commit 6034bb7 into smartbgp:master Oct 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants