From batmanustc at gmail.com Thu Oct 8 20:22:00 2015 From: batmanustc at gmail.com (yewgang) Date: Fri, 9 Oct 2015 11:22:00 +0800 Subject: [Xorp-users] How to write scons files to add a new folder ? Message-ID: I want to add new folder in xorp, and this folder has its SConscript file, but I can't add this folder in xorp/SConscript, I don't know why. This is my change : diff --git a/xorp/SConscript b/xorp/SConscript index ba5400b..6265c7d 100644 --- a/xorp/SConscript +++ b/xorp/SConscript @@ -60,4 +60,9 @@ if env['enable_rip']: if env['enable_vrrp']: subdirs.append('vrrp') +if env['enable_nsx_integration']: + subdirs.append('nsx_integration') + +print '--------------- subdirs = ', subdirs, ' ------------------' + SConscript(dirs = subdirs, exports='env') diff --git a/xorp/SConstruct b/xorp/SConstruct index 5cc2972..30cc598 100644 --- a/xorp/SConstruct +++ b/xorp/SConstruct @@ -101,6 +101,7 @@ vars.AddVariables( BoolVariable('enable_fea_dummy', 'Build fea-dummy target', True), BoolVariable('enable_viff_use_ifindex', 'Use VIFF_USE_IFINDEX feature in Linux kernel 2.6.31+', Fa BoolVariable('enable_async_server', 'Permit asynchronous method implementations', False), + BoolVariable('enable_nsx_integration', 'Enable Nsx Integration', True), BoolVariable('debug_xrldb', 'Build with runtime XRL syntax validation in Router Manager', False), EnumVariable('debug', 'Build with debug symbols', 'full', allowed_values=('no', 'yes', 'full', 'override'), @@ -282,6 +283,7 @@ print 'Enable FEA Dummy: ', env['enable_fea_dummy'] print 'Enable VIFF_USE_IFINDEX: ', env['enable_viff_use_ifindex'] print 'Enable async method impls: ', env['enable_async_server'] print 'Enable BGP: ', env['enable_bgp'] +print 'Enable Nsx Integration: ', env['enable_nsx_integration'] print 'Enable BuildInfo: ', env['enable_buildinfo'] print 'Xorp can run from BUILD_DIR: ', env['enable_builddirrun'] print 'Try Enable BOOST: ', env['enable_boost'] @@ -605,6 +607,13 @@ if tst and not ((tst == "no") or (tst == "false")): env['disable_otherlogs'] = True else: env['disable_otherlogs'] = False + +# Default to enabled +tst = ARGUMENTS.get('enable_nsx_integration', True) +if tst and ((tst == "no") or (tst == "false")): + env['enable_nsx_integration'] = False +else: + env['enable_nsx_integration'] = True tst = ARGUMENTS.get('disable_assert', False) if tst and not ((tst == "no") or (tst == "false")): And print result is : --------------- subdirs = ['cli', 'libcomm', 'libxorp', 'libxipc', 'libproto', 'libfeaclient', 'xrl/targets', 'xrl/interfaces', 'etc/templates', 'fea', 'fib2mrib', 'mld6igmp', 'mrt', 'pim', 'policy', 'rib', 'rtrmgr', 'static_routes', 'utils', 'contrib/olsr', 'contrib/wrapper', 'bgp', 'ospf', 'rip', 'vrrp', 'nsx_integration'] ------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20151009/502a636b/attachment.html From Eli.Ochakovski at elbitsystems.com Sun Oct 18 00:03:56 2015 From: Eli.Ochakovski at elbitsystems.com (Ochakovski Eli) Date: Sun, 18 Oct 2015 07:03:56 +0000 Subject: [Xorp-users] BGP Configuration Message-ID: <24C6EEC6BB72A5408F6DB9C6380CB9D901A3EC2182@MXHFA02.esl.corp.elbit.co.il> Hello, I have been trying to configure BGP Protocol: When I configure Bgp protocol commit OK but the peering fail error 102 Command failed What am I missing? Thanks, Eli The information in this e-mail transmission contains proprietary and business sensitive information. Unauthorized interception of this e-mail may constitute a violation of law. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited. You are also asked to contact the sender by reply email and immediately destroy all copies of the original message. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20151018/167a7739/attachment-0001.html -------------- next part -------------- A non-text attachment was scrubbed... Name: bgp_fail.jpg Type: image/jpeg Size: 26660 bytes Desc: bgp_fail.jpg Url : http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20151018/167a7739/attachment-0001.jpg From Eli.Ochakovski at elbitsystems.com Mon Oct 19 00:25:37 2015 From: Eli.Ochakovski at elbitsystems.com (Ochakovski Eli) Date: Mon, 19 Oct 2015 07:25:37 +0000 Subject: [Xorp-users] BGP peering configuration fail Message-ID: <24C6EEC6BB72A5408F6DB9C6380CB9D901A3EC2277@MXHFA02.esl.corp.elbit.co.il> Hello, I have been trying to configure BGP Protocol: When I configure Bgp protocol commit OK but the peering fail error 102 Command failed, I have tried every thing, the same error without reason or details. What am I missing? Thanks, My configuration: Protocols { Bgp { Bgp-id: 150.42.1-.1- Local-as: "10" Peer "150.42.30.100" { local-ip: "150.42.10.10" as: "10" next-hop: 150.42.10.10 } } Interfaces { Interface service { Vif service { Address 150.42.10.10 { Prefix-length: 24 } } } } # commit Commit Failed 102 Command failed The information in this e-mail transmission contains proprietary and business sensitive information. Unauthorized interception of this e-mail may constitute a violation of law. If you are not the intended recipient, you are hereby notified that any review, dissemination, distribution or duplication of this communication is strictly prohibited. You are also asked to contact the sender by reply email and immediately destroy all copies of the original message. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20151019/177ab02c/attachment.html From eliochak at yahoo.co.uk Mon Oct 19 00:37:05 2015 From: eliochak at yahoo.co.uk (Eli Ochakovski) Date: Mon, 19 Oct 2015 07:37:05 +0000 (UTC) Subject: [Xorp-users] bgp configuration commit fail References: <777037574.2492024.1445240225411.JavaMail.yahoo@mail.yahoo.com> Message-ID: <777037574.2492024.1445240225411.JavaMail.yahoo@mail.yahoo.com> ? Hello,I have been trying to configure BGP Protocol:When I configure Bgp protocol commit OK but the peering failerror 102 Command failed,I have tried every thing, thesame error without reason or details.What am I missing?Thanks,?My configuration:Protocols {???????Bgp {???????????????Bgp-id: 150.42.1-.1-???????????????Local-as: ?10???????????????Peer ?150.42.30.100? {??????????????????????local-ip: ?150.42.10.10??????????????????????as: ?10?????????????????????next-hop: 150.42.10.10????????????}??? }?? Interfaces {?????????Interface service {????????????????Vif service {????????????????????????Address 150.42.10.10 {??????????????????????????????????Prefix-length: 24????????????????????????}???????????????}???????}}?# commitCommit Failed102 Command failed -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20151019/3ede7c38/attachment.html