Comment 3 for bug 1373233

Revision history for this message
venu kolli (vkolli) wrote :

Verified .

root@woodstock# run show route table JDAF.inet.0

JDAF.inet.0: 44 destinations, 84 routes (44 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both

0.0.0.0/0 *[Static/5] 1d 07:33:40
                    > via lt-1/0/0.100
10.102.42.0/24 *[Static/5] 1d 07:33:40
                    > via lt-1/0/0.100
11.1.1.0/24 *[Direct/0] 1d 07:35:30
                    > via lo0.10
11.1.1.1/32 *[Local/0] 1d 07:35:30
                      Local via lo0.10
192.168.1.2/32 *[BGP/170] 00:00:49, localpref 100, from 5.5.5.13
                      AS path: ?, validation-state: unverified
                    > via gr-1/0/0.32772, Push 16
                    [BGP/170] 00:00:49, localpref 100, from 5.5.5.14
                      AS path: ?, validation-state: unverified
                    > via gr-1/0/0.32772, Push 16
192.168.1.3/32 *[BGP/170] 00:00:49, localpref 100, from 5.5.5.13
                      AS path: ?, validation-state: unverified
                    > via gr-1/0/0.32771, Push 16
                    [BGP/170] 00:00:49, localpref 100, from 5.5.5.14
                      AS path: ?, validation-state: unverified
                    > via gr-1/0/0.32771, Push 16
192.168.1.4/32 *[BGP/170] 00:00:49, localpref 100, from 5.5.5.13
                      AS path: ?, validation-state: unverified
                    > via gr-1/0/0.32772, Push 18
                    [BGP/170] 00:00:49, localpref 100, from 5.5.5.14
                      AS path: ?, validation-state: unverified
                    > via gr-1/0/0.32772, Push 18
192.168.1.5/32 *[BGP/170] 00:00:49, localpref 100, from 5.5.5.13
                      AS path: ?, validation-state: unverified
                    > via gr-1/0/0.32771, Push 18
                    [BGP/170] 00:00:49, localpref 100, from 5.5.5.14
                      AS path: ?, validation-state: unverified
                    > via gr-1/0/0.32771, Push 18
192.168.1.6/32 *[BGP/170] 00:00:49, localpref 100, from 5.5.5.13
                      AS path: ?, validation-state: unverified
                    > via gr-1/0/0.32772, Push 20

root@vse2100-2:/opt/contrail/utils# python del_route_target.py --routing_instance_name default-domain:admin:net-test --route_target_number 100000 --api_server_ip 10.102.42.200 --api_server_port 8082 --router_asn 64512

root@woodstock# run show route table JDAF.inet.0

JDAF.inet.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both

0.0.0.0/0 *[Static/5] 1d 07:52:54
                    > via lt-1/0/0.100
10.102.42.0/24 *[Static/5] 1d 07:52:54
                    > via lt-1/0/0.100
11.1.1.0/24 *[Direct/0] 1d 07:54:44
                    > via lo0.10
11.1.1.1/32 *[Local/0] 1d 07:54:44
                      Local via lo0.10

[edit]
root@woodstock#

Route are removed from route target after executing the del_route_target api.